GM_LoadLayerListEx
ahmadi86
Global Mapper User
Hello everybody
We (I mean my friend Yaser and me) are gonna load a file with an unknown extension (say something like london.dat). we found that it's possible by GM_LoadLayerListEx function, it's just needed to specify Layer_Type. we did it for a GeoTiff file and it worked. but we couldn,t do it for a DEM file. we don't know which type we sould put in extraloadoptions string. we tried
DEM
USGS
CDED
USGS/CDED
USGS/CDED DEM
MicroDem
...
you know actually there isn't any enumeration for the overlay types!
The amazing thing is that when you open the file (london.dat) in globalmapper itself
it shows you a dialog and you can select the overlay type and if you select USGS/CDED DEM
it will work!
could you help us please? thanks in advance.
Best regards.
We (I mean my friend Yaser and me) are gonna load a file with an unknown extension (say something like london.dat). we found that it's possible by GM_LoadLayerListEx function, it's just needed to specify Layer_Type. we did it for a GeoTiff file and it worked. but we couldn,t do it for a DEM file. we don't know which type we sould put in extraloadoptions string. we tried
DEM
USGS
CDED
USGS/CDED
USGS/CDED DEM
MicroDem
...
you know actually there isn't any enumeration for the overlay types!
The amazing thing is that when you open the file (london.dat) in globalmapper itself
it shows you a dialog and you can select the overlay type and if you select USGS/CDED DEM
it will work!
could you help us please? thanks in advance.
Best regards.
Comments
-
The type string that you want is "USGS_DEM". See the IMPORT command help for the Script Reference at Global Mapper - Scripting Language Reference for a list of supported type strings.
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com -
Mike We love you!
you helped us a lot
We hope best wishes for you
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
- 835 Raster Data
- 1.4K Vector Data
- 6.7K Support
- 181 Announcement and News
- 939 Bug Report
- 562 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 579 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 244 How I use Global Mapper
- 110 Global Mapper Forum Website
