Google like tile layer support

Mario's Avatar

Mario

25 Aug, 2011 09:51 PM

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

  1. Support Staff 2 Posted by Tom MacWright on 02 Sep, 2011 09:26 PM

    Tom MacWright's Avatar

    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.

  2. Will White closed this discussion on 25 Sep, 2011 07:05 PM.

Comments are currently closed for this discussion. You can start a new one.

Recent Discussions

23 May, 2013 02:37 AM
23 May, 2013 12:23 AM
23 May, 2013 12:08 AM
10 Apr, 2013 09:11 PM
10 Apr, 2013 09:00 PM

 

10 Apr, 2013 08:49 PM