Friday, July 6, 2012

Converting SHP files to KML with GDAL command line SHP2KML

There is a lot of crappy software around claiming to be able to convert.... but :-( none of it is true... now fasten your seat belts.. I wrestled with it on Mac OSX so please forgive my ignorance to the other OS' First of all download the GDAL framework, and then let the magic begin Get your cadestral files from your local gis data provider.. unzip the files and let the transformation begin...
  657  /Library/Frameworks/GDAL.framework/Programs/ogr2ogr -f KML VTPARCELS_Westford2008.kml VTPARCELS_Westford2008.shp 
  658  ls -rlt
  659  history
  660  ls -rlt
  661  cd ../vtparcels_essextown2011
  662  /Library/Frameworks/GDAL.framework/Programs/ogr2ogr -f KML VTPARCELS_EssexTown2011.kml VTPARC.shp

No comments:

Post a Comment