Tag Info

New answers tagged

1

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

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


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


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.


0

bugmenot123 already mentioned it, but ogr2ogr can convert between shapefiles and kml. There's another post that covers how to convert between the two.


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.


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


0

there are two ways : you can use extra app, just to convert your kml files to "earth" file (the file become ready to use in google earth android) in here maybe now you use earth 8.0, please uninstall it and use another version of google earth for your android. check Google Earth 7.1.2.2011


0

It may be easier to create the polygon in the Google Earth (not API) software, and then save it as a KML. This is because there are specific tools that allow you to save, edit, and export KML files within the Google Earth standalone software, but not in the API. All the API can do is allow some of the functions that Google Earth offers to be performed by a ...


0

the way it become accessible in html: make your kml/kmz file can be accessed by public right click -> share -> advanced -> who has accesse - Public then use drive for hosting your file http://googledrive.com/host/ in your case the item ID is 0B4_TJdssPL1RRC13MTlzbjVPWHM so change the kml address in your HTML become : ...


-1

Using https://www.google.com/mymaps has the option to export to KML or KMZ, but only if you built your directions in the mymaps interface.


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


0

Ok, so in the absence of a better solution, I'll just cut the parts I want and rearrange the hierarchy. var kml = "<kml xmlns='http://earth.google.com/kml/2.0'>"; kml += "<Folder><name>My export</name><description>Some description</description>"; var layerString = ""; // Write features into a KML string for (var i = ...


0

There is still no simple solution to this conversion issue. It has been asked here multiple times in the last several years: kml-in-qgis-with-additional-data preserving-attributes-during-kml2shp-conversion-in-arcgis-for-desktop convert-kml-to-shapefile-without-losing-attribute-data esri's explanation for their KmltoLayer conversion tool: "As the ...


0

var kmlURL = 'http://www.lohneswright.com/ctc/kml/actc_wheels.kml'; var kml = new esri.layers.KMLLayer(kmlURL); map.addLayer(kml);


1

To answer your question: Combine your 2 layers with the Merge tool Just like Michael Miles-Stimson said, use the Simplify Polygon or the Generalize tool to decrease the number of vertices Use the Layer to KML tool to make the conversion


0

In the Online Help for ArcGIS 9.3.1 there is a page that discusses its KML support: Importing KML into the geodatabase for use in ArcMap, ArcGlobe or ArcScene See the Data Interoperability Extension. Alternatively, see how the user community is supporting KML by reviewing live search results for KML in ArcScripts


1

I donĀ“t know if ArcMap 9.3.1 has the tool. But there is a Tool called "KML to Layer". You need tho export the temporary layer to shp. If not use this online conversion: http://www.zonums.com/online/kml2shp.php



Top 50 recent answers are included