New answers tagged kml
I haven't tested it yet but I was looking for this and found a plugin - vaguely titled spirix_shapefile_importer that imports shapefiles into newer versions of sketchup including sketchup 2016 (plugin Ruby).
You read in the shapefile using a shapefile datastore and write out the KML using a KML datastore.
I have just now developed a fairly full featured program that simplifies kml files. As well as gpx and tcx ones. It supports a number of techniques that make the file smaller, many are essentially loss-less, others reduce the precision of the path.
I followed the same steps explained in this question about GML .gz files and it worked. iface.addVectorLayer on a gml file causes "Select vector layers to add" dialog (pyqgis) 1- Open one of the layers 2- Get its full URL iface.activeLayer().dataProvider().dataSourceUri() 3- Iterate through them
Save the file in server then get the fullpath of the file. Assign fullpath to KmlLayer constructor
You can the this link too. Here CSV files are being converted to either KML or Shapefile using js2shapefile. You can check the source code how it works. This is a working example.
Top 50 recent answers are included