exporting vector as raster produces no output with error "No data found to export for EXPORT_RASTER"
Hello, I have a problem exporting vector+raster layer as one raster image (.png)
I have a globalmapper package file containing 1 raster and 1 area vector like this:
(or download it here: https://file.io/bo6Igw )
and I have a simple script that exports this project as raster like this:
EXPORT_RASTER FILENAME="D:\test.png" TYPE=PNG INC_VECTOR_DATA=YES SPATIAL_RES_METERS=1000
(or download it here: https://file.io/e4EtH4 )
What happens is when I run this script, nothing is exported and I get an error/warning:
WARNING: No data found to export for EXPORT_RASTER command within specified bounds.
the weird thing is that:
does anybody know what might be the problem?
thanks,
Mark
I have a globalmapper package file containing 1 raster and 1 area vector like this:
(or download it here: https://file.io/bo6Igw )
and I have a simple script that exports this project as raster like this:
EXPORT_RASTER FILENAME="D:\test.png" TYPE=PNG INC_VECTOR_DATA=YES SPATIAL_RES_METERS=1000
(or download it here: https://file.io/e4EtH4 )
What happens is when I run this script, nothing is exported and I get an error/warning:
WARNING: No data found to export for EXPORT_RASTER command within specified bounds.
the weird thing is that:
- when I export this project using GUI - everything works correctly
- when I run this script with disabled vector layer - the raster is correctly exported
does anybody know what might be the problem?
thanks,
Mark
Answers
-
looks like uploaded files don't work anymore and I cannot edit my post so here they are in case anybody wants to replicate
https://www.dropbox.com/s/hkicma7v6rucc3d/EXPORT_VECTOR_AS_RASTER.gms?dl=0
https://www.dropbox.com/s/5mtx7wm1se9tbue/vector_raster_project.gmp?dl=0
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website