- Messages
- 6,521
- Country

Hi all.
Google Earth's drawing tool is quite robust, allowing the tracing of lines as well as point-to-point drawing. Unfortunately, SBuilderX doesn't allow the import of KMZ or KML files.
FWTools contains the ogr2ogr.exe commandline tool. Using the FWShell, you can type:
The result is the conversion of LOD_5_48_31.kml to a new fileset named mydata.shp, which can now be imported to SBuilderX.
Note the files from Google Earth need to be saved as the uncompressed KML type... not KMZ.
To convert a shapefile back to KML...
You'll lose your tags, colors and line widths, but is is a path for conversion.
+++++++++++++
In addition, the nice FSX_KML program will also make a shapefile... just dig in the program's folders to retrieve it. That shapefile can be used in SBuilderX.
Dick
Google Earth's drawing tool is quite robust, allowing the tracing of lines as well as point-to-point drawing. Unfortunately, SBuilderX doesn't allow the import of KMZ or KML files.
FWTools contains the ogr2ogr.exe commandline tool. Using the FWShell, you can type:
Code:
ogr2ogr -f "ESRI Shapefile" mydata.shp LOD_5_48_31.kml
The result is the conversion of LOD_5_48_31.kml to a new fileset named mydata.shp, which can now be imported to SBuilderX.
Note the files from Google Earth need to be saved as the uncompressed KML type... not KMZ.
To convert a shapefile back to KML...
Code:
ogr2ogr -f "KML" mydata.kml mydata.shp
You'll lose your tags, colors and line widths, but is is a path for conversion.
+++++++++++++
In addition, the nice FSX_KML program will also make a shapefile... just dig in the program's folders to retrieve it. That shapefile can be used in SBuilderX.
Dick

