Global Mapper Pro

Importing area features and creating centroids for all

RobertR
RobertR GlobalMapper Fan!Trusted User
edited March 2013 in GM Script Language
Hello.
I think I am missing something here:

/ Import the file to create centroids from existing areas
IMPORT FILENAME="C:\data\usa\all_areas.shp"
EDIT_VECTOR FILENAME="C:\data\usa\all_areas.shp" CREATE_LABEL_POINTS=YES
EXPORT_VECTOR FILENAME="C:\data\usa\areas_to_pnt.shp" TYPE="SHAPEFILE" SHAPE_TYPE="POINT" GEN_PRJ_FILE="YES"

I would like to create points from imported area features and then export a CSV from the resulted point shapefile.

1. I guess there is a more simple way to edit and export the final result. I am unaware of how to work until the final export.

2. Currently I have the tendency to load a feature, edit, export the result, load the result, edit, export the result. :) I think I am not doing it as simple as it can get.

Comments

Sign In or Register to comment.