Google Maps polyline encoding : py-gpolyencode released

33 views
Skip to first unread message

Robert Coup

unread,
Nov 17, 2009, 6:38:06 PM11/17/09
to geod...@googlegroups.com
Hey folks,

I've released a clean, pythonic, BSD-licensed port of the Javascript
GMaps polyline encoder by Mark McClure[1]. There's also a C++
implementation with an identical interface (think cStringIO vs
StringIO) which is around 40x faster. And a bunch of unit tests so i
know it actually works.

http://code.google.com/p/py-gpolyencode/

So if you're using GMaps and drawing non-trivial lines/polygons on
them, get stuck in.

Feedback is most welcome.

Rob :)

[1] http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/

--
Koordinates Ltd.
PO Box 1604, Shortland St, Auckland 1140, New Zealand
Phone +64-9-966 0433 Fax +64-9-969 0045
Web http://koordinates.com/

Dane Springmeyer

unread,
Nov 19, 2009, 1:48:20 PM11/19/09
to geod...@googlegroups.com
Amazing work Robert!

Dane
> --
>
> You received this message because you are subscribed to the Google
> Groups "geodjango" group.
> To post to this group, send email to geod...@googlegroups.com.
> To unsubscribe from this group, send email to geodjango+...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/geodjango?hl=
> .
>
>

Reply all
Reply to author
Forward
0 new messages