Tag Info

Hot answers tagged

3

Indirectly, using tokml, after first converting to geojson: <html> <head> <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" /> </head> <body> <div id="map" style="width: 700px; height: 500px"></div> <script ...


2

Your KML file contains a lot of nested <Document> tag inside a main <Folder>. The OL parser doesn't handle correctly these tags it manages only one main <Document> tag on top, then nested <Folder> tags. If you remove all the <Document> tags it works.


2

As user30184 said, the importer extension has been designed exactly for this job, and will convert the data into the format of the chosen target store (e.g., will import the data into postgis or oracle for you). WFS-T is more geared towards single feature editing than "mass import" and can only handle GML anyways.


2

I am looking at the same issue. Firstly Converting to geoJSON and then KML. This tokml looks promising and seems to work. First problem is geoJSON does not recognise Circles, so i needed a workaround foir that - found on another thread. So what I am doing. In need a function to replace circle shapes with calculated polygons when added. Then a function to ...


2

The 4.0 beta 1 does not support KML. The KMLLayer will be supported in a future beta version. Beta 1 only supports the modules documented in the API Reference.


1

Got it - use Spatialite 4.3 I tried Select ExportKML() from GUI, but doesn't seem to work. However the command-line .dumpkml works fine. See .help in Spatialite 4.3 for syntax.


1

A KML file stores coordinates as latitude, logitude (WGS84). Steps to do in QGIS: load your dxf set (double check) the projection setting of your dxf layer right click on the layer name in the layer list and select save as set the output format to KML and the projection to WGS84 (epsg:4326) simply open your kml file in google earth I hope it helps you


1

There is a 'Samples' folder which comes with your MapBasic installation. Within that, under .NET, there is GoogleConnect. This contains the source code for the GELink utility which I assume is what you would use to export the data manually. This would be a good place to start. As for the symbology, Google and MapInfo have different symbol sets, but I think ...


1

The answer to your question seems to be code like: private FeatureEntry createFeatureEntry(SimpleFeatureType schema, ReferencedEnvelope bbox) { FeatureEntry ret = new FeatureEntry(); ret.setGeometryColumn(schema.getGeometryDescriptor().getLocalName()); GeometryType type = schema.getGeometryDescriptor().getType(); Geometries ...


1

I'm not aware of a particular KML/KMZ file, but if you're creating the KMZ file yourself you might have some success if you generalize the data to remove vertices. I've never had a problem using KMZ in Google Earth with file sizes larger than 10MB, however I've had plenty of problems with KMZ containing more than 30000 vertices. If you can't generalize the ...



Only top voted, non community-wiki answers of a minimum length are eligible