[OSM-talk] Nik4: mapnik → image
Martin Koppenhoefer
dieterdreist at gmail.com
Mon May 19 12:58:59 UTC 2014
2014-05-16 11:48 GMT+02:00 Ilya Zverev <zverik at textual.ru>:
> Yes, that's a bug I've also encountered when trying to render
> 1000x26000 strip. Looks like an overflow error in Mapnik. Use --tiles
> parameter (I'd suggest --tiles 3): it will generate the image in 9
> parts and then merge them with Imagemagick.
>
> > Can I feed it with the
> > "classic" render.xml style (no carto), or does it expect a
> > carto-style? In the second attempt I'm omitting the dimensions and
> > only defining a zoom level, a bounding box and a output resolution.
>
> It expects a regular mapnik xml, not cartocss or cascadenik.
> CartoCSS projects should be processed with carto -l.
>
Could get the italy rendering done within some further tries, but now I'm
stuck with Rome. I've done a lot of rendering attempts, but I hardly ever
got what I expected (would want the whole city as z17 or z16, but all I can
manage to get is z14). Even with tiles 12 it fails silently on z15 with
this commandline:
nik4.py -b 12.35 41.777 12.64 42 -p 300 -z 15 --tiles 12
osm-render-noicons.xml roma_300dpi.png
The single tiles are not so big then (ca. 1200 x 1800 pixels) but still the
map is of a far bigger place (in low zoom around 6 or 7 I guess) with my
area of interest sitting tiny in the upper left corner.
Any ideas?
cheers,
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20140519/c24cdebd/attachment.html>
More information about the talk
mailing list