Naming when cropping with multiple polygons
Hello fellow Gm Scripters,
i'm trying to create geotiff from an arcinfo file, and cropp the geotiff with polygons that are in a dgn file. The dgn file only have 2 layers, a layer with squares and a layer with texts. Those texts are in each one off the squares.
what I want to do is create geotiffs with names of texts that are within each square, i.e, the geotiff will be croped with the squares, wich I can do, and then GM name the files with the texts in dgn file.
I tried POLYGON_CROP_NAME_ATTR but it only gives-me the name of the layer, I cannot reach the values in the specific layer in dgn.
EXPORT_ELEVATION \
FILENAME="G:\GM\.tif" \
TYPE=GEOTIFF \
SPATIAL_RES=10.0 \
BYTES_PER_SAMPLE=4 \
GEN_WORLD_FILE=YES \
POLYGON_CROP_FILE="G:\GM\tiles7.dgn" \
POLYGON_CROP_USE_EACH=YES \
POLYGON_CROP_BBOX_ONLY=YES \
POLYGON_CROP_NAME_ATTR=???
does anyone done this?
i'm trying to create geotiff from an arcinfo file, and cropp the geotiff with polygons that are in a dgn file. The dgn file only have 2 layers, a layer with squares and a layer with texts. Those texts are in each one off the squares.
what I want to do is create geotiffs with names of texts that are within each square, i.e, the geotiff will be croped with the squares, wich I can do, and then GM name the files with the texts in dgn file.
I tried POLYGON_CROP_NAME_ATTR but it only gives-me the name of the layer, I cannot reach the values in the specific layer in dgn.
EXPORT_ELEVATION \
FILENAME="G:\GM\.tif" \
TYPE=GEOTIFF \
SPATIAL_RES=10.0 \
BYTES_PER_SAMPLE=4 \
GEN_WORLD_FILE=YES \
POLYGON_CROP_FILE="G:\GM\tiles7.dgn" \
POLYGON_CROP_USE_EACH=YES \
POLYGON_CROP_BBOX_ONLY=YES \
POLYGON_CROP_NAME_ATTR=???
does anyone done this?
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
- 422 Projection Questions
- 837 Raster Data
- 1.4K Vector Data
- 6.7K Support
- 182 Announcement and News
- 944 Bug Report
- 565 SDK
- 1.2K Suggestion Box
- 3.8K Technical Support
- 582 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 245 How I use Global Mapper
- 111 Global Mapper Forum Website

