Global Mapper v25.0

Import Tiff w/o coordinates

Then i trying to import Tiffs w/o coordinates, my script doesn't work. It happens because then GM imorting files manually, it ask you for coordinates/fake coords. etc..How can i write script what choose fake coords automatically?Existing script:

GLOBAL_MAPPER_SCRIPT VERSION=1.00
UNLOAD_ALL
DIR_LOOP_START DIRECTORY="" FILENAME_MASKS="*.tif" RECURSE_DIR="YES"
IMPORT FILENAME="%FNAME_W_DIR%"
EXPORT_WEB FILENAME="%PARENT_DIR%\Maps\%FNAME_WO_EXT%\%FNAME_WO_EXT%.htm" TYPE="OSM" MAX_ZOOM_LEVEL="11" NUM_ZOOM_LEVELS="5"
UNLOAD_ALL
DIR_LOOP_END
UNLOAD_ALL

Answers

  • bmg_bob
    bmg_bob Global Mapper Programmer
    You will not be able to export your data to OSM unless you rectify it first.  The easiest thing to do is probably to rectify your TIFF files in Global Mapper, then export them as GeoTIFFs, which will contain the rectification information.