Subject: Tutorial on exporting to KML

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Subject: Tutorial on exporting to KML

by Karsten Vennemann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Rixanne,

You didn't specify which GIS vector formats you where looking for to export
to kml...

There are so many ways to do it - but one easy one is to use open source
(sure its free) software. You can for example use the ogr2ogr command line
utility which comes with the Simple Feature Library (OGR) www.gdal.org/ogr .
There as many formats supported -reference is here
http://gdal.org/ogr/ogr_formats.html.

To export an ESRI shape file "counties.shp" to a KML file newcounties.kml
this is the command on the command (DOS) shell:
ogr2ogr -f "KML" newcounties.kml counties.shp

More information on this utility (also included with Fwtools
(http://fwtools.maptools.org which recommend to get started with this and
other tools):

ogr2ogr http://www.gdal.org/ogr/ogr2ogr.html
"This program can be used to convert simple features data
between file formats performing various operations during
the process such as spatial or attribute selections, reducing
the set of attributes, setting the output coordinate
system or even reprojecting the features during translation."

To learn more about open Source GIS out check out this site of Open Source
Geospatial Foundation: http://www.osgeo.org/

Cheers

Karsten Vennemann
Principal

Terra GIS LTD
Seattle, USA
www.terragis.net


_______________________________________________
gislist mailing list
gislist@...
http://lists.geocomm.com/mailman/listinfo/gislist

_________________________________
This list is brought to you by
The GeoCommunity
http://www.geocomm.com/