GM14: Wrong export file name when using only one grid row

OddBobOddBob Global Mapper UserPosts: 13Trusted User
edited January 2013 in Bug Report
Hi,

I've found an issue with GM14 (seems OK in GM13): When I export files in grids using only one row, the naming is not as set in the configuration.

Even though only one row is used, it should be named "A", but the output ends up as underscore "_".

Example: I run a script with the following line

EXPORT_RASTER FILENAME="D:\OutputPNG.png" TYPE=PNG BG_TRANSPARENT=NO FILL_GAPS=YES SPATIAL_RES_METERS=50.0 GEN_WORLD_FILE=YES GRID_TYPE_ROWS_COLS=1,8 GEN_PRJ_FILE=YES

The output files are named

OutputPNG__1.png
OutputPNG__2.png

OutputPNG__8.png

This should have ended up as

OutputPNG_A1.png
OutputPNG_A2.png

OutputPNG_A8.png

If I change the gridding and use two rows

EXPORT_RASTER FILENAME="D:\OutputPNG.png" TYPE=PNG BG_TRANSPARENT=NO FILL_GAPS=YES SPATIAL_RES_METERS=50.0 GEN_WORLD_FILE=YES GRID_TYPE_ROWS_COLS=2,4 GEN_PRJ_FILE=YES

it looks as expected

OutputPNG_A1.png
OutputPNG_A2.png
OutputPNG_A3.png
OutputPNG_A4.png
OutputPNG_B1.png
OutputPNG_B2.png
OutputPNG_B3.png
OutputPNG_B4.png


I have not tested if using only one coloumn/several rows gives the same problem.

Could you please have a look at this?

Comments

Sign In or Register to comment.