Re: geospatial python and how to convert multilinestrings to kml

2009-03-04 Thread Andrew MacIntyre

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


Re: geospatial python and how to convert multilinestrings to kml

2009-03-03 Thread Terry Reedy

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

Have you tried web search (ie, Google)?

--
http://mail.python.org/mailman/listinfo/python-list