Section B.2. Polygon Relationships


B.2. Polygon Relationships

In MapPoint Web Service, like point data sources, a polygon data source requires a unique identity (known as "Entity ID value"). However, unlike point data sources, it is not mandatory to provide the values for the latitude and longitude coordinates; when the latitude and longitude coordinates are not assigned, the values will be automatically set to the latitude and longitude of the center point of the bounding rectangle for the polygon. Any valid polygon that is defined in the MapPoint Web Service data sources can be used for a variety of spatial relationship checks, depending on the business's needs. For example, you can determine whether a latitude and longitude coordinate lies within a polygon. You can also determine whether a polygon is contained within another polygon (currently limited to a rectangle), or whether the rectangle and polygon are connected in any way. Figure B-3 shows the possible relationships between a rectangle and polygon.

Figure B-3. Polygon spatial relationships


With this introduction, now let's look at how you can prepare polygon data.




Programming MapPoint in  .NET
Programming MapPoint in .NET
ISBN: 0596009062
EAN: 2147483647
Year: 2005
Pages: 136
Authors: Chandu Thota

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net