Monday, October 3, 2011

Create polygon centroids in gvSIG

It is possible to use gvSIG to create polygon centroids but this is done indirectly through the use of add-on functionality from the Sextante tool box. Note that the centroid created will be at the geometric center of the polygon, which may lie outside depending on the shape of the polygon. An illustration of how to create the centroids is shown below.


  1. Start gvSIG OADE. Load a polygon layer e.g. States.shp into a map View.


  2. Click the SEXTANTE Toolbox icon in the tool bar.

    The SEXTANTE window appears.

  3. Expand the Algorithms | Tools for polygon layers nodes.


  4. Double click Centroids.

    The Centroids dialog box appears.

  5. In the Vector layer field, choose the polygon layer e.g. States.shp.
  6. Optional. In the Outputs Centroids field, type in the full path and name of the centroids shape file.
  7. Click OK.

    The centroids are created.

No comments:

Related Posts with Thumbnails