CSV Export Elevation Units
I have an issue when importing a points list, reprojecting the points, and then exporting them in different coordinate system. I can get everything to work correctly except for the elevation units on export. they seem to use the unit assigned in global mapper. my hope would be to have the script run independently of any settings in global mapper. here is my script. any help or suggestions would be appriciated.
GLOBAL_MAPPER_SCRIPT VERSION=1.00
IMPORT FILENAME="C:\GMS\ELP2MG.bgd" ELEV_UNITS=METERS
IMPORT_ASCII FILENAME=".\GPSCOORDS.csv" TYPE=POINT_ONLY COORD_DELIM=AUTO COORD_ORDER=Y_FIRST INC_COORD_LINE_ATTRS=Yes SKIP_COLUMNS=1 SKIP_ROWS=1 PROJ=EPSG:4326 ELEV_UNITS=METERS
LOAD_PROJECTION PROJ="C:\GMS\MG.prj"
EDIT_VECTOR FILENAME=* APPLY_ELEVS=YES ADD_EXISTING_ELEV=YES INC_UNIT_SUFFIX=NO
EDIT_VECTOR ATTR_TO_KEEP="ATTR_1" ATTR_TO_KEEP="Elevation"
EXPORT_VECTOR TYPE=CSV FILENAME=".\output-final.csv" COORD_DELIM=COMMA EXPORT_ATTRS=NO_STYLE PRECISION=4 EXPORT_HEADER=YES INC_ELEV_ATTR=NO
Categories
- 12.9K All Categories
- 5.8K Features Discussion
- 349 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 651 GM Script Language
- 55 User Scripts
- 115 GPS Features
- 420 Projection Questions
- 835 Raster Data
- 1.4K Vector Data
- 6.7K Support
- 181 Announcement and News
- 937 Bug Report
- 561 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 578 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 244 How I use Global Mapper
- 109 Global Mapper Forum Website
