script EDIT_MAP_CATALOG raster parameter
GM_CALEDO
Global Mapper User
in Raster Data
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
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
Tagged:
Categories
- 13K All Categories
- 5.8K Features Discussion
- 350 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 652 GM Script Language
- 56 User Scripts
- 115 GPS Features
- 421 Projection Questions
- 837 Raster Data
- 1.4K Vector Data
- 6.7K Support
- 181 Announcement and News
- 941 Bug Report
- 562 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 580 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 244 How I use Global Mapper
- 111 Global Mapper Forum Website
