Georef Map Tiles File Format
Posted: 21 Nov 2018 11:32
I am stumbling across the limitations of the Map Tiles functionality in TransDEM. I want to have OpenStreetMap tiles of zoom level 18 (or greater) along my line. But since zoom 18 has such a small scale, the downloaded tile is very small, only giving me a tile some metres around my route. Is there any way to set the radius around the route to get the tiles for?
However, I am fairly solid on the use of OSM Tile Servers, so I'd be happy to just calculate a bounding box and download all tiles directly from OSM myself. However, by looking at the .png and .trf files that TransDEM stores, I can see that TransDEM does some post-processing to the tile once it has been downloaded from OSM. Roland, can you explain the .trf file format, so that I can just write a script to download and re-project tiles from OSM myself?
Secondly, from looking at .lgb files, I can see that they are just a text file that lists all *_georef *.png/*.trf files that were created by TransDEM. How does .lgb handle overlap? Which picture is on top, the later or earlier entry in the .lgb-file? Is there any way to make an .lgb file reference files in subdirectories relative to the .lgb file?
However, I am fairly solid on the use of OSM Tile Servers, so I'd be happy to just calculate a bounding box and download all tiles directly from OSM myself. However, by looking at the .png and .trf files that TransDEM stores, I can see that TransDEM does some post-processing to the tile once it has been downloaded from OSM. Roland, can you explain the .trf file format, so that I can just write a script to download and re-project tiles from OSM myself?
Secondly, from looking at .lgb files, I can see that they are just a text file that lists all *_georef *.png/*.trf files that were created by TransDEM. How does .lgb handle overlap? Which picture is on top, the later or earlier entry in the .lgb-file? Is there any way to make an .lgb file reference files in subdirectories relative to the .lgb file?