[OSM-dev] JXAPI Polygon Query Support
ian.dees at gmail.com
Sat Aug 13 22:11:22 BST 2011
Just to be clear, you don't have to use Google's page to encode the
polyline. I only referenced it here because it is a good implementation of
the Douglas-Peucker line encoding algorithm. Feel free to implement the
algorithm yourself as described here:
On Sat, Aug 13, 2011 at 3:05 PM, Ian Dees <ian.dees at gmail.com> wrote:
> Hi all,
> I just pushed a change to jxapi.osm.org to support polygon-based data
> Basically, encode your polygon with Google's encoder utility  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!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dev