New answers tagged

1

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).


1

You read in the shapefile using a shapefile datastore and write out the KML using a KML datastore.


2

It's worth noting that the encoding format you are using is Google's Encoded Polyline Algorithm Format. I was also not able to find a tool that converted directly from EPAF to GeoJSON, but I did find a mapbox project on Github that provides the functionality in JavaScript. As you said you are not a coder, I wrapped the functionality into a JSFiddle for you ...


0

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.


1

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


-1

Save the file in server then get the fullpath of the file. Assign fullpath to KmlLayer constructor


0

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