On Nov 23, 2007 12:15 PM, Dave Stubbs <<a href="mailto:osm.list@randomjunk.co.uk">osm.list@randomjunk.co.uk</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On 23/11/2007, Marcus Wolschon <<a href="mailto:marcus@wolschon.biz">marcus@wolschon.biz</a>> wrote:<br>> -----BEGIN PGP SIGNED MESSAGE-----<br>> Hash: SHA1<br>><br>><br>><br>> Hello everyone,
<br>><br>> I noticed that<br>> <a href="http://wiki.openstreetmap.org/index.php/OSM_Protocol_Version_0.5#Searching_for_Objects_by_Tag" target="_blank">http://wiki.openstreetmap.org/index.php/OSM_Protocol_Version_0.5#Searching_for_Objects_by_Tag
</a><br>> does not allow a page-attribute like the other queries.<br>> How hard would it be to add that?<br>><br>> This renders this call useless for<br>> * fetching the motorway-network or<br>> * fetching all country-borders.
<br>><br>> I think this would be a good and simple addition and make<br>> the protcoll more consistent. What does everyone else think?<br>><br><br></div>I think we have to ask what the main API is for?<br>It's currently optimised for the purposes of editing the data... you
<br>download for an area, you query specific nodes/ways etc and you upload<br>revisions of those. You can also access the history of objects, but<br>not in a very easy way at present.<br><br>It's not great for rendering (doesn't return polygons which completely
<br>surround the bbox for instance), and it's not great for tag based<br>querying. Adding these features may seriously compromise the speed of<br>the system, and in some cases make editing harder.<br><br>If it's OK to have data which may be a couple of days old (from what
<br>you're trying to do I'd say it probably was OK) then you might want to<br>take a look at Osmxapi. I think it's probably much better suited to<br>the type of thing you're trying to do.<br><br><a href="http://wiki.openstreetmap.org/index.php/Osmxapi" target="_blank">
http://wiki.openstreetmap.org/index.php/Osmxapi</a><br><div><div></div><div class="Wj3C7c"><br></div></div></blockquote><div><br>Actually Osmxapi is now using the daily planet diffs and so will normally be no more than 24 hours old.
<br><br>Right now we are in transition to a new much faster server. Because of this the database is lagging a couple of days behind at the moment, but it is catching up quickly and should be fully up-to-date within a few hours.
<br><br>80n<br><br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div class="Wj3C7c">_______________________________________________
<br>dev mailing list<br><a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br><a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev" target="_blank">http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
</a><br></div></div></blockquote></div><br>