44 | | When Maperitive saves an image of the map as a PNG (''not'' a web tile), it also generates a .georef text file which contains the coordinate bounds and size of the image. Unfortunately, GDAL uses a similar file in a different coordinate format, called an ESRI world file. Image.png should have a cooresponding worldfile Image.pngw. The python script convert_georef.py can be used to read in a folder of Maperitive .georef files and output ESRI worldfiles. Then GDAL tools can be used to manipulate the images. |
| 44 | When Maperitive saves an image of the map as a PNG (''not'' a web tile), it also generates a .georef text file which contains the coordinate bounds and size of the image. Unfortunately, GDAL uses a similar file in a different coordinate format, called an ESRI world file. Image.png should have a cooresponding worldfile Image.pngw. The python script [PythonScripts convert_georef.py] can be used to read in a folder of Maperitive .georef files and output ESRI worldfiles. Then GDAL tools can be used to manipulate the images. |
| 45 | |
| 46 | === Osmium |
| 47 | |
| 48 | [https://osmcode.org/osmium-tool/] |
| 49 | |
| 50 | === Osmosis |
| 51 | |
| 52 | [https://wiki.openstreetmap.org/wiki/Osmosis] |
| 53 | |
| 54 | === osmfilter and osmconvert |
| 55 | |