-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
I've now finished setting up renderd properly on ptolemy. This runs under the "osm" account, and is installed in $HOME/renderd/. Anyone in the osm MMT can edit the config to change or add styles. (Right now that's only me and mazder, but additional maintainers would be welcome.)
Example: http://toolserver.org/tiles/osm/2/2/1
The setup is documented at https://wiki.toolserver.org/view/Admin:OSM.
- river.
River Tarnell schrieb:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
I've now finished setting up renderd properly on ptolemy. This runs under the "osm" account, and is installed in $HOME/renderd/. Anyone in the osm MMT can edit the config to change or add styles. (Right now that's only me and mazder, but additional maintainers would be welcome.)
Thank you very much! This is really cool! Does changing the conf require any additional steps? (eg. reload)?
Thank you! Peter
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Peter Körner:
Thank you very much! This is really cool! Does changing the conf require any additional steps? (eg. reload)?
You will need to reload renderd at least (there's instructions on the wiki page on how to restart it). It might require a reload of mod_tile too, but I'm not certain about that... if you find new stylesheets don't show up in Apache, I can just add a way to let osm restart Apache.
- river.
River Tarnell schrieb:
You will need to reload renderd at least (there's instructions on the wiki page on how to restart it). It might require a reload of mod_tile too, but I'm not certain about that... if you find new stylesheets don't show up in Apache, I can just add a way to let osm restart Apache.
Thank you. Let me test it during the weekend and I'll report back on monday.
I saw you also closed the hstore ticket. Can I try some imports with the current svn osm2pgsql so we have sth. to play around with?
I'd love to do these imports directly on ptolemy where I can take more cache-memory in osm2pgsql and avoid the huge network load. Is there a way to do this?
Peter
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Peter Körner:
I saw you also closed the hstore ticket. Can I try some imports with the current svn osm2pgsql so we have sth. to play around with?
Yes, no problem.
I'd love to do these imports directly on ptolemy where I can take more cache-memory in osm2pgsql and avoid the huge network load. Is there a way to do this?
You have login access to ptolemy now, so you can run the import there if you want. (But the network is GE - it's very unlikely the import causes any noticeable load.)
- river.
River Tarnell schrieb:
You have login access to ptolemy now, so you can run the import there if you want.
Oh yes, very cool, thank you very much!
But the network is GE - it's very unlikely the import causes any noticeable load.
But I can use more RAM as osm2pgsql cache and don't disturb other toolserver users with the long-running import process.
Peter
Peter Körner schrieb:
I saw you also closed the hstore ticket. Can I try some imports with the current svn osm2pgsql so we have sth. to play around with?
i tried to compiled recent svn-version of osm2pgsql (src is in /home/project/o/s/m/osm/tools/osm2pgsql) but the sutoconf thingy does not seem to work.. I don't know much about osm2pgsql's sourcecode structure or autoconf/-make, yo I'm a bit stuck.
Any ideas? Peter
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Peter Körner:
i tried to compiled recent svn-version of osm2pgsql (src is in /home/project/o/s/m/osm/tools/osm2pgsql) but the sutoconf thingy does not seem to work.. I don't know much about osm2pgsql's sourcecode structure or autoconf/-make, yo I'm a bit stuck.
Currently osm2pgsql is installed via the TSosm2pgsql package. Do you want me to update that to the latest version, or should this be compiled from source under the osm account?
- river.
Hi River,
do what ever you think is best. I'm still not really familar with the Package Management under Solaris. If you don't see any problems I think updating TSosm2pgsql would be best.
Thank you very much! Peter
River Tarnell schrieb:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Peter Körner:
i tried to compiled recent svn-version of osm2pgsql (src is in /home/project/o/s/m/osm/tools/osm2pgsql) but the sutoconf thingy does not seem to work.. I don't know much about osm2pgsql's sourcecode structure or autoconf/-make, yo I'm a bit stuck.
Currently osm2pgsql is installed via the TSosm2pgsql package. Do you want me to update that to the latest version, or should this be compiled from source under the osm account?
River Tarnell schrieb:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Peter Körner:
Thank you very much! This is really cool! Does changing the conf require any additional steps? (eg. reload)?
You will need to reload renderd at least (there's instructions on the wiki page on how to restart it). It might require a reload of mod_tile too, but I'm not certain about that... if you find new stylesheets don't show up in Apache, I can just add a way to let osm restart Apache.
Hi river, i just tried to add a very simple stylesheet, just to test how all works. I tried /home/project/o/s/m/osm/data/mapnik/shape-names.xml
It's a very basic stylesheet, rendering only the shapefiled plus the names on it. I edited renderd.conf and reloaded renderd but I can't access the tiles: http://toolserver.org/tiles/shape-names/2/2/1
additionally, when i try to render from command line, i get an error message:
osm@ptolemy:~$ $HOME/tools/render --style \ /home/project/o/s/m/osm/data/mapnik/shape-names.xml
rendering bbox (-180, -85, 180, 85) in style /home/project/o/s/m/osm/data/mapnik/shape-names.xml to file map which is of type png in size 800x600
Traceback (most recent call last): File "/home/project/o/s/m/osm/tools/render", line 128, in <module> main() File "/home/project/o/s/m/osm/tools/render", line 81, in main mapnik.load_map(m, style) UserWarning: Could not create datasource. No plugin found for type 'postgis' in layer 'placenames-large' osm@ptolemy:~$
Can you help? Thank you! Peter
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Peter Körner:
It's a very basic stylesheet, rendering only the shapefiled plus the names on it. I edited renderd.conf and reloaded renderd but I can't access the tiles: http://toolserver.org/tiles/shape-names/2/2/1
Okay. In that case, Apache probably needs to be restarted. I will set up something to let osm users do that.
additionally, when i try to render from command line, i get an error message:
It looks like the Python Mapnik extension is linked to the Studio-built version of Mapnik. For some reason (neither I nor the Mapnik developers could work out exactly why), Mapnik doesn't work with Studio. I will rebuild it to use the GCC Mapnik, like renderd does.
- river.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
River Tarnell:
Peter Körner:
It's a very basic stylesheet, rendering only the shapefiled plus the names on it. I edited renderd.conf and reloaded renderd but I can't access the tiles: http://toolserver.org/tiles/shape-names/2/2/1
Okay. In that case, Apache probably needs to be restarted. I will set up something to let osm users do that.
It's now possible to reload the Apache config using $HOME/renderd/bin/restart-apache.
- river.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Peter Körner:
additionally, when i try to render from command line, i get an error message:
osm@ptolemy:~$ $HOME/tools/render --style \ /home/project/o/s/m/osm/data/mapnik/shape-names.xml
This is fixed now.
I've also installed Mapnik 0.7.1, for testing. It seems renderd doesn't quite work with this though (rendering a tile causes a SEGV).
- river.
On Apr 29, 2010, at 11:55 AM, River Tarnell wrote:
I've also installed Mapnik 0.7.1, for testing. It seems renderd doesn't quite work with this though (rendering a tile causes a SEGV).
Mapnik point releases have not been binary compatible. So, basically renderd needs to be recompiled if you upgrade Mapnik from 0.7.0 to 0.7.1.
So, sorry about the hassle. Binary compatibility is a goal for future point releases!
Dane
2010/4/29 Peter Körner osm-lists@mazdermind.de:
Hi river, i just tried to add a very simple stylesheet, just to test how all works. I tried /home/project/o/s/m/osm/data/mapnik/shape-names.xml
Argh. While trying to set up the hikebike style, I accidentally cleared that file. I have tried to restore it, please check that it's correct. Sorry about that. (Needless to say that I didn't manage to make hikebike work; it's commented out in renderd.conf.)
Cheers Colin
(Needless to say that I didn't manage to make hikebike work; it's commented out in renderd.conf.)
The reason were missing fonts which River packaged (as TSandroid-fonts) and installed, plus the segfaulting mapnik 0.7.1, and renderd needing a few minutes to get its final speed (needing about ten reloads with the default timeout for the first tile). We are getting there.
Cheers Colin