[OSM-dev] JXAPI Polygon Query Support

Ian Dees ian.dees at gmail.com
Sat Aug 13 21:05:33 BST 2011


Hi all,

I just pushed a change to jxapi.osm.org to support polygon-based data
queries.

Basically, encode your polygon with Google's encoder utility [0] and replace
any bbox=? XAPI predicate with a poly=? predicate with the encoded string on
the right side.

Let me know if you run into any bugs or problems. Happy Saturday!
Ian

[0]
http://code.google.com/apis/maps/documentation/utilities/polylineutility.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20110813/d89606ff/attachment.html>


More information about the dev mailing list