[OSM-dev] Rendering differences between own installation of mod_tile+mapnik vs. *.tile.openstreetmap.org

Ilkka Kaakkola ilkka.kaakkola at saunalahti.fi
Fri Jan 9 06:11:31 GMT 2009


On 8.1.2009, at 23.44, Jon Burgess wrote:
>
> The coastline shapefile used for low zooms on the  
> tile.openstreetmap.org
> server is generated using the coastcheck[1] utility with the following
> parameters:
>
> #define RESOLUTION 100
> #define TILE_OVERLAP  20000
> #define MAX_SEGS  200
>
> This generates a set of shapefiles which I then run through PostGIS to
> simplify the geometries:
>
> $ shp2pgsql -s 900913 -g way processed_p shoreline_a | psql -q gis
> $ pgsql2shp -f shoreline_300 gis "select simplify(way, 300) as  
> the_geom,
> gid as id from shoreline_a where area(simplify(way,300)) > 0"
>
> I have made the current set available at [2].
> The latest osm.xml with tweaks to use these shapefiles is at [3].
>
> 	Jon

Thank you, that worked like a charm and now my maps look like they  
should ;)

Cheers,
Ilkka





More information about the dev mailing list