More accurate predictions take longer to calculate. This parameter alters the default values of several other
parameters of Interpolate Points in order to optimize speed of calculation, accuracy of results, or a balance of
the two. By default, the tool will optimize for balance.
One of the following: [‘SPEED’, ‘BALANCE’, ‘ACCURACY’]

Interpolation is most accurate for data that follows a normal (bell-shaped) distribution. If your data does not
appear to be normally distributed, you should perform a transformation.

size_of_local_models :Optional int - Size of local models

Interpolate Points works by building local interpolation models that are mixed together to create the final
prediction map. This parameter controls how many points will be contained in each local model. Smaller values
will make results more local and can reveal small-scale effects, but it may introduce some instability in the
calculations. Larger values will be more stable, but some local effects may be missed.
The value can range from 30 to 500, but typical values are between 50 and 200.

number_of_neighbors :Optional int - Number of Neighbors

Predictions are calculated based on neighboring points. This parameter controls how many points will be used in
the calculation. Using a larger number of neighbors will generally produce more accurate results, but the
results take longer to calculate.
This value can range from 1 to 64, but typical values are between 5 and 15.

output_cell_size :Optional LinearUnit - Output cell size

Enter the cell size and unit for the output rasters.
The available units are Feet, Miles, Meters, and Kilometers.

output_prediction_error :Optional bool - Output prediction error

Choose whether you want to create a raster of standard errors for the predicted values.
Standard errors are useful because they provide information about the reliability of the predicted values.
A simple rule of thumb is that the true value will fall within two standard errors of the predicted value 95
percent of the time. For example, suppose a new location gets a predicted value of 50 with a standard error of
5. This means that this tool’s best guess is that the true value at that location is 50, but it reasonably could
be as low as 40 or as high as 60. To calculate this range of reasonable values, multiply the standard error by
2, add this value to the predicted value to get the upper end of the range, and subtract it from the predicted
value to get the lower end of the range.

output_name :Optional. If not provided, an Image Service is created by the method and used as the output raster.

You can pass in an existing Image Service Item from your GIS to use that instead.
Alternatively, you can pass in the name of the output Image Service that should be created by this method to be used as the output for the tool.
A RuntimeError is raised if a service by that name already exists

gis: Optional, the GIS on which this tool runs. If not specified, the active GIS is used.

Compute visibility for an input elevation raster using geodesic method.

input_elevation_surface : Required string

input_observer_features : Required FeatureSet

optimize_for :Optional string

One of the following: [‘SPEED’, ‘ACCURACY’]

maximum_viewing_distance : Optional LinearUnit

maximum_viewing_distance_field : Optional string

minimum_viewing_distance : Optional LinearUnit

minimum_viewing_distance_field : Optional string

viewing_distance_is_3d : Optional bool

observers_elevation : Optional LinearUnit

observers_elevation_field : Optional string

observers_height : Optional LinearUnit

observers_height_field : Optional string

target_height : Optional LinearUnit

target_height_field : Optional string

above_ground_level_output_name : Optional string

output_name :Optional. If not provided, an Image Service is created by the method and used as the output raster.

You can pass in an existing Image Service Item from your GIS to use that instead.
Alternatively, you can pass in the name of the output Image Service that should be created by this method to be used as the output for the tool.
A RuntimeError is raised if a service by that name already exists

gis: Optional, the GIS on which this tool runs. If not specified, the active GIS is used.

The layer that defines the boundaries of the areas, or zones, that will be summarized.
The layer can be a raster or feature data. For rasters, the zones are defined by all locations in the input that
have the same cell value. The areas do not have to be contiguous.

The raster cells in this layer will be summarized by the areas (zones) that they fall within.

zone_field :Required string - field to define the boundaries. This is the attribute of the layer that will be used

to define the boundaries of the areas. For example, suppose the first input layer defines the management unit
boundaries, with attributes that define the region, the district, and the parcel ID of each unit. You also have
a raster layer defining a biodiversity index for each location. With the field you select, you can decide to
calculate the average biodiversity at local, district, or regional levels.

statistic_type :Optional string - statistic to calculate.

You can calculate statistics of any numerical attribute of the points, lines, or areas within the input area
layer. The available statistics types when the selected field is integer are
Mean, Maximum, Median, Minimum, Minority, Range, Standard deviation(STD), Sum, and Variety. If the field is
floating point, the options are Mean, Maximum, Minimum, Range, Standard deviation, and Sum.
One of the following:
[‘Mean’, ‘Majority’, ‘Maximum’, ‘Median’, ‘Minimum’, ‘Minority’, ‘Range’, ‘STD’, ‘SUM’, ‘Variety’]

ignore_missing_values :Optional bool.

If you choose to ignore missing values, only the cells that have a value in the layer to be summarized will be
used in determining the output value for that area. Otherwise, if there are missing values anywhere in an area,
it is deemed that there is insufficient information to perform statistical calculations for all the cells in
that zone, and that area will receive a null (NoData) value in the output.

output_name :Optional. If not provided, an Image Service is created by the method and used as the output raster.

You can pass in an existing Image Service Item from your GIS to use that instead.
Alternatively, you can pass in the name of the output Image Service that should be created by this method to be used as the output for the tool.
A RuntimeError is raised if a service by that name already exists

gis: Optional, the GIS on which this tool runs. If not specified, the active GIS is used.

Density analysis takes known quantities of some phenomenon and creates a density map by spreading
these quantities across the map. You can use this tool, for example, to show concentrations of
lightning strikes or tornadoes, access to health care facilities, and population densities.

This tool creates a density map from point or line features by spreading known quantities of some
phenomenon (represented as attributes of the points or lines) across the map. The result is a
layer of areas classified from least dense to most dense.

For point input, each point should represent the location of some event or incident, and the
result layer represents a count of the incident per unit area. A larger density value in a new
location means that there are more points near that location. In many cases, the result layer can
be interpreted as a risk surface for future events. For example, if the input points represent
locations of lightning strikes, the result layer can be interpreted as a risk surface for future
lightning strikes.

For line input, the line density surface represents the total amount of line that is near each
location. The units of the calculated density values are the length of line-per-unit area.
For example, if the lines represent rivers, the result layer will represent the total length
of rivers that are within the search radius. This result can be used to identify areas that are
hospitable to grazing animals.

Calculating densities of hospitals within a county. The result layer will show areas with
high and low accessibility to hospitals, and this information can be used to decide where
new hospitals should be built.

Identifying areas that are at high risk of forest fires based on historical locations of
forest fires.

Locating communities that are far from major highways in order to plan where new roads should
be constructed.

input_point_or_line_features :Required feature layer - The input point or line layer that will be used to calculate

the density layer.

count_field :Optional string - count field

Provide a field specifying the number of incidents at each location. For example, if you have points that
represent cities, you can use a field representing the population of the city as the count field, and the
resulting population density layer will calculate larger population densities near cities with
larger populations. If the default choice of None is used, then each location will be assumed to represent a
single count.

search_distance :Optional LinearUnit - Search distance

Enter a distance specifying how far to search to find point or line features when calculating density values.
For example, if you provide a search distance of 10,000 meters, the density of any location in the output layer
is calculated based on features that are within 10,000 meters of the location. Any location that does not have
any incidents within 10,000 meters will receive a density value of zero.
If no distance is provided, a default will be calculated that is based on the locations of the input features
and the values in the count field (if a count field is provided).

output_area_units :Optional string - Output area units

Specify the output area unit. Density is count divided by area, and this parameter specifies the unit of the
area in the density calculation. The available areal units are Square Miles and Square Kilometers.

output_cell_size :Optional LinearUnit - Output cell size

Enter the cell size and unit for the output rasters.

output_name :Optional. If not provided, an Image Service is created by the method and used as the output raster.

You can pass in an existing Image Service Item from your GIS to use that instead.
Alternatively, you can pass in the name of the output Image Service that should be created by this method to be used as the output for the tool.
A RuntimeError is raised if a service by that name already exists

gis: Optional, the GIS on which this tool runs. If not specified, the active GIS is used.

output_name :Optional. If not provided, an Image Service is created by the method and used as the output raster.

You can pass in an existing Image Service Item from your GIS to use that instead.
Alternatively, you can pass in the name of the output Image Service that should be created by this method to be used as the output for the tool.
A RuntimeError is raised if a service by that name already exists

gis: Optional, the GIS on which this tool runs. If not specified, the active GIS is used.

output_name :Optional. If not provided, an Image Service is created by the method and used as the output raster.

You can pass in an existing Image Service Item from your GIS to use that instead.
Alternatively, you can pass in the name of the output Image Service that should be created by this method to be used as the output for the tool.
A RuntimeError is raised if a service by that name already exists

gis: Optional, the GIS on which this tool runs. If not specified, the active GIS is used.

Creates a new raster dataset from an existing feature dataset.
Any feature class containing point, line, or polygon features can be converted to a raster dataset.
The cell center is used to decide the value of the output raster pixel. The input field type determines
the type of output raster. If the field is integer, the output raster will be integer;
if it is floating point, the output will be floating point.

input_feature : Required. The input feature layer to convert to a raster dataset.

output_cell_size :Required LinearUnit. The cell size and unit for the output rasters.

The available units are Feet, Miles, Meters, and Kilometers.
eg - {“distance”:60,”units”:meters}

value_field : Optional string. The field that will be used to assign values to the output raster.

output_name :Optional. The name of the layer that will be created in My Content.

If not provided, an Image Service is created by the method and used as the output raster.
You can pass in an existing Image Service Item from your GIS to use that instead.
Alternatively, you can pass in the name of the output Image Service that should be created by this method to be used as the output for the tool.
A RuntimeError is raised if a service by that name already exists

gis: Optional, the GIS on which this tool runs. If not specified, the active GIS is used.

input_raster : Required. The input raster that will be converted to a feature dataset.

field :Optional string - field that specifies which value will be used for the conversion.

It can be any integer or a string field.
A field containing floating-point values can only be used if the output is to a point dataset.
Default is “Value”

output_type :Optional string

One of the following: [‘Point’, ‘Line’, ‘Polygon’]

simplify :Optional bool, This option that specifies how the features should be smoothed. It is

only available for line and polygon output.
True, then the features will be smoothed out. This is the default.
if False, then The features will follow exactly the cell boundaries of the raster dataset.

output_name :Optional. If not provided, an Feature layer is created by the method and used as the output .

You can pass in an existing Feature Service Item from your GIS to use that instead.
Alternatively, you can pass in the name of the output Feature Service that should be created by this method
to be used as the output for the tool.
A RuntimeError is raised if a service by that name already exists

gis: Optional, the GIS on which this tool runs. If not specified, the active GIS is used.

output_name :Optional. If not provided, an Image Service is created by the method and used as the output raster.

You can pass in an existing Image Service Item from your GIS to use that instead.
Alternatively, you can pass in the name of the output Image Service that should be created by this method to be used as the output for the tool.
A RuntimeError is raised if a service by that name already exists

gis: Optional, the GIS on which this tool runs. If not specified, the active GIS is used.

Create a collection of images that will participate in the ortho-mapping project.
Provides provision to use input rasters by reference
and to specify image collection properties through context parameter.

Argument

Description

image_collection

Required, the name of the image collection to create.

The image collection can be an existing image service, in
which the function will create a mosaic dataset and the existing
hosted image service will then point to the new mosaic dataset.

If the image collection does not exist, a new multi-tenant
service will be created.

This parameter can be the Item representing an existing image_collection
or it can be a string representing the name of the image_collection
(either existing or to be created.)

input_rasters

Required, the list of input rasters to be added to
the image collection being created. This parameter can
be any one of the following:
- List of portal Items of the images
- An image service URL
- Shared data path (this path must be accessible by the server)
- Name of a folder on the portal

raster_type_name

Required, the name of the raster type to use for adding data to
the image collection.

raster_type_params

Optional, additional raster_type specific parameters.

The process of add rasters to the image collection can be
controlled by specifying additional raster type arguments.

The raster type parameters argument is a dictionary.

out_sr

Optional, additional parameters of the service.

The following additional parameters can be specified:
- Spatial reference of the image_collection; The well-known ID of
the spatial reference or a spatial reference dictionary object for the
input geometries.

context

Optional, The context parameter is used to provide additional input parameters

use image_collection_properties key to set value for imageCollectionType.
Note: the “imageCollectionType” property is important for image collection that will later on be adjusted by orthomapping system service.
Based on the image collection type, the orthomapping system service will choose different algorithm for adjustment.
Therefore, if the image collection is created by reference, the requester should set this
property based on the type of images in the image collection using the following keywords.
If the imageCollectionType is not set, it defaults to “UAV/UAS”

If byref is set to True, the data will not be uploaded. If it is not set, the default is False

gis

Optional GIS. The GIS on which this tool runs. If not specified, the active GIS is used.

Add a collection of images to an existing image_collection. Provides provision to use input rasters by reference
and to specify image collection properties through context parameter.

It can be used when new data is available to be included in the same
orthomapping project. When new data is added to the image collection
the entire image collection must be reset to the original state.

Argument

Description

input_rasters

Required, the list of input rasters to be added to
the image collection being created. This parameter can
be any one of the following:
- List of portal Items of the images
- An image service URL
- Shared data path (this path must be accessible by the server)
- Name of a folder on the portal

use image_collection_properties key to set value for imageCollectionType.
Note: the “imageCollectionType” property is important for image collection that will later on be adjusted by orthomapping system service.
Based on the image collection type, the orthomapping system service will choose different algorithm for adjustment.
Therefore, if the image collection is created by reference, the requester should set this
property based on the type of images in the image collection using the following keywords.
If the imageCollectionType is not set, it defaults to “UAV/UAS”

If byref is set to True, the data will not be uploaded. If it is not set, the default is False

gis

Optional GIS. The GIS on which this tool runs. If not specified, the active GIS is used.

delete_image allows users to remove existing images from the image collection (mosaic dataset).
The function will only delete the raster item in the mosaic dataset and will not remove the
source image.

Argument

Description

image_collection

Required, the input image collection from which to delete images
This can be the ‘itemID’ of an exisiting portal item or a url
to an Image Service or a uri

where

Required string, a SQL ‘where’ clause for selecting the images
to be deleted from the image collection

gis

Optional GIS. The GIS on which this tool runs. If not specified, the active GIS is used.

Delete the image collection. This service tool will delete the image collection
image service, that is, the portal-hosted image layer item. It will not delete
the source images that the image collection references.

Argument

Description

image_collection

Required, the input image collection to delete.

The image_collection can be a portal Item or an image service URL or a URI.

The image_collection must exist.

gis

Optional GIS. The GIS on which this tool runs. If not specified, the active GIS is used.