descriptionCherokee/MonetDB OSM server
homepage URLhttp://wiki.openstreetmap.org/index.php/Cherokee/MonetDB_Handler_OSM
ownerhandlerosm@kinkrsoftware.nl
last changeSat, 10 Oct 2009 17:48:46 +0000 (10 19:48 +0200)
content tags
add:
readme
This code implements OSM API 0.5; what do you need to install it.

1) The SVN version of the Cherokee Webserver
svn co svn://svn.cherokee-project.com/cherokee/trunk cherokee

2) A version of MonetDB, I use the CVS version
https://sourceforge.net/projects/monetdb/

3) A compiler

After you have installed cherokee to /opt/cherokee. And MonetDB to
/opt/monetdb (keep in mind that the data directory is:
/opt/monetdb/var/MonetDB5 have enough size, or make a symlink).

First run:
sh cherokee-includes.sh << cherokee source dir >> << /opt/cherokee >>
(this will fix ever include issue, since we use some low level functionality
outside of the tree)

Now you can safely hit make && make install.


The Cherokee configuration can be done in the Cherokee webinterface. The file based output looks like:

vserver!10!rule!400!handler = osm
vserver!10!rule!400!handler!db_hostname = 127.0.0.1
vserver!10!rule!400!handler!db_name = demo
vserver!10!rule!400!handler!db_password = monetdb
vserver!10!rule!400!handler!db_port = 50000
vserver!10!rule!400!handler!db_username = monetdb
vserver!10!rule!400!handler!read_only = 1

Start: /opt/monetdb/bin/mserver5 --dbinit="include sql;"

Look at download.sh and see if it fits your needs if so, start it.

Start: /opt/cherokee/sbin/cherokee


With a bit of luck you can access the api using:
http://127.0.0.1/api/0.5


Bugs:

Writing using the old (way/relation approach, is still to be tested, depends on the previous bug)
shortlog
2009-10-10 Stefan de KoninkNow also parse new diffsmaster
2009-05-19 Stefan de Koninklatest with zcurve
2009-05-19 Stefan de Koninkno clue
2009-04-05 Stefan de Koninklast version
2009-04-05 Stefan de Koninklater than last version
2009-03-18 Stefan de Koninktiny fix
2009-03-18 Stefan de KoninkOsmsucker now combines mmap and stdin operation, compil...
2009-03-18 Stefan de KoninkOsmsucker is the streaming equivalent of osmparser...
2009-01-27 Stefan de KoninkThis updates the username code, basically I for now...
2009-01-13 rootAnother Cherokee include
2008-12-21 Stefan de Koninkbig update; need sleep; and needs testing
2008-12-21 Stefan de KoninkThis big chunk allows to import diffs directly as if...
2008-12-21 Stefan de KoninkCode is now more compact; and rollback nicely on the...
2008-12-21 Stefan de KoninkThreading is now required too
2008-12-21 rootBetter than without -p
2008-12-17 Stefan de KoninkAdd an easy way to migrate to uints.
...
heads
14 years ago master