Difficult spatial query using MapInfo

Posted on 2002-07-22
Last Modified: 2008-03-06
I have a relation/ table (table1) of sites/ land areas. The relation consist of the attributes/ columns site_id (integer), sub_site_id (integer) and spat_obj (wich is the spatial object representing the site). All the sites sharing the same site_id are supposed to touch each other (at least sharing a point) either directly or indirectly (trough a third site sharing the same site_id).

Unfortunately "supposted to" is not the same as "is". Can somebody help me with a query that picks out the sites that shares site_id but don't touch each other?
Question by:tunheim
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 54

Accepted Solution

nico5038 earned 200 total points
ID: 7170671
Did you check the mapinfo site.

I ran into a query to check for "inside an area":

But under >Mapinfo >SQL select of the link:
There are a lot of other queries defined.

LVL 54

Expert Comment

ID: 7347429

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
 - PAQ'd and pts removed
Please leave any comments here within the
next seven days.



Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question