Hot answers tagged kml
I checked out the site, and found a good way to do this. KML is not the best format for handling attributes (as you found), but they also allow you to get the data as a CSV, which is a great format. Download the CSV, in QGIS, choose Layer > Add Delimited Text Layer... Pick WKT as the geometry interpreter, and choose the field that says it has WKB geometry ...
I think you are seeing that particular error message from this line of your code: arcpy.KMLToLayer_conversion( r"C:\Project\gis\layers" ,r'C:\Project\gis') arcpy.KMLToLayer_conversion expects a file as its first parameter (KML or KMZ) but you are giving it a folder name. You could try concatenating the contents of your filename variable, with the ...
KML files use WGS84 LL by default, so yours should appear correctly positioned with respect to another dataset that you are confident is georeferenced (such a reference dataset is very useful when importing new data) However if the DXF file has not been supplied with any description of the coordinate system used then you have a few options. Ideally you ...
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
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
Akio, Unfortunately what you are trying to do is very difficult. I have struggled with this a lot myself, and from what I have found in my search for a similar answer often times led to people suggesting using models with SketchUp or some other modeling software. I did however find one useful page that helped me wrap my mind around some ways around this ...
Download the kml, and go to this page: http://www.zonums.com/online/kml2shp.php you can export here the kml to shape format, and then load to qgis (and change the wgs84 system to epsg27700 (osbg36). Hope it helps.
Google Maps natively supports KML layers, you simply need to create a new google maps kml layer. Here's an example. As a side note, using Google Earth you can view your kml by simply dragging and dropping the file onto the globe.
Only top voted, non community-wiki answers of a minimum length are eligible