Display Name: Layer To KML
Description: Converts a feature or raster layer into a KML file containing a translation of Esri geometries and symbology. This file is compressed using ZIP compression, has a .kmz extension, and can be read by any KML client including ArcGIS Earth, ArcGlobe, and Google Earth.
Category:
Help URL: https://montgomeryplans.org/server/rest/directories/arcgisoutput/Tools/LayerToKML_GPServer/Tools_LayerToKML/LayerToKML.htm
Execution Type: esriExecutionTypeAsynchronous
Parameters:
Parameter: layer
Data Type: GPString
Display Name Layer
Description: The feature or raster layer or layer file (.lyrx) to be converted to KML.
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value: INTERSECTIONS.PED_PRIORITY
Parameter Type: esriGPParameterTypeRequired
Category:
Choice List: [ INTERSECTIONS.PED_PRIORITY ]
Parameter: out_kmz_file
Data Type: GPDataFile
Display Name Output File
Description: The output KML file. This file is compressed and has a .kmz extension. It can be read by any KML client including ArcGIS Earth, ArcGlobe, and Google Earth.
Direction: esriGPParameterDirectionOutput
Filter:
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeRequired
Category:
Parameter: layer_output_scale
Data Type: GPDouble
Display Name Layer Output Scale
Description: For raster layers, a value of 0 can be used to create one untiled output image. If a value greater than or equal to 1 is used, it will determine the output resolution of the raster. This parameter has no effect on layers that are not raster layers.
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value: 0
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: is_composite
Data Type: GPBoolean
Display Name Return single composite image
Description: Specifies whether the output will be a single composite image. If your layer is a raster, you can choose either option for this parameter without any visual difference.Checked—The output KML file will be a single composite image representing the raster or vector features in the source layer. The raster is draped over the terrain as a KML GroundOverlay. Use this option to reduce the size of the output KMZ file. When this option is used, individual features and layers in the KML will not be selectable.Unchecked—If your layer has vector features, they will be preserved as KML vectors.
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value: false
Parameter Type: esriGPParameterTypeOptional
Category: Data Content Properties
Parameter: boundary_box_extent
Data Type: GPString
Display Name Extent to Export
Description: The geographic extent of the area to be exported. Either define the extent box (in the WGS84 coordinate system) or choose a layer or dataset that defines an extent.Default—The extent will be based on the maximum extent of all participating inputs. This is the default.Current Display Extent—The extent is equal to the data frame or visible display. The option is not available when there is no active map.As Specified Below—The extent will be based on the minimum and maximum extent values specified.Browse—The extent will be based on an existing dataset.
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value: 1162675.64021648 461693.540119633 1343961.18873389 614380.928641886 PROJCS["NAD_1983_StatePlane_Maryland_FIPS_1900_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1312333.333],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-77.0],PARAMETER["Standard_Parallel_1",38.3],PARAMETER["Standard_Parallel_2",39.45],PARAMETER["Latitude_Of_Origin",37.6666666666667],UNIT["US survey foot",0.3048006096012192]]
Parameter Type: esriGPParameterTypeOptional
Category: Extent Properties
Parameter: image_size
Data Type: GPLong
Display Name Size of returned image (pixels)
Description: The size of the tiles for raster layers if the Layer Output Scale parameter value is set to a value greater than or equal to 1. This parameter has no effect on layers that are not raster layers.
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value: 1024
Parameter Type: esriGPParameterTypeOptional
Category: Output Image Properties
Parameter: dpi_of_client
Data Type: GPLong
Display Name DPI of output image
Description: The device resolution for KML output when the Return single composite image parameter is checked. This parameter is used with the Size of returned image (pixels) parameter to control output image resolution.This parameter does not provide the ability to resample source rasters. Any input rasters will have a snapshot taken and included in the KML output as a simple .png image.
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value: 96
Parameter Type: esriGPParameterTypeOptional
Category: Output Image Properties
Parameter: ignore_zvalue
Data Type: GPBoolean
Display Name Clamped features to ground
Description: Specifies whether to override the z-values of the input features.Checked—The z-values of the features will be overridden and draped over the terrain. This setting is used for features that do not have z-values. This is the default.Unchecked—The z-values of the features will be respected. The features will be drawn inside KML clients relative to sea level.
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value: true
Parameter Type: esriGPParameterTypeOptional
Category:
Supported Operations:
Submit Job
Child Resources:
Metadata