Solved

Difficult spatial query using MapInfo

Posted on 2002-07-22
2
421 Views
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?
0
Comment
Question by:tunheim
  • 2
2 Comments
 
LVL 54

Accepted Solution

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

I ran into a query to check for "inside an area":
http://testdrive.mapinfo.com/techsupp/miprod.nsf/5c41496d5951a49c852562b5004f3a44/9531c97c90deaba88525654e00706ab5?OpenDocument

But under >Mapinfo >SQL select of the link:
http://testdrive.mapinfo.com/kbase_by_product
There are a lot of other queries defined.

Nic;o)
0
 
LVL 54

Expert Comment

by:nico5038
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.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

Nic;o)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

CCModeler offers a way to enter basic information like entities, attributes and relationships and export them as yEd or erviz diagram. It also can import existing Access or SQL Server tables with relationships.
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
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…

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now