[postgis-users] Google Polyline into PostGIS

Richard Greenwood richard.greenwood at gmail.com
Sat Feb 16 06:16:29 PST 2013


On Fri, Feb 15, 2013 at 6:44 AM, James David Smith <
james.david.smith at gmail.com> wrote:

> Dear all,
>
> I've had a quick search online and found a few people who have had
> similar questions, but no definite answers. My question is whether
> there is a simple way to take an encoded Google Polyline and place it
> into a Geometry column of type Polyline within PostGIS (that PostGIS
> understands and can work with).
>
> By way of background, I am using the Google Directions API to generate
> some routes, and I want to store the results in a PostGIS database.
>

I do not know what a "encoded Google Polyline" is but I believe Google can
output KML. ogr2ogr can read KML and write to postgis, so that's where I
would start.

Rich

-- 
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20130216/6566f59d/attachment.html>


More information about the postgis-users mailing list