Ævar Arnfjörð Bjarmason schrieb:
On Fri, Nov 6, 2009 at 2:06 PM, River Tarnell river@loreley.flyingparchment.org.uk wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Peter Körner:
If we could set up mapnik on the login servers
is any set up required besides installing it?
Mapnik needs to be on the normal user servers (e.g. webserver) if users want to for example create custom OSM wallpaper images or something other than tiles.
Mapnik in its normal operation will connect to a PostgreSQL server defined in your stylesheet. If the user supplies cassini as the remote server and has appropriate permissions this should just work.
However if we're going to do on-demand rendering on the tileserver this user-supplied stylesheet will have to be moved over there.
I think that users can play with their styles on cassini, using e.g. my osm-render frontend:
mazder@cassini:~$ /tmp/osm-render --help Usage: osm-render [options]
Options: -h, --help show this help message and exit -s STYLE, --style=STYLE path to the mapnik stylesheet xml, defaults to
the openstreetmap default style: /sql/mapnik-stylesheets/osm-like/osm-de.xml -f FILE, --file=FILE path to the destination file without the file extension, defaults to map -t TYPE, --type=TYPE file type to render, defaults to png -x SIZE, --size=SIZE requested sizeof the resulting image in pixels, format is <width>x<height>, defaults to 800x600 -b BBOX, --bbox=BBOX the bounding box to render in the format l,b,r,t, defaults to (-180, -85, 180, 85)
e.g. /tmp/osm-render --bbox 12.44671,41.89479,12.46276,41.90784 \ --style /sql/mapnik-stylesheets/osm-like/osm-fr.xml --file fr
If the style is ready to be tested on the whole planet, the user can contact us on jira and we'll add his style to cassini's renderd.
Peter