Display Name: Select Layer By Location
Description: Geoprocessing tool that selects features in a layer based on a spatial relationship to features in another layer.
Category:
Help URL: https://gis.fmiscwrdbihar.gov.in/arcgis/rest/directories/arcgisoutput/SelectLayerByLocatioln_GPServer/SelectLayerByLocatioln/SelectLayerByLocation.htm
Execution Type: esriExecutionTypeAsynchronous
Parameters:
Parameter: in_layer
Data Type: GPString
Display Name Input Feature Layer
Description: The layer containing the features that will be evaluated against the Selecting Features. The selection will be applied to this layer. The input cannot be the path to a feature class on disk.
Direction: esriGPParameterDirectionInput
Default Value: Set_poly_UTM
Parameter Type: esriGPParameterTypeRequired
Category:
Choice List: [ breach_point, Ground Control Points\PBM (50), Ground Control Points\30KM WRD PBM (18), ASSETS V02 (2018-19)\CROSS SECTION KOSI (2018-19), ASSETS V01 (2017-18)\ANTI FLOOD SLUICE V01, ASSETS V01 (2017-18)\BRIDGE V01, ASSETS V01 (2017-18)\CRACKING V01, ASSETS V01 (2017-18)\CROSS_REGULATOR_V01, ASSETS V01 (2017-18)\CROSS DRAINAGE/CULVERT V01, ASSETS V01 (2017-18)\CROSS SECTION KOSI (2017-18), ASSETS V01 (2017-18)\DEPRESSION V01, ASSETS V01 (2017-18)\EMBANKMENT CONDITION V01, ASSETS V01 (2017-18)\ENCROACHMENT V01, ASSETS V01 (2017-18)\EROSION / BANK CAVING / RAINCUTS V01, ASSETS V01 (2017-18)\ESCAPE V01, ASSETS V01 (2017-18)\FLOOD PROTECTION WORK AS LINE V01, ASSETS V01 (2017-18)\HEAD REGULATOR V01, ASSETS V01 (2017-18)\HYDROLOGICAL SITES V01, ASSETS V01 (2017-18)\RAT HOLE V01, ASSETS V01 (2017-18)\SLUICE V01, ASSETS V01 (2017-18)\SEEPAGE V01, ASSETS V01 (2017-18)\SILT EJECTOR V01, ASSETS V01 (2017-18)\SILT EXCLUDER V01, ASSETS V01 (2017-18)\SIPHON V01, ASSETS V01 (2017-18)\SPURS\SPUR V01 PART 01, ASSETS V01 (2017-18)\SPURS\SPUR V01 PART 02, ASSETS V01 (2017-18)\SPURS\SPUR AS LINE V01, ASSETS V01 (2017-18)\EMBANKMENT V01, RD\RD, RD\RD PWD HANDOVER, Set_poly_UTM, RIVER CHANNEL 2017 ]
Parameter: overlap_type
Data Type: GPString
Display Name Relationship
Description: The spatial relationship to be evaluated.INTERSECT—The features in the input layer will be selected if they intersect a selecting feature. This is the default. INTERSECT_3D —The features in the input layer will be selected if they intersect a selecting feature in three-dimensional space (x, y, and z).WITHIN_A_DISTANCE—The features in the input layer will be selected if they are within a specified distance of a selecting feature. Specify a distance in the Search Distance parameter. WITHIN_A_DISTANCE_3D—The features in the input layer will be selected if they are within a specified distance of a selecting feature in three-dimensional space. Specify a distance in the Search Distance parameter. WITHIN_A_DISTANCE_GEODESIC—The features in the input layer will be selected if they are within a specified distance of a selecting feature. Distance between features will be calculated using a geodesic method which takes into account the curvature of the earth and correctly deals with data near and across the dateline and poles.CONTAINS—The features in the input layer will be selected if they contain a selecting feature.COMPLETELY_CONTAINS—The features in the input layer will be selected if they completely contain a selecting feature.CONTAINS_CLEMENTINI—This spatial relationship yields the same results as COMPLETELY_CONTAINS with the following exception: if the selecting feature is entirely on the boundary of the input feature (no part is properly inside or outside), the feature will not be selected. Clementini defines the boundary polygon as the line separating inside and outside, the boundary of a line is defined as its end points, and the boundary of a point is always empty.WITHIN—The features in the input layer will be selected if they are within a selecting feature.COMPLETELY_WITHIN—The features in the input layer will be selected if they are completely within or contained by a selecting feature.WITHIN_CLEMENTINI—The result will be identical to WITHIN with the exception that if the entirety of the feature in the input layer is on the boundary of the feature in the selecting layer, the feature will not be selected. Clementini defines the boundary polygon as the line separating inside and outside, the boundary of a line is defined as its end points, and the boundary of a point is always empty.ARE_IDENTICAL_TO—The features in the input layer will be selected if they are identical (in geometry) to a selecting feature. BOUNDARY_TOUCHES—The features in the input layer will be selected if they have a boundary that touches a selecting feature. When the inputs features are lines or polygons, the boundary of the input feature can only touch the boundary of the selecting feature, and no part of the input feature can cross the boundary of the selecting feature.SHARE_A_LINE_SEGMENT_WITH—The features in the input layer will be selected if they share a line segment with a selecting feature. The input and selecting features must be line or polygon. CROSSED_BY_THE_OUTLINE_OF—The features in the input layer will be selected if they are crossed by the outline of a selecting feature. The input and selecting features must be lines or polygons. If polygons are used for the input or selecting layer, the polygon's boundary (line) will be used. Lines that cross at a point will be selected, not lines that share a line segment. HAVE_THEIR_CENTER_IN—The features in the input layer will be selected if their center falls within a selecting feature. The center of the feature is calculated as follows: for polygon and multipoint, the geometry's centroid is used, and for line input, the geometry's midpoint is used.
Direction: esriGPParameterDirectionInput
Default Value: WITHIN_A_DISTANCE
Parameter Type: esriGPParameterTypeOptional
Category:
Choice List: [ WITHIN_A_DISTANCE ]
Parameter: select_features
Data Type: GPFeatureRecordSetLayer
Display Name Selecting Features
Description: The features in the input feature layer will be selected based on their relationship to the features from this layer or feature class.
Direction: esriGPParameterDirectionInput
Default Value:
Geometry Type: esriGeometryPoint
HasZ: false
HasM: false
Spatial Reference: 32645
(32645)
Fields:
-
FID
(
type: esriFieldTypeOID
, alias: FID
)
-
Id
(
type: esriFieldTypeInteger
, alias: Id
)
Features: None.
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: search_distance
Data Type: GPLinearUnit
Display Name Search Distance
Description: This parameter is only valid if the Relationship parameter is set to one of the following: WITHIN_A_DISTANCE_GEODESIC, WITHIN_A_DISTANCE, WITHIN_A_DISTANCE_3D, INTERSECT, INTERSECT_3D, HAVE_THEIR_CENTER_IN, CONTAINS, or WITHIN. If the WITHIN_A_DISTANCE_GEODESIC option is used, a linear unit such as Kilometers or Miles should be used.
Direction: esriGPParameterDirectionInput
Default Value: 2.0 (esriKilometers)
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: selection_type
Data Type: GPString
Display Name Selection type
Description: Determines how the selection will be applied to the input and how to combine with an existing selection. Note that there is no option here to clear an existing selection. To clear a selection, use the CLEAR_SELECTION option on the Select Layer By Attribute tool.NEW_SELECTION—The resulting selection replaces any existing selection. This is the default. ADD_TO_SELECTION—The resulting selection is added to an existing selection, if one exists. If no selection exists, this is the same as the NEW_SELECTION option. REMOVE_FROM_SELECTION—The resulting selection is removed from an existing selection. If no selection exists, the operation will have no effect. SUBSET_SELECTION—The resulting selection is combined with the existing selection. Only records that are common to both remain selected. SWITCH_SELECTION—Switches the selection. All records that were selected are removed from the selection, and all records that were not selected are added to the selection. The Selecting Features and Relationship parameters are ignored when this option is selected.
Direction: esriGPParameterDirectionInput
Default Value: NEW_SELECTION
Parameter Type: esriGPParameterTypeOptional
Category:
Choice List: [ NEW_SELECTION ]
Parameter: out_layer_or_view
Data Type: GPFeatureRecordSetLayer
Display Name Output Layer Name
Description:
Direction: esriGPParameterDirectionOutput
Default Value:
Geometry Type: esriGeometryPolygon
HasZ: false
HasM: false
Spatial Reference: 32645
(32645)
Fields:
-
FID
(
type: esriFieldTypeOID
, alias: FID
)
-
OBJECTID
(
type: esriFieldTypeInteger
, alias: OBJECTID
)
-
SCODE
(
type: esriFieldTypeString
, alias: SCODE
, length: 5
)
-
LOCATION
(
type: esriFieldTypeString
, alias: LOCATION
, length: 40
)
-
SYMBOL
(
type: esriFieldTypeSmallInteger
, alias: SYMBOL
)
-
Shape_Leng
(
type: esriFieldTypeDouble
, alias: Shape_Leng
)
-
Shape_Length
(
type: esriFieldTypeDouble
, alias: Shape_Length
)
-
Shape_Area
(
type: esriFieldTypeDouble
, alias: Shape_Area
)
Features: None.
Parameter Type: esriGPParameterTypeDerived
Category:
Parameter: invert_spatial_relationship
Data Type: GPBoolean
Display Name Invert Spatial Relationship
Description: After the spatial relationship is evaluated, this option determines if the result should be used as is, or inverted. For example, this option can be used to quickly get a list of features that do not intersect or are not within a distance of features in another dataset. Unchecked—The result of the query will not be inverted. This is the default. Checked—The result of the query will be inverted. The inversion occurs before the selection is combined with existing selections.
Direction: esriGPParameterDirectionInput
Default Value: false
Parameter Type: esriGPParameterTypeOptional
Category:
Supported Operations:
Submit Job