Commit graph

3 commits

Author SHA1 Message Date
Paul Ramsey 5e73021a5f Clean up warnings in encoded polyline code
git-svn-id: http://svn.osgeo.org/postgis/trunk@12755 b70326c6-7e19-0410-871a-916f4a2858ee
2014-07-07 22:53:43 +00:00
Paul Ramsey e4ddcf48e5 Convert malloc/free to lwalloc/lwfree
git-svn-id: http://svn.osgeo.org/postgis/trunk@12754 b70326c6-7e19-0410-871a-916f4a2858ee
2014-07-07 22:44:15 +00:00
Sandro Santilli 236881f97e Added support for encoded_polyline input/output (#2349)
Allow to convert from Encoded Polyline to LineString.
Useful for storing routes from Osrm or Google into PostGIS.

See http://developers.google.com/maps/documentation/utilities/polylinealgorithm

Contributed by Kashif Rasul <kashif.rasul@gmail.com>

Includes unit and regress tests.
Includes documentation.

Signed-off-by: Sandro Santilli <strk@keybit.net>

git-svn-id: http://svn.osgeo.org/postgis/trunk@12750 b70326c6-7e19-0410-871a-916f4a2858ee
2014-07-07 10:21:22 +00:00