Roland, I have compiled osm3s and imported the latest planet file. I think this was successful - no errors anyway and took about 24 hours as you suggested and ended with
> 1298749171 w 1298757489 max_role_id on load 0 > Id: 229678 . 1298757506 max_role_id 2928 > max_written_role_id 0 > R 1298757599 r 1298757599 Id: 516132 . 1298757615 max_role_id 3869 > max_written_role_id 2928 > R 1298757715 r 1298757715 Id: 1248569 . 1298757733 max_role_id 4458 > max_written_role_id 3869 > R 1298757853 r 1298757853 . 1298757861 max_role_id 4613 > max_written_role_id 4458 > R 1298757941 r 1298757941 This looks a bit abrupt, but I tried a small osm file and got a similar result, so I think this is a good sign? Now I have a really dumb question for you - how do I use it? Your instructions on the wiki say "put a query on the standard input", but when I start osm3s_query it prints out: > encoding remark: No input found from GET method. Trying to retrieve input > by POST method. And although it lets me type things at the terminal (like your example queries), it does not respond - is it really listening on standard input? Or should I be calling it as a cgi script from a web server? Sorry if this is obvious - I haven't tried to look at your code to see what it is doing! The other question is whether anyone has written a php script (or similar) to make this emulate xapi queries to use as a direct replacement for xapi? I have copied this reply to the dev list, because I think this is a bit on the techy side for the general talk one, so I would recommend replying there. Thanks Graham. On 23 February 2011 09:26, Andy Robinson (blackadder-lists) < ajrli...@gmail.com> wrote: > Graham Jones [mailto:grahamjones...@gmail.com <grahamjones...@gmail.com>] > wrote: > >Sent: 22 February 2011 9:01 PM > >To: Roland Olbricht > >Cc: t...@openstreetmap.org > >Subject: Re: [OSM-talk] XAPI and using a home server > > > >Roland, > >Thanks for this - I had never heard of OSM3S. I'll have a look at it. > >It sounds as though the database handling is part of the OSM3S code, > rather > >than using an external database engine? > >If the hardware requirements are as modest as you say I can imagine using > >this as a replacement for calling xapi to download town sized areas of > OSM > >data for rendering. > > > > Exactly my thought. Most interesting, will have to give it a try. Thanks > for > this Roland. > Cheers > Andy > > > > > >Regards > > > > > >Graham. > > > > > >On 22 February 2011 20:27, Roland Olbricht <roland.olbri...@gmx.de> > wrote: > > > > > > > Well, there could perhaps be another solution, like running your > >own > > > XAPI server - the minutely diffs are usually less than 100Kb, so > the > > > required bandwidth to download from planet.openstreetmap.org > >would be > > > less than 2 Kb/second in average. > > > > > > But the question is - how large would be the planet database on > >disk > > > (how large would it get once you import the planet dump) > > > > Triggered by your request, I've made a deployable version of OSM3S. > >It needs > > only modest hardware requirements (1 GB RAM and 40 GB hard disk > >space for the > > entire world). See > > > > http://wiki.openstreetmap.org/wiki/OSM3S/install > > > > It has a different syntax than XAPI and partly different > capabilities, but > >if > > you work with map data and don't need metadata about users, you > >likely can use > > it. > > > > Cheers, > > > > Roland > > > > _______________________________________________ > > talk mailing list > > t...@openstreetmap.org > > http://lists.openstreetmap.org/listinfo/talk > > > > > > > > > > > >-- > >Graham Jones > >Hartlepool, UK. > > > >________________________________ > > > > > >No virus found in this message. > >Checked by AVG - www.avg.com > >Version: 10.0.1204 / Virus Database: 1435/3461 - Release Date: 02/22/11 > > ------------------------------ > > No virus found in this message. > Checked by AVG - www.avg.com > Version: 10.0.1204 / Virus Database: 1435/3461 - Release Date: 02/22/11 > -- Graham Jones Hartlepool, UK.
_______________________________________________ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev