This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
map_suite_webapi_topology [2015/12/14 07:16] tgwikiupdate [Polygons Must Not Have Gaps] |
map_suite_webapi_topology [2015/12/16 15:58] (current) mwolffer [Overview] |
||
---|---|---|---|
Line 2: | Line 2: | ||
===== Video Overview ===== | ===== Video Overview ===== | ||
- | + | {{youtube>2OwYwaaeyJ4|WebAPI Topology Sample}} | |
- | + | ||
- | <div newline></div> | + | |
<div download_viewsource_buttons tryitonline> | <div download_viewsource_buttons tryitonline> | ||
{{filehistory:webapieditionsample_topologyvalidation_cs_20151211.zip|C# Project}} | {{filehistory:webapieditionsample_topologyvalidation_cs_20151211.zip|C# Project}} | ||
Line 16: | Line 14: | ||
=====Overview===== | =====Overview===== | ||
- | We are pleased to announce a new set of static Map Suite APIs relating to topology, along with an application to test topology rules. Topology is a critical function of a GIS application and we now have a great implementation of this feature. We have worked hard to ensure that we have included the most important cases along with an easy-to-use API. Below are a list of all of the cases we cover. | + | Topology refers to the relationship between lines, points, and polygons. For more information about the concept of topology please visit [[https://en.wikipedia.org/wiki/Geospatial_topology|this Wikipedia article]]. Map Suite offers a set of static Map Suite APIs relating to topology, along with an application to validate topology rules. Topology can be very useful in GIS as it allows users to clean up data or to modify geometries to comply with different rules and restrictions. Below is a list of all of the topology cases this sample covers: |
*Lines End Point Must Be Covered By Points | *Lines End Point Must Be Covered By Points | ||
Line 102: | Line 100: | ||
{{webapiedition:linesmustnotintersect.png|Border}} | {{webapiedition:linesmustnotintersect.png|Border}} | ||
+ | |||
+ | ==== Lines Must Not Overlap ==== | ||
+ | |||
+ | Lines must not overlap any part of another line within a feature. Lines can touch, intersect, and overlap themselves. | ||
+ | |||
+ | {{webapiedition:linesmustnotoverlap.png|Border}} | ||
==== Lines Must Not Overlap With Lines ==== | ==== Lines Must Not Overlap With Lines ==== | ||
Line 109: | Line 113: | ||
{{webapiedition:linesmustnotoverlapwithlines.png|Border}} | {{webapiedition:linesmustnotoverlapwithlines.png|Border}} | ||
- | ==== Lines Must Not Overlap ==== | ||
- | |||
- | Lines must not overlap any part of another line within a feature. Lines can touch, intersect, and overlap themselves. | ||
- | |||
- | {{webapiedition:linesmustnotoverlap.png|Border}} | ||
==== Lines Must Not Self Intersect ==== | ==== Lines Must Not Self Intersect ==== | ||
Line 195: | Line 194: | ||
{{webapiedition:polygonsmustnothavegaps.png|Border}} | {{webapiedition:polygonsmustnothavegaps.png|Border}} | ||
- | ==== Polygons Must Not Overlap With Polygons ==== | + | ==== Polygons Must Not Overlap ==== |
- | <div captionwithborder floatright> | + | |
- | {{:no_screenshot_202px.jpg?300x180}} | + | |
- | </div> | + | |
Polygons of the first feature must not overlap polygons of the second feature. | Polygons of the first feature must not overlap polygons of the second feature. | ||
- | <div newline/> | + | {{webapiedition:polygonsmustnotoverlap.png|Border}} |
- | <div newline/> | + | |
+ | ==== Polygons Must Not Overlap With Polygons ==== | ||
- | ==== Polygons Must Not Overlap ==== | ||
- | <div captionwithborder floatright> | ||
- | {{:no_screenshot_202px.jpg?300x180}} | ||
- | </div> | ||
Polygons of the first feature must not overlap polygons of the second feature. | Polygons of the first feature must not overlap polygons of the second feature. | ||
- | <div newline/> | + | {{webapiedition:polygonsmustnotoverlapwithpolygons.png|Border}} |
- | <div newline/> | + | |
- | ===== Topology===== | + | |
- | The topology sample makes it simple to test topology rules. | + | |