ListFiles ( '*.mxd' )) > 0 : for mxd in arcpy. workspace = "C:/data" # Use the ListFiles method to identify all layer files in workspace if len ( arcpy. ''' # Import system modules import arcpy # Set environment settings arcpy. ![]() Syntax MapToKML_conversion (in_map_document, data_frame, out_kmz_file, ) Parameter To output every layer as a separate raster image, use the Convert Vector to Raster option. To output a single raster image draped over topography, use the Return single composite image option. ![]() You can use the Project tool to reproject your data prior to KML conversion if your projection requires a transformation. You need to be sure your layers will properly project if they aren't already in WGS84. You can reduce the size of the output KMZ document if your map has scale-dependent layer display properties and you choose an appropriate map output scale.Īll KML/KMZ files are created in the WGS84 coordinate system. Learn more about creating KML in ArcGIS for Desktop Layers that were originally created using the KML To Layer tool have attributes that define how KML will be created. When the layer properties are not set and the feature class contains certain attributes (fields), the field properties will be used in creating the KML.If layer properties such as the HTML PopUp setting, display expression, and the alias for KMLSnippet are used, they will be used in the creation of the KML.You can control the appearance of KML in two ways. Learn more about KML support in ArcGIS Usage ![]() kmz extension, and can be read by any KML client including ArcGIS Explorer, ArcGlobe, and Google Earth. This file is compressed using ZIP compression, will have a. This tool converts a map document into a KML file containing a translation of Esri geometries and symbology.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |