Terrain Data with OSM world boundaries
Hello TileMill Community,
I am new to TileMill but I have already created some Maps using
Mapnik on the command line.
First of all I wanna say, that TileMill is an amazing software
speeding map development up tremendously. Thanks to all
contributors!
I have imported the world_boundaries_m.shp file from Openstreetmap which can be downloaded here: http://tile.openstreetmap.org/world_boundaries-spherical.tgz
After I have imported the boundaries shapefile I tried to create
some terrain data following this tutorial:
http://mapbox.com/tilemill/docs/tutorials/terrain-data/
It all worked perfectly but the terrain doesn't fit the underlying world boundaries file. I have attached a screenshot where you can see that the terrain is placed a little bit too far north. Maybe some experts can tell me what is wrong by looking at the screenshot? I have done all the converting to Spherical Mercator of course.
Thanks in advance
Martin
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by AJ on 19 Dec, 2011 11:22 PM
What projection have you set your world boundaries shapefile layer to? It looks like the data is stored in
EPSG:3395which is not quite the same as the900913option in TileMill and would such an offset if you have set it to 900913. Try setting the layer srs field to+init=epsg:3395.Also that the files in world_boundaries-spherical.tgz are quite out of date (March, 2007), although there is no good replacement for them that includes both land and borders. For up-to-date land from OSM use either the processed_p file or the shoreline_300 file (a simplified version of processed_p).
Tom MacWright closed this discussion on 16 Feb, 2012 12:05 AM.