Global Mapper Pro

grid type rows cols bad calculation

kalosh74
kalosh74 Global Mapper UserTrusted User
Dear all,

I have to divide 8192x8192 png files in 256x256 files using specific name for tiles. So I have to divide them in 32 rows x 32 columns.

I use this code script for this:

EXPORT_RASTER FILENAME="name.png" TYPE="PNG" GRID_TYPE_ROWS_COLS="32,32" GRID_NAMING="SEPARATE_COLS_FIRST" GRID_NAMING_COLS="NUM,number1,X,1" GRID_NAMING_ROWS="NUM,number2,Y,1"

I use specific value in "number1" and "number2" depending on what png I use.

Te result is 1024 tiles with 257x257 size instead of 256x256.

I have tried the code "GRID_KEEP_CELL_SIZE=NO" or "GRID_KEEP_CELL_SIZE=YES" with no success.

Only as a commentary, in Global Mapper versions 15 and 16 it works, I obtain 256x256 files.

Regards,

Carlos.
Tagged:

Answers

  • bmg_bob
    bmg_bob Global Mapper Programmer
    Hello Carlos,


    First, please try your workflow in the latest version of Global Mapper 17.

    Another option is to try the GRID_TYPE_PIXEL_SIZE="256,256" parameter on your EXPORT_RASTER command.  

    If the problem persists, please send an e-mail containing a detailed description of your workflow (your script) and results, along with sample data that will reproduce the problem, to geohelp@bluemarblegeo.com.  The support team will be able to provide further assistance.

    Cheers,
    Bob
Sign In or Register to comment.