Solved

Difficult spatial query using MapInfo

Posted on 2002-07-22
2
428 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Powershell script 13 101
DBF to ... Converter 5 69
How to join on ID, with prefix? 15 58
T-SQL: New to using transactions 9 19
This article explains all about SQL Server Piecemeal Restore with examples in step by step manner.
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.
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…

813 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