Second x,y
[handlerosm.git] / README
bloba8575888c03493103902ef4cbe3aee603dcdadf5
1 This code implements OSM API 0.5; what do you need to install it.
3 1) The SVN version of the Cherokee Webserver
4 2) A version of MonetDB, I use the CVS version
5 3) A compiler
7 After you have installed cherokee to /opt/cherokee. And MonetDB to
8 /opt/monetdb (keep in mind that the data directory is:
9 /opt/monetdb/var/MonetDB5 have enough size, or make a symlink).
11 First run:
12 sh cherokee-includes.sh << cherokee source dir >> << /opt/cherokee >>
13 (this will fix ever include issue, since we use some low level functionality
14 outside of the tree)
16 Now you can safely hit make && make install.
19 The Cherokee configuration can be done in the Cherokee webinterface. The file
20 based output looks like:
22 vserver!10!rule!400!handler = osm
23 vserver!10!rule!400!handler!db_hostname = 127.0.0.1
24 vserver!10!rule!400!handler!db_name = demo
25 vserver!10!rule!400!handler!db_password = monetdb
26 vserver!10!rule!400!handler!db_port = 50000
27 vserver!10!rule!400!handler!db_username = monetdb
28 vserver!10!rule!400!handler!read_only = 1
30 Start: /opt/monetdb/bin/mserver5 --dbinit="include sql;"
32 Look at download.sh and see if it fits your needs if so, start it.
34 Start: /opt/cherokee/sbin/cherokee
37 With a bit of luck you can access the api using:
38 http://127.0.0.1/api/0.5
41 Bugs:
43 Lat/Long, X/Y is consistently reversed in the entire code.
44 Still need to fix that.
46 The osmparser, should update the serials after copy into.
48 Writing using the old (way/relation approach, is still to be tested, depends
49 on the previous bug)