[OSM-talk] Mapnik Lowzoom TIles - proof of concept
colliar
colliar4ever at aol.com
Thu Jul 4 18:44:04 UTC 2013
Am 04.07.2013 11:18, schrieb Christian Quest:
> Based on Frederik lowzoom idea, I started improving the low zooms on
> our OSM-FR style...
>
> Here is zoom 7 (others are in the render_list queue):
> http://tile.openstreetmap.fr/?zoom=7&lat=46.88069&lon=3.13697&layers=0000B0FFF
>
> Here is how I did it:
> - modify my OSM-FR to remove all labels and boundary at zoom 8 (which
> was already using landcover/landuse),
> - generate 4 large PNG using nik2img
> - combine them and generate one large tiled z8.tif using
> gdal_translate (133MB, if you want to play with it I can share the
> result)
> - create a very simple stylesheet to test using this z8.tif as raster,
> then add placenames and boundaries
>
> It's a work in progress. I'm currently merging this lowzoom stylesheet
> to my main OSM-FR style sheet.
>
> I've not played with imagemagick, it is just a lanczos downscaling
> made by mapnik.
>
> Label ordering is handled by using the place=* tag, then the
> population=* tag so large cities are placed first.
> The placename density is limited using text-min-distance.
Nice
One minor problem: Some city names are not rendered but the city nodes.
Probably it makes sense to allow to move label a bit if they are to close.
Cheers
colliar
-------------- n�chster Teil --------------
Ein Dateianhang mit Bin�rdaten wurde abgetrennt...
Dateiname : signature.asc
Dateityp : application/pgp-signature
Dateigr��e : 262 bytes
Beschreibung: OpenPGP digital signature
URL : <http://lists.openstreetmap.org/pipermail/talk/attachments/20130704/594a92b3/attachment.pgp>
More information about the talk
mailing list