[OSM-talk] How to obtain a small coastline polygon for TileMill?

Steve Bennett stevagewp at gmail.com
Tue Feb 26 06:42:36 UTC 2013


Thanks - that's perfect. I hadn't noticed the SRS box. Works great now.

Steve

On Tue, Feb 26, 2013 at 4:03 PM, AJ Ashton <aj.ashton at gmail.com> wrote:
>
> On Feb 25, 2013 11:22 PM, "Steve Bennett" <stevagewp at gmail.com> wrote:
>
>> 5) openstreetmapdata.com's land/sea polygons
>> (http://openstreetmapdata.com/data/land-polygons)
>> - very slow to render (because it's the whole world?)
>> - it's off by ~25km south of the other OSM data. I used the Mercator
>> projection
>
> I would recommend these files (they are what we use at MapBox). TileMill's
> projection auto detection is a bit off for these files - make sure to set
> the SRS explicitly to '900913'. As for speed, make sure the file has been
> indexed with the 'shapeindex' command line utility that comes with Mapnik.
> This should speed up rendering noticeably.



More information about the talk mailing list