Hot answers tagged

58

Yes. Inside the .kmz is a file called doc.kml. You can use 7-zip to open the kmz archive.


26

or change the file extension to .zip under windows to open with winzip. In unix/linux/osx: cp myfile.kmz myfile.zip unzip myfile.zip cp doc.xml myfile.kml


19

On a Mac, where QGIS uses the Kyngchaos.com GDAL 1.9 Complete framework, or on any platform where QGIS has been compiled against a GDAL build with support for the Google LIBKML driver, you can open .kmz files directly using the open dialog and selecting the All Files (*) option, or simply drag/drop onto QGIS. (Otherwise, you will need to decompress the .kmz ...


15

Recent versions of gdal_translate have support for KML Superoverlay. Although it is not yet documented on the GDAL website the following can be used: gdal_translate.exe -of KMLSUPEROVERLAY c:\in.tif c:\out.kmz -co FORMAT=JPEG This will save a tiled version in a kmz file using jpeg compression. On windows you can automate using forfiles /m *.tif /c "cmd /...


13

No need for a third party tool. Change the extension to .zip, open and extract the file you want.


13

as far as I know, you are right: vectors in qgis are read and written by ogr. qgis 1.8 uses the lastest gdal/ogr, which is 1.91. you can read zipped shape-files, but *.kmz, which actually are a zip-archive containing *.kml-file(s) need to be unzipped manually before importing


10

QGIS has a plugin called "Photo2Shape" that will convert the geotagged coordinates of the photo into a shapefile. You can then use the "eVis" plugin to set up hotlinks to the photos themselves, and launch a photo viewer by clicking on the attribute field.


9

This is most likely no practical solution, but you can import your kmz-file in google earth (open) and export it (rightlick -> save) it as kml. Somehere out there is certainly a easy tool for conversion/extraction.


8

It should not be too hard to achieve this by converting the PDF to an image format (say Tiff) and georeferencing that image and projecting it in the same projection as the data you are overlaying. You will not be 100% accurate but with care you can get a good result. A few random thoughts: As seems typical with so many maps, there are no graticules or ...


6

Here is a guide to create and import KML files into Quantum. It does not work for KMZ files so these would need to first be decompressed to be used in this manner.


6

My favorite app for doing these kinds of things is Locus map free. It can import KML file amongst many other formats, and can work completely offline. If you need a base map, you can either download it within the app (for a fee) or add your own data either in mbtiles, or one of the other myriad formats that it supports.


6

Check out the Overpass Turbo API. Use the wizard to simply search for your desired OpenStreetMap routes using their location or the route's osm-id and then press the export-tab. There you can choose "KML" as an export format.


6

As far as I'm aware, No there is no such feature that performs the actions you are specifically looking for. As a workaround, you could export the layers as KML, import them into My Maps, that will get rid of the folder hierarchy creating a single layer map, and reimporting the custom map to MEL into a new layer. As a step by step here: If you want to ...


5

One of the fastest and easiest possible solutions uses a short program written with the free open source program R (the R project for statistical computing). The following code computes the distance matrix (using spherical distances) between two arrays of (lon, lat) coordinates named customers and facilities and stores it in an array distances (with rows ...


5

GDAL has two drivers for KML, "KML" http://www.gdal.org/drv_kml.html and "LIBKML" http://www.gdal.org/drv_libkml.html. The LIBKML driver can read KMZ files out-of-the-box. This works for me with the GDAL 2.1-dev version from gisinternals.com: Acquire test data from https://code.google.com/p/kml-samples/ Run ogrinfo: ogrinfo time-stamp-point.kmz -al -so ...


5

KML is just XML. That is plain text as XML. KMZ is XML that has been zipped and could include other elements like images inside. There is nothing special about it. That's why so many software packages can read it / use it. There is no mechanism within ArcGIS to "lock" or secure a KML/KMZ. Even if one existed, some other software package wouldnt care about ...


4

QGIS will not save/export straight to KMZ. As Aaron suggests in his comment above, you can right click on your layer in QGIS, select 'Save As...' and choose KML. To then convert your KML to a KMZ, you have two options: Open the KML in Google Earth, right click on 'Save Place As...', and select KMZ as your desired format. Put your KML in a .zip file, then ...


4

ArcMap 10.x has a tool for creating KML files directly. The kmz files created by the Map to KML tool in ArcMap 10 can be opened in Google Earth but do NOT work directly on Garmin GPS units. This is because the image format required by Garmin is JPG, and the image saved in the KMZ file is a PNG. A workaround: Create your map document, then run the Map to ...


4

Actually, it appears that don't use polygons, KMZ, or shape files, but an actual image overlay. If you visit https://s1-vodafone.cloud.eaglegis.co.nz/arcgis/rest/services/coverage-maps/Mobile_3G_0_T_FF5400/MapServer/tile/6/39/62 you will see: which the map of their coverage for zoom level 6, y=39, x=62 Using my own http://test.barrycarter.info/gettile.php ...


4

The custom content that you see in Google Earth is saved in one field called description. Indeed in the QGIS screen shot, we can see that this field starts with the same content as displayed in GE (Unknown Point Feature). You could display this field as map tip, especially if it is formatted! Another option would be to save as another format, add new ...


4

The answer is simple, the layer SST is just the folder (s. screenshot). If you load the subfolder it works perfectly. file <- "Burrows_et_al_Nature_traj_ocean_NH1.kmz" SST_start = readOGR(file,"SST_start") # OGR data source with driver: LIBKML # Source: "Burrows_et_al_Nature_traj_ocean_NH1.kmz", layer: "SST_start" # with 42205 features # It has 12 ...


4

Try replacing the second "Biotops_Corine_layer" after the Make Feature Layer tool with an in-line name variable "%Name%". I created a very similar model for a different purpose and it works for me (iterates through several hundred rasters). The in-line name variable is the only difference between my model and your model. Additional Detail: I reproduced ...


4

Open select by attribute dialog for the actual layer from the toolbar. Select the first 10000 records using $id from the record group. Select Save as from the popup menu of the layer and check save only selected features. Input a name for the new layer. Invert the selection of the layer. Finally Save as the second part of the layer.


4

Google Earth itself will give you an excellent georeferencing experience. Go to menu Add and select Image Overlay. Select your image in the Link field (by clicking on Browse button). You can control green handles on and around the image to fit it to desired location. Then hit OK to finish. To save it as a new kmz file, go to Places panel and right click ...


3

I had the same issue and changed the extension from KMZ to ZIP. Clicking the ZIP file lead me to the KML file, then made the import from both QGIS and ArcGIS Desktop work.


3

If you convert your 3D KML to collada (.dae) a Google Earth Model - using Google Sketchup http://sketchup.google.com/download/ Then you can import this MODEL into ArcGIS with ArcScene. Here is a youtube video showing how this can be done. http://www.youtube.com/watch?v=udhm3yxVinc


3

ArcGIS can read KML files and since 9.3 also KMZ via the Data Interoperability Extension. From version 10 you must install this separately. The basic version of DI extension does not require a special licence and certainly lets you read GML and (from memory) I think it also reads KML. I have been used to having the full version so I forget where the free ...


3

So far I came up with this: I replaced the first 2 lines of the original KML with the following 3 lines: <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2"> Then I replaced the lower case "z" of the Timespan by uppercase "Z", like these: <...


3

Those look like the grids for the National Topographic System in Canada. They can be downloaded from Geogratis as the Vector Indexes of the National Topographic System of Canada. They are available as kmz or shp. They can be converted to KML with ogr2ogr from gdal.


3

PostGIS comes with a shapefile loader called shp2pgsql which converts a shapefile into the SQL statements that are needed to load the data into PostGIS. You can find a detailed description of the command and the options needed on this page. But it boils down to something like: shp2pgsql -I -s 4326 input.shp schema.table > output.sql


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