User Tools

Site Tools


map_suite_desktop_edition_faq_spatial_functions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
map_suite_desktop_edition_faq_spatial_functions [2015/08/20 03:08]
127.0.0.1 external edit
map_suite_desktop_edition_faq_spatial_functions [2015/09/16 02:08]
admin [How do I clip one polygon layer based on a polygon?]
Line 1: Line 1:
-====== ​Map_Suite_Desktop_Edition_FAQ_Spatial_Functions ​======+====== ​Map Suite Desktop Edition FAQ Spatial Functions ​====== 
  
-<​noinclude>​ 
-{{article rating}} 
-</​noinclude>​ 
 ====How do I clip one polygon layer based on a polygon?​==== ====How do I clip one polygon layer based on a polygon?​====
 This question has a corresponding sample application(s) associated with it.  This question has a corresponding sample application(s) associated with it. 
Line 9: Line 7:
 [[Map Suite Desktop Edition Spatial Functions Samples#​Clipping|Sample:​Clipping]] [[Map Suite Desktop Edition Spatial Functions Samples#​Clipping|Sample:​Clipping]]
  
-This project along with “Spatial Join”, “Dissolve” and “Dissolve with Statistics” show another type of geoprocessing technique that can be applied to a layer. Clipping a layer can be handy in situation where the layer has a geographic extent larger than necessary and you just need a portion of it based on some defined area. For example, you might have the world layer of evergreen but you are working at the national level for Brazil and you don’t need the rest of the world. Clipping the layer will reduce it to the geographic area you are only interested in.<br>With “Clipping”,​ you will see how to combine the GetIntersection geometric function with other functions for creating and editing a layer into a coherent one step operation. Notice that this project only deals with clipping polygon based layer. It is also possible to clip line and point based layers. That will be the subject of future projects.+This project along with “Spatial Join”, “Dissolve” and “Dissolve with Statistics” show another type of geoprocessing technique that can be applied to a layer. Clipping a layer can be handy in situation where the layer has a geographic extent larger than necessary and you just need a portion of it based on some defined area. For example, you might have the world layer of evergreen but you are working at the national level for Brazil and you don’t need the rest of the world. Clipping the layer will reduce it to the geographic area you are only interested in. 
 +\\ 
 +With “Clipping”,​ you will see how to combine the GetIntersection geometric function with other functions for creating and editing a layer into a coherent one step operation. Notice that this project only deals with clipping polygon based layer. It is also possible to clip line and point based layers. That will be the subject of future projects.
  
 ====How do I clip one polygon layer based on a polygon?​==== ====How do I clip one polygon layer based on a polygon?​====
Line 16: Line 16:
 [[Map Suite Desktop Edition Spatial Functions Samples#​Clipping On Point Layer|Sample:​Clipping On Point Layer]] [[Map Suite Desktop Edition Spatial Functions Samples#​Clipping On Point Layer|Sample:​Clipping On Point Layer]]
  
-After the project “Clipping” where we saw how to clip a polygon layer based on a polygon, in this project we see how to clip a point based layer. Clipping a point based layer is quite a simpler task than clipping a polygon based layer as no geometric functions are necessary such as GetIntersection (overlap) besides the spatial query. It is also a much faster task to run.<br>+After the project “Clipping” where we saw how to clip a polygon layer based on a polygon, in this project we see how to clip a point based layer. Clipping a point based layer is quite a simpler task than clipping a polygon based layer as no geometric functions are necessary such as GetIntersection (overlap) besides the spatial query. It is also a much faster task to run. 
 +\\ 
 +\\
 After the projects on clipping polygon and point based layers, we will show a project on clipping line based layers. After the projects on clipping polygon and point based layers, we will show a project on clipping line based layers.
  
Line 252: Line 254:
 This Wpf project completes the series of projects dedicated to the clipping geoprocessing. We already saw how to perform clipping on a polygon based layer in “Clipping” and on a point layer in “Clipping On Point Layer”. Here we show how to perform the clipping geopressing on a line based layer. As for the same operation on a polygon based layer, the key geometric function is GetIntersection. We will also appreciate the operation of creating a layer from scratch as in addition to the geometric operation itself, geoprocessing also involves creating a result layer from the original layers, the clipping layer and the clipped layer. You will need to get in the Dev Daily Build the latest MapSuiteCore.dll and WpfDesktopEdition.dll as references as the GetIntersection API for line based shapes was added only recentely. This Wpf project completes the series of projects dedicated to the clipping geoprocessing. We already saw how to perform clipping on a polygon based layer in “Clipping” and on a point layer in “Clipping On Point Layer”. Here we show how to perform the clipping geopressing on a line based layer. As for the same operation on a polygon based layer, the key geometric function is GetIntersection. We will also appreciate the operation of creating a layer from scratch as in addition to the geometric operation itself, geoprocessing also involves creating a result layer from the original layers, the clipping layer and the clipped layer. You will need to get in the Dev Daily Build the latest MapSuiteCore.dll and WpfDesktopEdition.dll as references as the GetIntersection API for line based shapes was added only recentely.
  
-[[Category:​Map Suite Desktop Edition]] [[Category:​Web GIS]] [[Category:​Desktop GIS]] [[Category:​GIS]] [[Category:​.NET]]+
  
map_suite_desktop_edition_faq_spatial_functions.txt · Last modified: 2015/09/16 02:08 by admin