go-to function
alxster
Global Mapper User
hi to everybody
i wonder if it's possible to position globalmapper in a point maybe with a script.
my need is to call globalmapper and setting its startup position given lat-lon coordinates.
i wonder if it's possible to position globalmapper in a point maybe with a script.
my need is to call globalmapper and setting its startup position given lat-lon coordinates.
Comments
-
Yes, you could write a script that uses the LOAD_PROJECTION function to load a lat/lon projection then use the SET_VIEW command to set the bounds to display. Here is an example:
GLOBAL_MAPPER_SCRIPT VERSION="1.00" FILENAME="C:\Temp\export test\test.gmw"
UNLOAD_ALL
DEFINE_PROJ PROJ_NAME="GEO_NAD27_CONUS"
Projection GEOGRAPHIC
Datum NAD27_CONUS
Zunits NO
Units DD
Xshift 0.000000
Yshift 0.000000
Parameters
END_DEFINE_PROJ
LOAD_PROJECTION PROJ_NAME="GEO_NAD27_CONUS"
SET_VIEW GLOBAL_BOUNDS="-94.3410699257,39.0794008191,-94.3183005835,39.0938324250"
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com
Categories
- 13K All Categories
- 5.8K Features Discussion
- 351 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 652 GM Script Language
- 56 User Scripts
- 115 GPS Features
- 423 Projection Questions
- 837 Raster Data
- 1.4K Vector Data
- 6.7K Support
- 183 Announcement and News
- 944 Bug Report
- 565 SDK
- 1.2K Suggestion Box
- 3.8K Technical Support
- 583 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 246 How I use Global Mapper
- 111 Global Mapper Forum Website
