There are a few main python scripts created to help perform various tasks with Maperitive, which are described here. There are also a number of "test scripts" which are one-offs or works in progress stored on the maps USB drive. = [[attachment:convert_georef.py]] This script is used to read in a directory of images (such as created by the Maperitive export-bitmap or save-source command), and convert all the Maperitive .georef text files in that folder to GDAL-compatible world files. The folder to be worked on must be manually entered at the top of the python script by editing the file. Example: {{{#!tr align=left valign=top {{{#!td Matperitive .georef {{{#!xml EPSG:3857 -20037508.342789244 -7558415.6560817827 61.844161551818772 105.31808356728818 }}} }}} {{{#!td World File (.pngw) {{{#!text 61.844161551818772 0 0 105.31808356728818 -20037508.342789244 -7558415.6560817827 }}} }}} }}} = [[attachment:fill_terrain_tiles.py]] = [[attachment:gen_terrain_image_script.py]] = [[attachment:gen_tiles_from_images_script.py]] = [[attachment:gen_terrain_tiles_script.py]]