Roland,<div>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 </div><div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
 1298749171 w 1298757489 max_role_id on load 0<br>Id: 229678 . 1298757506 max_role_id 2928<br>max_written_role_id 0<br>R 1298757599 r 1298757599 Id: 516132 . 1298757615 max_role_id 3869<br>max_written_role_id 2928<br>R 1298757715 r 1298757715 Id: 1248569 . 1298757733 max_role_id 4458<br>
max_written_role_id 3869<br>R 1298757853 r 1298757853 . 1298757861 max_role_id 4613<br>max_written_role_id 4458<br>R 1298757941 r 1298757941 </blockquote><div>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?</div>
<div><br></div><div>Now I have a really dumb question for you - how do I use it?  </div><div><br></div><div>Your instructions on the wiki say "put a query on the standard input", but when I start osm3s_query it prints out:</div>
<div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
encoding remark: No input found from GET method. Trying to retrieve input by POST method.</blockquote><div>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?</div>
<div><br></div><div>Sorry if this is obvious - I haven't tried to look at your code to see what it is doing!</div><div><br></div><div>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?</div>
<div><br></div><div>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.</div><div><br></div><div>Thanks</div><div><br></div>
<div><br>Graham.</div><div> </div></div><div><br></div><div><br></div><br><div class="gmail_quote">On 23 February 2011 09:26, Andy Robinson (blackadder-lists) <span dir="ltr"><<a href="mailto:ajrlists@gmail.com">ajrlists@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="EN-GB" link="blue" vlink="purple"><div><p style="margin-bottom:12.0pt"><span style="font-size:10.0pt"></span></p>
<div class="im">Graham Jones [<a href="mailto:grahamjones139@gmail.com" target="_blank">mailto:grahamjones139@gmail.com</a>] wrote:<br>>Sent: 22 February 2011 9:01 PM<br>>To: Roland Olbricht<br>>Cc: <a href="mailto:talk@openstreetmap.org" target="_blank">talk@openstreetmap.org</a><br>
>Subject: Re: [OSM-talk] XAPI and using a home server<br>><br></div><div class="im">>Roland,<br>>Thanks for this - I had never heard of OSM3S.   I'll have a look at it.<br>>It sounds as though the database handling is part of the OSM3S code, rather<br>
>than using an external database engine?<br>>If the hardware requirements are as modest as you say I can imagine using<br>>this as a replacement for  calling xapi to download town sized areas of OSM<br>>data for rendering.<br>
><br><br></div><div class="im">Exactly my thought. Most interesting, will have to give it a try. Thanks for<br>this Roland.<br>Cheers<br>Andy<br><br><br>><br></div><div><div></div><div class="h5">>Regards<br>><br>
><br>>Graham.<br>><br>><br>>On 22 February 2011 20:27, Roland Olbricht <<a href="mailto:roland.olbricht@gmx.de" target="_blank">roland.olbricht@gmx.de</a>> wrote:<br>><br>><br>>       >  Well, there could perhaps be another solution, like running your<br>
>own<br>>       >  XAPI server - the minutely diffs are usually less than 100Kb, so<br>the<br>>       >  required bandwidth to download from <a href="http://planet.openstreetmap.org" target="_blank">planet.openstreetmap.org</a><br>
>would be<br>>       >  less than 2 Kb/second in average.<br>>       ><br>>       >  But the question is - how large would be the planet database on<br>>disk<br>>       >  (how large would it get once you import the planet dump)<br>
><br>>       Triggered by your request, I've made a deployable version of OSM3S.<br>>It needs<br>>       only modest hardware requirements (1 GB RAM and 40 GB hard disk<br>>space for the<br>>       entire world). See<br>
><br>>       <a href="http://wiki.openstreetmap.org/wiki/OSM3S/install" target="_blank">http://wiki.openstreetmap.org/wiki/OSM3S/install</a><br>><br>>       It has a different syntax than XAPI and partly different<br>
capabilities, but<br>>if<br>>       you work with map data and don't need metadata about users, you<br>>likely can use<br>>       it.<br>><br>>       Cheers,<br>><br>>       Roland<br>><br>>       _______________________________________________<br>
>       talk mailing list<br>>       <a href="mailto:talk@openstreetmap.org" target="_blank">talk@openstreetmap.org</a><br>>       <a href="http://lists.openstreetmap.org/listinfo/talk" target="_blank">http://lists.openstreetmap.org/listinfo/talk</a><br>
><br>><br>><br>><br>><br>>--<br>>Graham Jones<br>>Hartlepool, UK.<br>><br></div></div><div class="im">>________________________________<br>><br>><br>>No virus found in this message.<br>
>Checked by AVG - <a href="http://www.avg.com" target="_blank">www.avg.com</a><br>>Version: 10.0.1204 / Virus Database: 1435/3461 - Release Date: 02/22/11<br><br></div><p></p><div class="im"><div class="MsoNormal" align="center" style="text-align:center">
<span><hr size="1" width="100%" noshade style="color:#ACA899" align="center"></span></div><p>No virus found in this message.<br>Checked by AVG - <a href="http://www.avg.com" target="_blank">www.avg.com</a><br>Version: 10.0.1204 / Virus Database: 1435/3461 - Release Date: 02/22/11</p>
</div></div></div></blockquote></div><br><br clear="all"><br>-- <br>Graham Jones<div>Hartlepool, UK.</div><br>
</div>