Beginner question
teddy
Global Mapper UserTrusted User
I have a shapefile that has states, counties and an international border. What i want to is save a jpg of every state, county and the international border?
How can I do this?
Thanks
How can I do this?
Thanks
Comments
-
There isn't really an easy way to do this. What you could do is open the DBF file accompanying your Shapefile in something like Excel and rename the name column (if any) to LAYER. You can then load your Shapefile into Global Mapper, then use the File->Export Vector->Export Shapefile menu command to export the data to a new area Shapefile. Make sure to check the box to split the export up by feature layer/description.
Once this is done you should have a separate file for each feature from the original SHP file. You could then write a small Global Mapper script file to loop over those new SHP files and export them to JPG files. Use the DIR_LOOP_START and DIR_LOOP_END commands to perform the looping operation, with IMPORT, EXPORT_RASTER, and UNLOAD_ALL commands inside the loop.
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com -
Ok Mike. I will try what you suggested. I have found script instructions from Global Mapper - Scripting Language Reference.
Thanks.
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
- 181 Announcement and News
- 941 Bug Report
- 562 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 580 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 244 How I use Global Mapper
- 111 Global Mapper Forum Website
