Newby needs help exporting a PNG image
To start, I'm -very- new to Global Mapper.
I'm attempting to do what I think of as my 'Hello World' and I can't seem to make any progress. My goal is to do everything I need by script. Since I'm new, I'm starting my exercise by using the screen controls until I'm familiar with what they do. Once comfortable, I'll pursue the same thing by writing a script.
Under 'Online Sources', I'm loading 'World Topo Map' with the latitude/longitude bounds set to:
W: -119.0 S: 36.0
E: -117.0 N: 38.0
OK so far. From this point, I want to zoom-in and then write a simple PNG file at a specific scale that
matches what I'm seeing on the screen.
I go to:
View -> Zoom View -> Zoom to Scale
And enter 500000 for the scale.
I would then like to write the resulting image to disk as a PNG file that I can paste into a document.
I realize I can accomplish this with:
File -> Capture Screen Contents to Image
but I can't see how this would be done by scripting, so I can't use that approach (unless it is available
in the script language - but if so, I can't find it).
To get my image, I've tried:
Export -> Export Raster/Image Format
I selected PNG as the format.
On the next modal I went with the existing settings, except I deselected 'Generate World File' and 'Generate Project File'
I pressed 'OK' and then gave the desired file name followed by another 'OK'.
I get a message that begins:
The requested export will require a large number of data
tiles to be downloaded from online sources. ...
I hit OK and as warned, Global Mapper seems to hang.
At this point I have two questions to help get me past my own hang:
- How would you export to a simple PNG file without using the 'Capture to Screen'
feature while giving a similar result?
- Given that I need to do this using a script, would the export be the same or
would I need to do something different?
I've been on this for several days. I have been reading the Global Mapper documentation, experimenting
and searching the forum without any luck. I've got to be missing something simple, but I haven't been
able to figure it out. Can you give me any clues on how to proceed?
On second thought, I have a third question: Given an area that's only a couple of degrees on a side, why
would that require a large number tiles?
Any help/clues you can give would really be appreciated.
Thanks in advance