- Start up gvSIG OADE 2010. Open a Map View and load the polygon layers to combine, e.g. aoi.shp and buffer.shp.
- Select View | Geoprocessing Tools.
The Geoprocessing tools dialog box appears. - Expand the tree nodes and select Geoprocessing tools | Data conversion | Merge. Click Open tool.
The Analysis tools dialog box appears. - In the Input layer list, press CTRL and left mouse click on the layers to merge, e.g. aoi and buffer.
- In the Use layer attribute fields, choose the layer to use to define the fields for the output merged layer, e.g. aoi.
- Click OK.
The merged layer is generated. - If the Geoprocessing tools dialog box is closed, select View | Geoprocessing tools.
- Expand the tree node and select Geoprocessing | Analysis | Aggregation | Dissolve.
The Analysis tools dialog box appears. - In the Input layer field, choose the merged layer, e.g. merge.shp.
- In the Field to dissolve on, choose an appropriate field, e.g. Field1.
Note: only polygons with the same field value can be dissolved. Prior to this step, you must ensure the attribute field values have the same values. - Toggle on Dissolve adjacent features only.
- In the Output layer field, click Choose.
The Save dialog box appears. - Browse and type in the output File Name, e.g. dissolve.shp. Click Save.
- Click OK.
The polygons are dissolved.
Monday, May 9, 2011
Merge and dissolve polygons using gvSIG
Sometimes I need to combine polygons of two different feature types into a single polygon. The free and open source GIS application gvSIG provides the spatial tools to perform that task Essentially all I needed to do was to perform a spatial merge operation followed by a spatial dissolve operation. The following illustrates the procedure.
No comments:
Post a Comment