{ "name": "LayerToKML", "displayName": "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": "", "helpUrl": "https://montgomeryplans.org/server/rest/directories/arcgisoutput/Tools/LayerToKML_GPServer/Tools_LayerToKML/LayerToKML.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "layer", "dataType": "GPString", "displayName": "Layer", "description": "The feature or raster layer or layer file (.lyrx) to be converted to KML.", "direction": "esriGPParameterDirectionInput", "defaultValue": "INTERSECTIONS.PED_PRIORITY", "parameterType": "esriGPParameterTypeRequired", "category": "", "choiceList": [ "INTERSECTIONS.PED_PRIORITY" ] }, { "name": "out_kmz_file", "dataType": "GPDataFile", "displayName": "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", "defaultValue": null, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "layer_output_scale", "dataType": "GPDouble", "displayName": "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", "defaultValue": 0, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "is_composite", "dataType": "GPBoolean", "displayName": "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\u2014The 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\u2014If your layer has vector features, they will be preserved as KML vectors.", "direction": "esriGPParameterDirectionInput", "defaultValue": false, "parameterType": "esriGPParameterTypeOptional", "category": "Data Content Properties" }, { "name": "boundary_box_extent", "dataType": "GPString", "displayName": "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\u2014The extent will be based on the maximum extent of all participating inputs. This is the default.Current Display Extent\u2014The extent is equal to the data frame or visible display. The option is not available when there is no active map.As Specified Below\u2014The extent will be based on the minimum and maximum extent values specified.Browse\u2014The extent will be based on an existing dataset.", "direction": "esriGPParameterDirectionInput", "defaultValue": "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]]", "parameterType": "esriGPParameterTypeOptional", "category": "Extent Properties" }, { "name": "image_size", "dataType": "GPLong", "displayName": "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", "defaultValue": 1024, "parameterType": "esriGPParameterTypeOptional", "category": "Output Image Properties" }, { "name": "dpi_of_client", "dataType": "GPLong", "displayName": "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", "defaultValue": 96, "parameterType": "esriGPParameterTypeOptional", "category": "Output Image Properties" }, { "name": "ignore_zvalue", "dataType": "GPBoolean", "displayName": "Clamped features to ground", "description": "Specifies whether to override the z-values of the input features.Checked\u2014The 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\u2014The z-values of the features will be respected. The features will be drawn inside KML clients relative to sea level.", "direction": "esriGPParameterDirectionInput", "defaultValue": true, "parameterType": "esriGPParameterTypeOptional", "category": "" } ] }