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
- 13K All Categories
- 5.8K Features Discussion
- 350 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 652 GM Script Language
- 56 User Scripts
- 115 GPS Features
- 421 Projection Questions
- 837 Raster Data
- 1.4K Vector Data
- 6.7K Support
- 182 Announcement and News
- 942 Bug Report
- 562 SDK
- 1.2K Suggestion Box
- 3.8K Technical Support
- 581 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 245 How I use Global Mapper
- 111 Global Mapper Forum Website
