{ "name": "SpatialJoin", "displayName": "Spatial Join", "description": "Joins attributes from one feature to another based on the spatial relationship. The target features and the joined attributes from the join features are written to the output feature class.", "category": "", "helpUrl": "https://dpwgis.baltimorecity.gov/ags102/rest/directories/arcgisoutput/TestData/SpatialJoin_GPServer/TestData_SpatialJoin/SpatialJoin.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "target_features", "dataType": "GPFeatureRecordSetLayer", "displayName": "Target Features", "description": "Attributes of the target features and the attributes from the joined features will be transferred to the output feature class. However, a subset of attributes can be defined in the field map parameter.", "direction": "esriGPParameterDirectionInput", "filter": { "type": "featureClass", "list": [ "esriGeometryPolygon", "esriGeometryPolyline", "esriGeometryPoint", "esriGeometryMultipoint" ] }, "defaultValue": { "displayFieldName": "", "hasZ": true, "geometryType": "esriGeometryPolyline", "spatialReference": { "wkid": 102100, "latestWkid": 3857 }, "fields": [ { "name": "objectid", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "lf", "type": "esriFieldTypeInteger", "alias": "LF" }, { "name": "pipediameter", "type": "esriFieldTypeString", "alias": "PipeDiameter", "length": 255 }, { "name": "pipematerial", "type": "esriFieldTypeString", "alias": "PipeMaterial", "length": 255 }, { "name": "installationmethod", "type": "esriFieldTypeString", "alias": "InstallationMethod", "length": 255 }, { "name": "usdepth", "type": "esriFieldTypeDouble", "alias": "USDepth" }, { "name": "dsdepth", "type": "esriFieldTypeDouble", "alias": "DSDepth" }, { "name": "wetlandimpact", "type": "esriFieldTypeInteger", "alias": "WetlandImpact" }, { "name": "streambufferimpact", "type": "esriFieldTypeInteger", "alias": "StreamBufferImpact" }, { "name": "slopeimpact", "type": "esriFieldTypeInteger", "alias": "SlopeImpact" }, { "name": "railcrossing", "type": "esriFieldTypeInteger", "alias": "RailCrossing" }, { "name": "watermaincrossing", "type": "esriFieldTypeInteger", "alias": "WaterMainCrossing" }, { "name": "stormcrossing", "type": "esriFieldTypeInteger", "alias": "StormCrossing" }, { "name": "soiltypes", "type": "esriFieldTypeString", "alias": "SoilTypes", "length": 20000 }, { "name": "parkimpact", "type": "esriFieldTypeInteger", "alias": "ParkImpact" }, { "name": "historicproperty", "type": "esriFieldTypeString", "alias": "HistoricProperty", "length": 20000 }, { "name": "shape_Length", "type": "esriFieldTypeDouble", "alias": "shape_Length" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "join_features", "dataType": "GPFeatureRecordSetLayer", "displayName": "Join Features", "description": "The attributes from the join features will be joined to the attributes of the target features. See the explanation of the Join Operation parameter for details on how the aggregation of joined attributes are affected by the type of join operation.", "direction": "esriGPParameterDirectionInput", "filter": { "type": "featureClass", "list": [ "esriGeometryPolygon", "esriGeometryPolyline", "esriGeometryPoint", "esriGeometryMultipoint" ] }, "defaultValue": { "displayFieldName": "", "geometryType": "esriGeometryPolygon", "spatialReference": { "wkid": 102100, "latestWkid": 3857 }, "fields": [ { "name": "objectid", "type": "esriFieldTypeOID", "alias": "FID" }, { "name": "objectid_1", "type": "esriFieldTypeInteger", "alias": "OBJECTID_1" }, { "name": "musym", "type": "esriFieldTypeString", "alias": "MUSYM", "length": 4 }, { "name": "muname", "type": "esriFieldTypeString", "alias": "MUNAME", "length": 91 }, { "name": "corsteel", "type": "esriFieldTypeString", "alias": "CORSTEEL", "length": 8 }, { "name": "dep2wattbl", "type": "esriFieldTypeSmallInteger", "alias": "DEP2WATTBL" }, { "name": "drainclass", "type": "esriFieldTypeString", "alias": "DRAINCLASS", "length": 28 }, { "name": "erohzdrt", "type": "esriFieldTypeString", "alias": "EROHZDRT", "length": 9 }, { "name": "frmlndcls", "type": "esriFieldTypeString", "alias": "FRMLNDCLS", "length": 112 }, { "name": "frostact", "type": "esriFieldTypeString", "alias": "FROSTACT", "length": 8 }, { "name": "hydrcratng", "type": "esriFieldTypeSmallInteger", "alias": "HYDRCRATNG" }, { "name": "hydrolgrp", "type": "esriFieldTypeString", "alias": "HYDROLGRP", "length": 3 }, { "name": "kfactrf", "type": "esriFieldTypeString", "alias": "KFACTRF", "length": 3 }, { "name": "parmatnm", "type": "esriFieldTypeString", "alias": "PARMATNM", "length": 151 }, { "name": "clay", "type": "esriFieldTypeDouble", "alias": "CLAY" }, { "name": "sand", "type": "esriFieldTypeDouble", "alias": "SAND" }, { "name": "silt", "type": "esriFieldTypeDouble", "alias": "SILT" }, { "name": "surftext", "type": "esriFieldTypeString", "alias": "SURFTEXT", "length": 45 }, { "name": "tfactor", "type": "esriFieldTypeSmallInteger", "alias": "TFACTOR" }, { "name": "corconcret", "type": "esriFieldTypeString", "alias": "CORCONCRET", "length": 8 }, { "name": "shapestare", "type": "esriFieldTypeDouble", "alias": "ShapeSTAre" }, { "name": "shapestlen", "type": "esriFieldTypeDouble", "alias": "ShapeSTLen" }, { "name": "shape_Length", "type": "esriFieldTypeDouble", "alias": "shape_Length" }, { "name": "shape_Area", "type": "esriFieldTypeDouble", "alias": "shape_Area" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "out_feature_class", "dataType": "GPFeatureRecordSetLayer", "displayName": "Output Feature Class", "description": "A new feature class containing the attributes of the target and join features. By default, all attributes of target features and the attributes of the joined features will be written to the output. However, the set of attributes to be transferred can be controlled by the field map parameter.", "direction": "esriGPParameterDirectionOutput", "defaultValue": { "displayFieldName": "", "hasZ": true, "geometryType": "esriGeometryPolyline", "spatialReference": { "wkid": 102100, "latestWkid": 3857 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "Join_Count", "type": "esriFieldTypeInteger", "alias": "Join_Count" }, { "name": "TARGET_FID", "type": "esriFieldTypeInteger", "alias": "TARGET_FID" }, { "name": "lf", "type": "esriFieldTypeInteger", "alias": "LF" }, { "name": "pipediameter", "type": "esriFieldTypeString", "alias": "PipeDiameter", "length": 255 }, { "name": "pipematerial", "type": "esriFieldTypeString", "alias": "PipeMaterial", "length": 255 }, { "name": "installationmethod", "type": "esriFieldTypeString", "alias": "InstallationMethod", "length": 255 }, { "name": "usdepth", "type": "esriFieldTypeDouble", "alias": "USDepth" }, { "name": "dsdepth", "type": "esriFieldTypeDouble", "alias": "DSDepth" }, { "name": "wetlandimpact", "type": "esriFieldTypeInteger", "alias": "WetlandImpact" }, { "name": "streambufferimpact", "type": "esriFieldTypeInteger", "alias": "StreamBufferImpact" }, { "name": "slopeimpact", "type": "esriFieldTypeInteger", "alias": "SlopeImpact" }, { "name": "railcrossing", "type": "esriFieldTypeInteger", "alias": "RailCrossing" }, { "name": "watermaincrossing", "type": "esriFieldTypeInteger", "alias": "WaterMainCrossing" }, { "name": "stormcrossing", "type": "esriFieldTypeInteger", "alias": "StormCrossing" }, { "name": "soiltypes", "type": "esriFieldTypeString", "alias": "SoilTypes", "length": 20000 }, { "name": "parkimpact", "type": "esriFieldTypeInteger", "alias": "ParkImpact" }, { "name": "historicproperty", "type": "esriFieldTypeString", "alias": "HistoricProperty", "length": 20000 }, { "name": "objectid_1", "type": "esriFieldTypeInteger", "alias": "OBJECTID_1" }, { "name": "musym", "type": "esriFieldTypeString", "alias": "MUSYM", "length": 4 }, { "name": "muname", "type": "esriFieldTypeString", "alias": "MUNAME", "length": 91 }, { "name": "corsteel", "type": "esriFieldTypeString", "alias": "CORSTEEL", "length": 8 }, { "name": "dep2wattbl", "type": "esriFieldTypeSmallInteger", "alias": "DEP2WATTBL" }, { "name": "drainclass", "type": "esriFieldTypeString", "alias": "DRAINCLASS", "length": 28 }, { "name": "erohzdrt", "type": "esriFieldTypeString", "alias": "EROHZDRT", "length": 9 }, { "name": "frmlndcls", "type": "esriFieldTypeString", "alias": "FRMLNDCLS", "length": 112 }, { "name": "frostact", "type": "esriFieldTypeString", "alias": "FROSTACT", "length": 8 }, { "name": "hydrcratng", "type": "esriFieldTypeSmallInteger", "alias": "HYDRCRATNG" }, { "name": "hydrolgrp", "type": "esriFieldTypeString", "alias": "HYDROLGRP", "length": 3 }, { "name": "kfactrf", "type": "esriFieldTypeString", "alias": "KFACTRF", "length": 3 }, { "name": "parmatnm", "type": "esriFieldTypeString", "alias": "PARMATNM", "length": 151 }, { "name": "clay", "type": "esriFieldTypeDouble", "alias": "CLAY" }, { "name": "sand", "type": "esriFieldTypeDouble", "alias": "SAND" }, { "name": "silt", "type": "esriFieldTypeDouble", "alias": "SILT" }, { "name": "surftext", "type": "esriFieldTypeString", "alias": "SURFTEXT", "length": 45 }, { "name": "tfactor", "type": "esriFieldTypeSmallInteger", "alias": "TFACTOR" }, { "name": "corconcret", "type": "esriFieldTypeString", "alias": "CORCONCRET", "length": 8 }, { "name": "shapestare", "type": "esriFieldTypeDouble", "alias": "ShapeSTAre" }, { "name": "shapestlen", "type": "esriFieldTypeDouble", "alias": "ShapeSTLen" }, { "name": "shape_Length", "type": "esriFieldTypeDouble", "alias": "shape_Length" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "join_operation", "dataType": "GPString", "displayName": "Join Operation", "description": "Specifies how joins between the target features and join features will be handled in the output feature class if multiple join features are found that have the same spatial relationship with a single target feature.Join one to one\u2014If multiple join features are found that have the same spatial relationship with a single target feature, the attributes from the multiple join features will be aggregated using a field map merge rule. For example, if a point target feature is found within two separate polygon join features, the attributes from the two polygons will be aggregated before being transferred to the output point feature class. If one polygon has an attribute value of 3 and the other has a value of 7, and a Sum merge rule is specified, the aggregated value in the output feature class will be 10. This is the default.Join one to many\u2014If multiple join features are found that have the same spatial relationship with a single target feature, the output feature class will contain multiple copies (records) of the target feature. For example, if a single point target feature is found within two separate polygon join features, the output feature class will contain two copies of the target feature: one record with the attributes of one polygon and another record with the attributes of the other polygon.", "direction": "esriGPParameterDirectionInput", "defaultValue": "JOIN_ONE_TO_ONE", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "JOIN_ONE_TO_ONE", "JOIN_ONE_TO_MANY" ] }, { "name": "join_type", "dataType": "GPBoolean", "displayName": "Keep All Target Features", "description": "Specifies whether all target features will be maintained in the output feature class (known as outer join) or only those that have the specified spatial relationship with the join features (inner join).Checked\u2014All target features will be maintained in the output (outer join). This is the default.Unchecked\u2014Only those target features that have the specified spatial relationship with the join features will be maintained in the output feature class (inner join). For example, if a point feature class is specified for the target features, and a polygon feature class is specified for the join features, with a Match Option value of Within, the output feature class will only contain those target features that are within a polygon join feature. Any target features not within a join feature will be excluded from the output.", "direction": "esriGPParameterDirectionInput", "defaultValue": true, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "field_mapping", "dataType": "GPString", "displayName": "Field Map", "description": "The attribute fields that will be in the output with the corresponding field properties and source fields. By default, all fields from the inputs will be included.Fields can be added, deleted, renamed, and reordered, and you can change their properties.Merge rules allow you to specify how values from two or more input fields are merged or combined into a single output value. There are several merge rules you can use to determine how the output field will be populated with values.First\u2014Use the input fields' first value.Last\u2014Use the input fields' last value.Join\u2014Concatenate (join) the input field values.Sum\u2014Calculate the total of the input field values.Mean\u2014Calculate the mean (average) of the input field values.Median\u2014Calculate the median (middle) of the input field values.Mode\u2014Use the value with the highest frequency.Min\u2014Use the minimum value of all the input field values.Max\u2014Use the maximum value of all the input field values.Standard deviation\u2014Use the standard deviation classification method on all the input field values.Count\u2014Find the number of records included in the calculation.", "direction": "esriGPParameterDirectionInput", "defaultValue": "lf \"LF\" true true false 0 Long 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/2,lf,-1,-1;pipediameter \"PipeDiameter\" true true false 255 Text 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/2,pipediameter,0,255;pipematerial \"PipeMaterial\" true true false 255 Text 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/2,pipematerial,0,255;installationmethod \"InstallationMethod\" true true false 255 Text 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/2,installationmethod,0,255;usdepth \"USDepth\" true true false 0 Double 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/2,usdepth,-1,-1;dsdepth \"DSDepth\" true true false 0 Double 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/2,dsdepth,-1,-1;wetlandimpact \"WetlandImpact\" true true false 0 Long 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/2,wetlandimpact,-1,-1;streambufferimpact \"StreamBufferImpact\" true true false 0 Long 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/2,streambufferimpact,-1,-1;slopeimpact \"SlopeImpact\" true true false 0 Long 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/2,slopeimpact,-1,-1;railcrossing \"RailCrossing\" true true false 0 Long 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/2,railcrossing,-1,-1;watermaincrossing \"WaterMainCrossing\" true true false 0 Long 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/2,watermaincrossing,-1,-1;stormcrossing \"StormCrossing\" true true false 0 Long 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/2,stormcrossing,-1,-1;soiltypes \"SoilTypes\" true true false 20000 Text 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/2,soiltypes,0,20000;parkimpact \"ParkImpact\" true true false 0 Long 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/2,parkimpact,-1,-1;historicproperty \"HistoricProperty\" true true false 20000 Text 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/2,historicproperty,0,20000;SHAPE__Length \"SHAPE__Length\" false true true 0 Double 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/2,SHAPE__Length,-1,-1,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/8,SHAPE__Length,-1,-1;objectid_1 \"OBJECTID_1\" true true false 0 Long 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/8,objectid_1,-1,-1;musym \"MUSYM\" true true false 4 Text 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/8,musym,0,4;muname \"MUNAME\" true true false 91 Text 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/8,muname,0,91;corsteel \"CORSTEEL\" true true false 8 Text 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/8,corsteel,0,8;dep2wattbl \"DEP2WATTBL\" true true false 0 Short 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/8,dep2wattbl,-1,-1;drainclass \"DRAINCLASS\" true true false 28 Text 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/8,drainclass,0,28;erohzdrt \"EROHZDRT\" true true false 9 Text 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/8,erohzdrt,0,9;frmlndcls \"FRMLNDCLS\" true true false 112 Text 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/8,frmlndcls,0,112;frostact \"FROSTACT\" true true false 8 Text 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/8,frostact,0,8;hydrcratng \"HYDRCRATNG\" true true false 0 Short 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/8,hydrcratng,-1,-1;hydrolgrp \"HYDROLGRP\" true true false 3 Text 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/8,hydrolgrp,0,3;kfactrf \"KFACTRF\" true true false 3 Text 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/8,kfactrf,0,3;parmatnm \"PARMATNM\" true true false 151 Text 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/8,parmatnm,0,151;clay \"CLAY\" true true false 0 Double 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/8,clay,-1,-1;sand \"SAND\" true true false 0 Double 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/8,sand,-1,-1;silt \"SILT\" true true false 0 Double 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/8,silt,-1,-1;surftext \"SURFTEXT\" true true false 45 Text 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/8,surftext,0,45;tfactor \"TFACTOR\" true true false 0 Short 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/8,tfactor,-1,-1;corconcret \"CORCONCRET\" true true false 8 Text 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/8,corconcret,0,8;shapestare \"ShapeSTAre\" true true false 0 Double 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/8,shapestare,-1,-1;shapestlen \"ShapeSTLen\" true true false 0 Double 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/8,shapestlen,-1,-1;SHAPE__Area \"SHAPE__Area\" false true true 0 Double 0 0,First,#,https://dpw-gis108-dev.baltimore.city/arcgisdev108/rest/services/Hosted/MCD_Conveyance_BaseData_gdb/FeatureServer/8,SHAPE__Area,-1,-1", "parameterType": "esriGPParameterTypeOptional", "category": "Fields" }, { "name": "match_option", "dataType": "GPString", "displayName": "Match Option", "description": "Specifies the criteria that will be used to match rows.Intersect\u2014The features in the join features will be matched if they intersect a target feature. This is the default. Specify a distance in the Search Radius parameter.Intersect 3D\u2014 The features in the join features will be matched if they intersect a target feature in three-dimensional space (x, y, and z). Specify a distance in the Search Radius parameter.Within a distance\u2014The features in the join features will be matched if they are within a specified distance of a target feature. Specify a distance in the Search Radius parameter.Within a distance geodesic\u2014Same as Within a distance except that geodesic distance is used rather than planar distance. Choose this if your data covers a large geographic extent or the coordinate system of the inputs is unsuitable for distance calculations.Within a distance 3D\u2014The features in the join features will be matched if they are within a specified distance of a target feature in three-dimensional space. Specify a distance in the Search Radius parameter.Contains\u2014The features in the join features will be matched if a target feature contains them. The target features must be polygons or polylines. For this option, the target features cannot be points, and the join features can only be polygons when the target features are also polygons.Completely contains\u2014The features in the join features will be matched if a target feature completely contains them. Polygon can completely contain any feature. Point cannot completely contain any feature, not even a point. Polyline can completely contain only polyline and point.Contains Clementini\u2014This spatial relationship yields the same results as Completely contains with the exception that if the join feature is entirely on the boundary of the target feature (no part is properly inside or outside) the feature will not be matched. 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\u2014The features in the join features will be matched if a target feature is within them. It is opposite to Contains. For this option, the target features can only be polygons when the join features are also polygons. Point can be join feature only if point is target.Completely within\u2014The features in the join features will be matched if a target feature is completely within them. This is opposite to Completely contains.Within Clementini\u2014The result will be identical to Within except if the entirety of the feature in the join features is on the boundary of the target feature, the feature will not be matched. 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\u2014The features in the join features will be matched if they are identical to a target feature. Both join and target feature must be of same shape type\u2014point-to-point, line-to-line, and polygon-to-polygon.Boundary touches\u2014The features in the join features will be matched if they have a boundary that touches a target feature. When the target and join features are lines or polygons, the boundary of the join feature can only touch the boundary of the target feature and no part of the join feature can cross the boundary of the target feature.Share a line segment with\u2014The features in the join features will be matched if they share a line segment with a target feature. The join and target features must be lines or polygons.Crossed by the outline of\u2014The features in the join features will be matched if a target feature is crossed by their outline. The join and target features must be lines or polygons. If polygons are used for the join or target features, the polygon's boundary (line) will be used. Lines that cross at a point will be matched, not lines that share a line segment.Have their center in\u2014The features in the join features will be matched if a target feature's center falls within them. 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. Specify a distance in the Search Radius parameter.Closest\u2014The feature in the join features that is closest to a target feature is matched. See the usage tip for more information. Specify a distance in the Search Radius parameter.Closest geodesic\u2014Same as Closest except that geodesic distance is used rather than planar distance. Choose this if your data covers a large geographic extent or the coordinate system of the inputs is unsuitable for distance calculationsLargest overlap\u2014The feature in the join features will be matched with the target feature with the largest overlap.", "direction": "esriGPParameterDirectionInput", "defaultValue": "INTERSECT", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "INTERSECT", "INTERSECT_3D", "LARGEST_OVERLAP", "WITHIN_A_DISTANCE_GEODESIC", "WITHIN_A_DISTANCE", "WITHIN_A_DISTANCE_3D", "CONTAINS", "COMPLETELY_CONTAINS", "CONTAINS_CLEMENTINI", "WITHIN", "COMPLETELY_WITHIN", "WITHIN_CLEMENTINI", "ARE_IDENTICAL_TO", "BOUNDARY_TOUCHES", "SHARE_A_LINE_SEGMENT_WITH", "CROSSED_BY_THE_OUTLINE_OF", "HAVE_THEIR_CENTER_IN", "CLOSEST_GEODESIC", "CLOSEST" ] }, { "name": "search_radius", "dataType": "GPLinearUnit", "displayName": "Search Radius", "description": "Join features within this distance of a target feature will be considered for the spatial join. A search radius is only valid when the spatial relationship is specified (the Match Option parameter is set to Intersect, Within a distance, Within a distance geodesic, Have their center in, Closest, or Closest geodesic). For example, using a search radius of 100 meters with the spatial relationship Within a distance will join feature within 100 meters of a target feature. For the three Within a distance relationships, if no value is specified for Search Radius, a distance of 0 is used.", "direction": "esriGPParameterDirectionInput", "defaultValue": null, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "distance_field_name", "dataType": "GPString", "displayName": "Distance Field Name", "description": "The name of a field, which will be added to the output feature class, that contains the distance between the target feature and the closest join feature. This parameter is only valid when the spatial relationship is specified (Match Option is set to Closest or Closest geodesic). The value of this field is -1 if no feature is matched within a search radius. If no field name is specified, the field will not be added to the output feature class.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" } ] }