Tag Info

Hot answers tagged

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


3

It is not currently supported to import KML or KMZ to Google Maps Engine Lite or Pro. https://support.google.com/mapsenginelite/answer/3024937 The only current way is to use MyMaps (with the Classic Version of Google Maps) Open the classic Google Maps and click My places in the top left corner. (Make sure you’re signed-in). Click Or create with classic My ...


2

You can do the following to name the kmz file and place it in the folder you want: arcpy.LayerToKML_conversion(fNAME, "c:\\temp\\" + str(fNAME) + ".kmz", "12000", ..... or in the env.workspace but a new subfoler - if it exists: arcpy.LayerToKML_conversion(fNAME, "KMZ\\" + str(fNAME) + ".kmz", "12000", .....


2

If you need ruler distance, You can use the distance matrix tool in Quantum GIS. Quantum GIS can read your KMZ files. Then you can easily compute the distance matrix. Here is tutorial http://qgis.spatialthoughts.com/2013/04/tutorial-nearest-neighbor-analysis.html


1

You do not specify which ArcGIS for Desktop tool or version you tried to use to do the conversion. However, legend creation is discussed in the help page entitled Creating KML in ArcGIS for Desktop where it says: A legend is the only screen overlay that you can include in your KML created in ArcGIS for Desktop. Legends added in the map document ...


1

The answer depends on how robust your KML reader is and what you want to do. I downloaded both kmz files and renamed each file to .zip like you did. They are just zip files after all. I took the section of the code you posted above from <Folder> ... </Folder> and put it in the MD1558.kml file right after the MD1558.kml ... </Folder> ...


1

You could save out the KML and then use notepad++ to do a search and replace using regular expressions. So in notepad++ I would use: and in the replace tab just place <description></description>


1

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.


1

I think this is a pure GE limitation - and I am not aware of a direct way to force GE to spread the lines (that would be nice, though). Assuming that feature does not in fact exist - there are two options I can think of. Set different heights based on what you want to have priority (clamp the less important features to the ground and set a height of a few ...


1

Taken from Garmin FAQ: More than one jpeg can preside in a kmz file. Jpeg must be saved without Progressive Image (typically found under advanced option). Images over 1 mega pixel (1024x1024 pixels, 512x2048 pixels, etc.) will be rendered at a reduced resolution on the unit. If this is causing a problem for your map, you can split the image and ...


1

I think you must to adapt your code perl script to generate a functional code like below: <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2"> <Document> <name>BalloonStyle.kml</name> <open>1</open> <Style id="exampleBalloonStyle"> ...


1

Looking into the kml file, I see color information inside the <description> tag. The kml driver of QGIS puts that information in a column named description, but can not use the information to colour the objects. It might be that Google Earth can handle that data, but QGIS can not (and Arcview presumably neither). This question gives some hints how ...


1

import your KMZ in arcGIS using "KML to Layer". you can then use the "near" tool in arcgis.(http://resources.arcgis.com/en/help/main/10.1/index.html#//00080000001q000000) for "straight line" distances. For real distance, you need the Network analyst extension and the road network in a vector format as well (see ...


1

You have not said how you converted the KML to shapefiles. Maybe something has gone wrong in that step. KML has some features that shapefiles don't allow and QGIS can not work with (like MultiGeometry), which might lead to an empty layer. You can activate the feature counter or look up in the attribute table if there are entries at all. Furthermore, you ...


1

If you have more than one GeoTIFF, you can mosaic them before the conversion. For instance, you can make a virtual mosaic from all of them contained in the same directory: gdalbuildvrt mosaic.vrt *.tif gdal_translate -of KMLSUPEROVERLAY mosaic.vrt out.kmz


1

Please check out http://www.gavinharriss.com/code/opacity-control might be helpful for you.


1

Right Clic on your raster>Save as>GTiff (try to keep Output Mode in Raw Data)


1

I've found a workaround to do this. You can import your kmz file from your pc using the classic (legacy) "import with classic google maps" link on google maps. This link allow you to import kmz/kmz files in new maps engine format with a limit of 3MB. Now you can download mapsEngine app for android and open the link to the new converted file.



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