Hi all,<div>This is my first time asking questions on this list and hopefully some of you can help me out here.<br clear="all"><br></div><div>I've been using XAPI for my application to get nodes and relations from openstreetmap and I've experienced some problems that I don't have an answer yet:</div>
<div>1) Sometimes, XAPI server responds pretty quick for my query. However, for some other time, it's very slow like 5 or 10 minutes to get all the nodes</div><div>(<a href="http://www.informationfreeway.org/api/0.6/node[highway=bus_stop][bbox=-82.73803000000001,27.70168,-82.153672,28.252141]">http://www.informationfreeway.org/api/0.6/node[highway=bus_stop][bbox=-82.73803000000001,27.70168,-82.153672,28.252141]</a> retrieves approximately 3900 nodes. I know this is a large dataset but the xml download file is not that big, under 2MB). </div>
<div>2) Since data needs to be updated by osmosis to planetdump before XAPI can have the new data, I understand that there's a mismatch between real openstreetmap database and xapi data. However, I've read on the wiki page that planetdump is updated minutely (??). It seems to me it takes more time to update the new data. I had to wait 3,4 hours before my new data/change took place in XAPI server. </div>
<div><br></div><div>* Is there anything I can do in my application to stay away from the above problems? I don't intend to have my own database to handle the same job of XAPI server. </div><div>* Is there a way to access OpenStreetMap Postgresql database to GET data only besides using the API? I'd love to use something like XAPI but more stable.</div>
<div>* The last question seems irrelevant to this thread but I can't find an answer myself. If a node is deleted, how to get that node WITHOUT the node id (e.g. I'd like to use something like this <a href="http://www.informationfreeway.org/api/0.6/node[highway=bus_stop][bbox=-82.73803000000001,27.70168,-82.153672,28.252141]">http://www.informationfreeway.org/api/0.6/node[highway=bus_stop][bbox=-82.73803000000001,27.70168,-82.153672,28.252141]</a> but with all the deleted nodes]</div>
<div><br></div><div>Thanks.</div><div>-- <br>Khoa Tran<br>
</div>