script EDIT_MAP_CATALOG raster parameter

GM_CALEDO
GM_CALEDO Global Mapper User
Hi,

I'm trying to create a map_catalog on geotif rasters for each folder I have. I want to force the proj and the transparency, but it doesn't work.
Thank you,

Regards

GLOBAL_MAPPER_SCRIPT VERSION=1.00

UNLOAD_ALL

DEFINE_PROJ PROJ_NAME="LAMCC_RGNC91-93_NEW_CALEDONIA"
Projection     LAMBERT
Datum          RESEAU_GEODESIQUE_DE_NOUVELLE_CALEDONIE_91_93
Zunits         NO
Units          METERS
Xshift         0.000000
Yshift         0.000000
Parameters
1.000000000 /* scale factor at central meridian
-20 40 0.000 /* 1st standard parallel
-22 20 0.000 /* 2nd standard parallel
166 0 0.000 /* central meridian
-21 30 0.000 /* latitude of the origin
400000.000 /* false easting (meters)
300000.000 /* false northing (meters)
END_DEFINE_PROJ

DIR_LOOP_START DIRECTORY="U:\Orthophotos\Sources\PS\Boulouparis\" \
FILENAME_MASKS="*.tif" RECURSE_DIR=yes
    EDIT_MAP_CATALOG FILENAME="%DIR%\cata_ortho.gmc" CREATE_IF_EMPTY=YES \
    ADD_FILE="%FNAME_W_DIR%" ZOOM_DISPLAY="PERCENT,0.10,0" \
    TRANSPARENT_COLOR="RGB(255,255,255)"
    LOAD_PROJECTION PROJ_NAME="LAMCC_RGNC91-93_NEW_CALEDONIA"
// End the loop
DIR_LOOP_END