Topology Relations

General API samples



This sample demonstrates the use of topology functionality in the TatukGIS Internet Server (the TGIS_Shape.Relate function) to determine the relationship between two selected shapes. The possible relationships between the two shapes can be any of the following: EQUALITY, DISJOINT, INTERSECT, WITHIN, CROSS, TOUCH, CONTAINS, OVERLAP.

Select one shape to be Shape A (represented by blue color) and a second shape to be Shape B (represented by green color). Then click on the “Check Relations” button (appears after the two shapes have been selected) to generate a list of the types of geometric relations that the two selected shapes have in common.