mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-25 01:22:47 +00:00
236881f97e
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
3 lines
215 B
SQL
3 lines
215 B
SQL
select 'linefromencodedpolyline_01',st_asewkt(st_linefromencodedpolyline('_p~iF~ps|U_ulLnnqC_mqNvxq`@'));
|
|
select 'linefromencodedpolyline_02',st_asewkt(st_linefromencodedpolyline('_p~iFlhz|UuksL`wjCivjNvxq`@', 6));
|