I have kmz's that I would like to overlay in Arcmap for comparison to our data but I don't want to convert it.
There is no way to view KMZ in ArcMap without converting it.
I think you can natively with ArcGIS Data Interoperability (ArcGIS Data Interoperability | Overview).
You might be right, Chris. The supported formats lists "OpenGIS KML Encoding Standard" although I don't know if that includes all KML, or any KMZ.
David,
Like Darren said, you will need to convert it.
Use this tool:
KML To Layer—Help | ArcGIS for Desktop
Make edits, then use the opposite tool to change it back:
kmz files are zipped kml files ... some backgrounders that are useful
Can I convert a kmz file to kml? - Geographic Information Systems Stack Exchange
provides some help and with the aid of python modules:
one can even process things directly, for example
Calculate distance from .kmz files « Python recipes « ActiveState Code
And there are many other examples out there.
well...
"""
Script: kmz_kml.py
Author:
Dan.Patterson@carleton.ca
References: many
Purpose: convert kmz to kml base script
"""
import zipfile
from xml.dom import minidom
def kmz_to_kml(fname):
"""save kmz to kml"""
zf = zipfile.ZipFile(fname,'r')
for fn in zf.namelist():
if fn.endswith('.kml'):
content = zf.read(fn)
xmldoc = minidom.parseString(content)
out_name = (fname.replace(".kmz",".kml")).replace("\\","/")
out = open(out_name,'w')
out.writelines(xmldoc.toxml())
out.close()
else:
print("no kml file")
if __name__ == "__main__":
fname = r"Your_folder_here\GIS_central.kmz"
kmz_to_kml(fname)
found it. which could obviously be cleverly modified for batch production