geospatial python and how to convert multilinestrings to kml
Andrew MacIntyre
andymac at bullseye.apana.org.au
Wed Mar 4 05:10:54 EST 2009
Danny Shevitz wrote:
> Howdy,
>
> I need to do some geospatial work and am a complete newbie at this. I have
> access to a PostGIS database and there are lots of MultiLineString objects.
> I want to run a python algorithm that determines a group of these MultiLineString
> objects and creates a KML file of the results.
>
> Is there a pythonic way (some existing module) to convert PostGIS
> MultiLineStrings to a KML file format?
OGR - http://www.gdal.org/ogr/index.html
Note that that page says the Python bindings aren't well documented.
You might also find FWTools (http://fwtools.maptools.org/) useful.
--
-------------------------------------------------------------------------
Andrew I MacIntyre "These thoughts are mine alone..."
E-mail: andymac at bullseye.apana.org.au (pref) | Snail: PO Box 370
andymac at pcug.org.au (alt) | Belconnen ACT 2616
Web: http://www.andymac.org/ | Australia
More information about the Python-list
mailing list