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: andy...@bullseye.apana.org.au  (pref) | Snail: PO Box 370
       andy...@pcug.org.au             (alt) |        Belconnen ACT 2616
Web:    http://www.andymac.org/               |        Australia
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to