Google like tile layer support
Hello everyone,
maybe a trivial question but I couldn't find an answer anywhere.
How actually can I feed Tilemill with a folder of map tiles, e.g. multiple hill shading geotiffs or map tiles generated with Mapnik's generate_tiles.py? When entering a webfolder into the Add Layer>File>Datasource Field I get the error message "Error: Could not create datasource. Required parameter 'type' is missing".
I was able to reproduce the beautiful example in http://support.mapbox.com/kb/tilemill/terrain-visualization-with-di... but adding a new layer for each single geotiff doesn't make much sense to me when I would like apply the example to whole mother earth. Or do I have to merge all my tiles to feed Tilemill with a single geotiff? In openlayers there is a parameter called "getURL" where you can tell it how to find the tile pieces.
Thank you,
Mario
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Tom MacWright on 02 Sep, 2011 09:26 PM
Hey Mario,
TileMill takes raw datasources primarily - while in the future it might be able to take tiles and essentially 're-tile' by rendering over them, that's not its primary purpose.
As far as what you're trying to do - the tile analogy doesn't work well in terms of GeoTiffs covering the planet (since you'll usually be rendering at multiple resolutions, so a 256x256 tile isn't very meaningful). The solution is indeed to combine GeoTIFFs into much larger GeoTIFFs, which can be efficient internally, by using GDAL.
Will White closed this discussion on 25 Sep, 2011 07:05 PM.