{ "currentVersion": 11.3, "cimVersion": "3.3.0", "id": 53, "name": "ProtectedLands_Lines", "type": "Feature Layer", "description": "Lines", "geometryType": "esriGeometryPolyline", "sourceSpatialReference": { "wkt2": "PROJCRS[\"Illinois State Transverse_Mercator\",BASEGEOGCRS[\"GCS_North_American_1983\",DATUM[\"D_North_American_1983\",ELLIPSOID[\"GRS_1980\",6378137.0,298.257222101,LENGTHUNIT[\"Meter\",1.0]]],PRIMEM[\"Greenwich\",0.0,ANGLEUNIT[\"Degree\",0.0174532925199433]],CS[ellipsoidal,2],ANGLEUNIT[\"Degree\",0.0174532925199433]],CONVERSION[\"Transverse_Mercator\",METHOD[\"Transverse_Mercator\"],PARAMETER[\"False_Easting\",3280833.3333333,LENGTHUNIT[\"Foot_US\",0.3048006096012192]],PARAMETER[\"False_Northing\",3937000.0,LENGTHUNIT[\"Foot_US\",0.3048006096012192]],PARAMETER[\"Central_Meridian\",-89.5,ANGLEUNIT[\"Degree\",0.0174532925199433]],PARAMETER[\"Scale_Factor\",0.9998529411767059,SCALEUNIT[\"Unity\",1.0]],PARAMETER[\"Latitude_Of_Origin\",36.66666666666666,ANGLEUNIT[\"Degree\",0.0174532925199433]]],CS[Cartesian,2],AXIS[\"Easting (X)\",east,ORDER[1]],AXIS[\"Northing (Y)\",north,ORDER[2]],LENGTHUNIT[\"Foot_US\",0.3048006096012192]]", "wkt": "PROJCS[\"Illinois State Transverse_Mercator\",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[\"Transverse_Mercator\"],PARAMETER[\"False_Easting\",3280833.3333333],PARAMETER[\"False_Northing\",3937000.0],PARAMETER[\"Central_Meridian\",-89.5],PARAMETER[\"Scale_Factor\",0.9998529411767059],PARAMETER[\"Latitude_Of_Origin\",36.66666666666666],UNIT[\"Foot_US\",0.3048006096012192]]", "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -15165000, "falseY": -42190000, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": 0, "mUnits": 1 }, "copyrightText": "", "parentLayer": { "id": 52, "name": "ProtectedLands" }, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "return \"COGO\"", "valueExpressionTitle": "Custom", "uniqueValueGroups": [ { "heading": "", "classes": [ { "label": "COGO", "description": "COGO", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 170, 0, 255 ], "width": 2 }, "values": [ [ "COGO" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 170, 0, 255 ], "width": 2 }, "value": "COGO", "label": "COGO" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 212, 245, 252, 255 ], "toColor": [ 212, 245, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 241, 179, 252, 255 ], "toColor": [ 241, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 249, 252, 184, 255 ], "toColor": [ 249, 252, 184, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 187, 188, 255 ], "toColor": [ 252, 187, 188, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 194, 252, 255 ], "toColor": [ 179, 194, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 252, 211, 255 ], "toColor": [ 182, 252, 211, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 210, 242, 255 ], "toColor": [ 252, 210, 242, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 216, 182, 255 ], "toColor": [ 252, 216, 182, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 205, 252, 182, 255 ], "toColor": [ 205, 252, 182, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 212, 215, 252, 255 ], "toColor": [ 212, 215, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 245, 252, 212, 255 ], "toColor": [ 245, 252, 212, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 179, 216, 255 ], "toColor": [ 252, 179, 216, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 221, 194, 252, 255 ], "toColor": [ 221, 194, 252, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": [ { "labelExpressionInfo": {"expression": "// Change the settings portion to configure direction format, rounding and abbreviations\n// This is an Arcade expression\n\n// SETTINGS\nvar QuadrantBearingFormat = true; //set 'true' for quadrant bearing, 'false' for north azimuth\nvar ShowDistance = true; //set as 'true' to show distance\nvar ShowDirection = false; //set as 'true' to show direction\nvar ShowRadius = true; //set as 'true' to show radius\nvar ShowCurveParemater = true; //set as 'true' to show a curve parameter\nvar CurveParameter = \"ArcLength\"; //set as 'ArcLength' or 'Chord' or 'Angle' for central angle. Case sensitive!\nvar ErrorString = \"COGO ERROR\"; //set to display invalid COGO combinations\nvar RadiusAbbr = 'R='; //radius abbreviation\nvar Radius2Abbr = 'R2='; //radius2 abbreviation for spiral curves\nvar ArclengthAbrr = 'L='; //arclength abbreviation\nvar ChordAbbr = 'C='; //chord abbreviation\nvar AngleAbbr = 'A='; //central Angle abbreviation\nvar DistUnitRounding = 2; //number of decimal places for distance units: distance, radius, arclength & chord\nvar NumberFormat = \"#,###.00\" //number format. In this example: thousands separator with padding of 2 zeros \n\n\n// VARIABLES\nvar direction=$feature.Direction;\nvar distance=$feature.Distance;\nvar radius=$feature.Radius;\nvar arclength=$feature.Arclength;\nvar radius2=$feature.Radius2\nvar prefix; // quadrant bearing prefix\nvar postfix; // quadrant bearing postfix\nvar bearing; \nvar quadbearing;\nvar binaryDictionary; //binary dictionary to check COGO combinations\nvar checksum=0; //initialize checksum\nvar validValuesArray; //array of valid values for COGO combinations\nvar partialValuesArray; //array of partial values for COGO\nvar degrees;\nvar minutes;\nvar seconds;\nvar DMS;\nvar directionStr = \"\"; //direction string using for label\nvar distanceStr = \"\"; //distance string using for label\nvar radiusStr = \"\"; //radius string using for label\nvar radius2Str = \"\"; //radius2 string using for labeling spiral curves\nvar curveStr = \"\"; //curve parameter string using for label\nvar angleRad; //curve angle in radians\nvar COGOValidity; //COGO combinations validity. can be valid, partial or invalid.\n\n\nfunction NorthAzimuth2Quadbearing(azimuth){\n if (azimuth<90 && azimuth>=0){\n bearing=azimuth;\n prefix = \"N\";\n postfix= \"E\";}\n else if (azimuth<180 && azimuth>=90){\n bearing=180-azimuth;\n prefix = \"S\";\n postfix= \"E\";}\n else if (azimuth<270 && azimuth>=180){\n bearing=abs(180-azimuth);\n prefix = \"S\";\n postfix= \"W\";}\n else if (azimuth<360 && azimuth>=270){\n bearing=360-azimuth;\n prefix = \"N\";\n postfix= \"W\";}\n \n degrees=floor(bearing);\n minutes=floor((bearing-degrees)*60)\n seconds=((bearing-degrees-minutes/60)*3600)\n if (seconds>=59.5){\n seconds=0;\n minutes+=1;\n if (minutes==60){\n minutes=0;\n degrees+=1;}}\n quadbearing=prefix+degrees+\"°\"+text(minutes,\"00\")+\"'\"+text(seconds,\"00\")+\"''\"+postfix;\n return quadbearing;\n}\n\nfunction DMS(bearing){\n degrees=floor(bearing);\n minutes=floor((bearing-degrees)*60)\n seconds=((bearing-degrees-minutes/60)*3600)\n if (seconds>=59.5){\n seconds=0;\n minutes+=1;\n if (minutes==60){\n minutes=0;\n degrees+=1;}}\n DMS=degrees+\"°\"+text(minutes,\"00\")+\"'\"+text(seconds,\"00\")+\"''\";\n return DMS;\n \n}\nfunction IsValidCOGO(direction, distance, radius, arclength, radius2) {\n binaryDictionary= Dictionary('dir', 1, 'dist',2, 'rad',4, 'arc',8, 'rad2',16)\n if (!IsEmpty(direction)) {checksum+=binaryDictionary.dir}\n if (!IsEmpty(distance)) {checksum+=binaryDictionary.dist}\n if (!IsEmpty(radius)) {checksum+=binaryDictionary.rad}\n if (!IsEmpty(arclength)) {checksum+=binaryDictionary.arc}\n if (!IsEmpty(radius2)) {checksum+=binaryDictionary.rad2}\n \n validValuesArray=[0,3,8,13,29]; //array of valid combinations: '0' for nothing, ... '13' for direction & radius & arclength ...\n partialValuesArray=[1,2,4,5,9,12,16,20,21,25,28]; //array of partial combinations: '1' for only direction, '2' for only distance, '4' for only radius...\n \n if (IndexOf(validValuesArray,checksum)>-1) { // a negative value is returned if checksum value is not in the a valid combination array\n return \"valid\";\n }\n if (IndexOf(partialValuesArray,checksum)>-1){\n return \"partial\"; \n }\n return \"invalid\";\n}\n\nCOGOValidity = IsValidCOGO(direction, distance, radius, arclength, radius2);\nif ( COGOValidity == \"invalid\") { //if invalid COGO return error string\n return ErrorString; \n}\n\n\n// Direction string\nif (ShowDirection) {\n if (IsEmpty(direction)==false) { \n if (QuadrantBearingFormat==true) { //using quadrant bearing format\n directionStr = NorthAzimuth2Quadbearing(direction);\n }\n else { //using north azimuth format\n directionStr = DMS(direction);\n }\n }\n}\n\n// Distance string\nif (ShowDistance) {\n if (IsEmpty(distance)==false) {\n distanceStr = text(round(distance,DistUnitRounding), NumberFormat);\n }\n}\n\n//Radius String\nif (ShowRadius) {\n if (!IsEmpty(radius)) { //it can be a curve or a spiral\n if (IsEmpty(radius2)) { //if radius2 is empty this is a curve\n radiusStr = RadiusAbbr + \" \" + text(round(radius, DistUnitRounding), NumberFormat);\n }\n else { // it is a spiral\n radiusStr = RadiusAbbr + \" \" + text(round(radius, DistUnitRounding),NumberFormat);\n radius2Str = Radius2Abbr + \" \" + text(round(radius2, DistUnitRounding),NumberFormat);\n if (radius == 0) { //substitute to infinity sign\n radiusStr = RadiusAbbr + \" ∞ \";\n }\n if (radius2 == 0) { //substitute to infinity sign\n radius2Str = Radius2Abbr + \" ∞ \";\n }\n } \n }\n}\n\n// Curve Parameter\nif (ShowCurveParemater) {\n if (!IsEmpty(arclength)) {\n if (CurveParameter == 'ArcLength') {\n curveStr = ArclengthAbrr + text(round(arclength, DistUnitRounding), NumberFormat); //return Arc length \n }\n angleRad = arclength/(abs(radius)) //calculate angle in radians\n if (CurveParameter == 'Angle') {\n curveStr = AngleAbbr + DMS(angleRad * 180 / pi); // convert radian to degrees and show as DMS\n }\n if (CurveParameter == 'Chord') {\n curveStr = ChordAbbr + text(round((2 * abs(radius) * Sin(angleRad/2)),DistUnitRounding), NumberFormat); //calculate chord length\n } \n }\n}\n \n// Assemble label string\nif (IsEmpty(radius)) { //if its empty it is not a curve\n return directionStr + \" \" + distanceStr\n}\nelse { //it's a curve\n return radiusStr + \" \" + radius2Str + \" \" + curveStr;\n}"}, "lineOrientation": "direction", "labelPlacement": "esriServerLinePlacementBelowStart", "textLayout": "followFeature", "deconflictionStrategy": "static", "lineConnection": "none", "multiPart": "labelPerFeature", "useClippedGeometry": true, "offsetDistance": 3, "stackLabel": false, "removeDuplicates": "none", "useCodedValues": false, "maxScale": 0, "minScale": 2000, "name": "Direction and Distance", "priority": -1, "symbol": { "type": "esriTS", "color": [ 0, 0, 0, 255 ], "backgroundColor": null, "borderLineColor": null, "borderLineSize": null, "verticalAlignment": "bottom", "horizontalAlignment": "left", "rightToLeft": false, "angle": 0, "xoffset": 0, "yoffset": 0, "kerning": true, "haloColor": [ 255, 255, 255, 255 ], "haloSize": 2, "font": { "family": "Tahoma", "size": 10, "style": "normal", "weight": "normal", "decoration": "none" } } } ] }, "defaultVisibility": true, "extent": { "xmin": 2744940.2650215775, "ymin": 4100629.4874534905, "xmax": 3845586.7313751616, "ymax": 6063303.014854491, "spatialReference": { "wkt2": "PROJCRS[\"Illinois State Transverse_Mercator\",BASEGEOGCRS[\"GCS_North_American_1983\",DATUM[\"D_North_American_1983\",ELLIPSOID[\"GRS_1980\",6378137.0,298.257222101,LENGTHUNIT[\"Meter\",1.0]]],PRIMEM[\"Greenwich\",0.0,ANGLEUNIT[\"Degree\",0.0174532925199433]],CS[ellipsoidal,2],ANGLEUNIT[\"Degree\",0.0174532925199433]],CONVERSION[\"Transverse_Mercator\",METHOD[\"Transverse_Mercator\"],PARAMETER[\"False_Easting\",3280833.3333333,LENGTHUNIT[\"Foot_US\",0.3048006096012192]],PARAMETER[\"False_Northing\",3937000.0,LENGTHUNIT[\"Foot_US\",0.3048006096012192]],PARAMETER[\"Central_Meridian\",-89.5,ANGLEUNIT[\"Degree\",0.0174532925199433]],PARAMETER[\"Scale_Factor\",0.9998529411767059,SCALEUNIT[\"Unity\",1.0]],PARAMETER[\"Latitude_Of_Origin\",36.66666666666666,ANGLEUNIT[\"Degree\",0.0174532925199433]]],CS[Cartesian,2],AXIS[\"Easting (X)\",east,ORDER[1]],AXIS[\"Northing (Y)\",north,ORDER[2]],LENGTHUNIT[\"Foot_US\",0.3048006096012192]]", "wkt": "PROJCS[\"Illinois State Transverse_Mercator\",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[\"Transverse_Mercator\"],PARAMETER[\"False_Easting\",3280833.3333333],PARAMETER[\"False_Northing\",3937000.0],PARAMETER[\"Central_Meridian\",-89.5],PARAMETER[\"Scale_Factor\",0.9998529411767059],PARAMETER[\"Latitude_Of_Origin\",36.66666666666666],UNIT[\"Foot_US\",0.3048006096012192]]", "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -15165000, "falseY": -42190000, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayFieldExpressionInfo": { "expression": "// Change the settings portion to configure direction format, rounding and abbreviations\n// This is an Arcade expression\n\n// SETTINGS\nvar QuadrantBearingFormat = true; //set 'true' for quadrant bearing, 'false' for north azimuth\nvar ShowDistance = true; //set as 'true' to show distance\nvar ShowDirection = true; //set as 'true' to show direction\nvar ShowRadius = true; //set as 'true' to show radius\nvar ShowCurveParemater = true; //set as 'true' to show a curve parameter\nvar CurveParameter = \"ArcLength\"; //set as 'ArcLength' or 'Chord' or 'Angle' for central angle. Case sensitive!\nvar ErrorString = \"COGO ERROR\"; //set to display invalid COGO combinations\nvar RadiusAbbr = 'R='; //radius abbreviation\nvar Radius2Abbr = 'R2='; //radius2 abbreviation for spiral curves\nvar ArclengthAbrr = 'L='; //arclength abbreviation\nvar ChordAbbr = 'C='; //chord abbreviation\nvar AngleAbbr = 'A='; //central Angle abbreviation\nvar DistUnitRounding = 2; //number of decimal places for distance units: distance, radius, arclength & chord\nvar NumberFormat = \"#,###.00\" //number format. In this example: thousands separator with padding of 2 zeros \n\n\n// VARIABLES\nvar direction=$feature.Direction;\nvar distance=$feature.Distance;\nvar radius=$feature.Radius;\nvar arclength=$feature.Arclength;\nvar radius2=$feature.Radius2\nvar prefix; // quadrant bearing prefix\nvar postfix; // quadrant bearing postfix\nvar bearing; \nvar quadbearing;\nvar binaryDictionary; //binary dictionary to check COGO combinations\nvar checksum=0; //initialize checksum\nvar validValuesArray; //array of valid values for COGO combinations\nvar partialValuesArray; //array of partial values for COGO\nvar degrees;\nvar minutes;\nvar seconds;\nvar DMS;\nvar directionStr = \"\"; //direction string using for label\nvar distanceStr = \"\"; //distance string using for label\nvar radiusStr = \"\"; //radius string using for label\nvar radius2Str = \"\"; //radius2 string using for labeling spiral curves\nvar curveStr = \"\"; //curve parameter string using for label\nvar angleRad; //curve angle in radians\nvar COGOValidity; //COGO combinations validity. can be valid, partial or invalid.\n\n\nfunction NorthAzimuth2Quadbearing(azimuth){\n if (azimuth<90 && azimuth>=0){\n bearing=azimuth;\n prefix = \"N\";\n postfix= \"E\";}\n else if (azimuth<180 && azimuth>=90){\n bearing=180-azimuth;\n prefix = \"S\";\n postfix= \"E\";}\n else if (azimuth<270 && azimuth>=180){\n bearing=abs(180-azimuth);\n prefix = \"S\";\n postfix= \"W\";}\n else if (azimuth<360 && azimuth>=270){\n bearing=360-azimuth;\n prefix = \"N\";\n postfix= \"W\";}\n \n degrees=floor(bearing);\n minutes=floor((bearing-degrees)*60)\n seconds=((bearing-degrees-minutes/60)*3600)\n if (seconds>=59.5){\n seconds=0;\n minutes+=1;\n if (minutes==60){\n minutes=0;\n degrees+=1;}}\n quadbearing=prefix+degrees+\"°\"+text(minutes,\"00\")+\"'\"+text(seconds,\"00\")+\"''\"+postfix;\n return quadbearing;\n}\n\nfunction DMS(bearing){\n degrees=floor(bearing);\n minutes=floor((bearing-degrees)*60)\n seconds=((bearing-degrees-minutes/60)*3600)\n if (seconds>=59.5){\n seconds=0;\n minutes+=1;\n if (minutes==60){\n minutes=0;\n degrees+=1;}}\n DMS=degrees+\"°\"+text(minutes,\"00\")+\"'\"+text(seconds,\"00\")+\"''\";\n return DMS;\n \n}\nfunction IsValidCOGO(direction, distance, radius, arclength, radius2) {\n binaryDictionary= Dictionary('dir', 1, 'dist',2, 'rad',4, 'arc',8, 'rad2',16)\n if (!IsEmpty(direction)) {checksum+=binaryDictionary.dir}\n if (!IsEmpty(distance)) {checksum+=binaryDictionary.dist}\n if (!IsEmpty(radius)) {checksum+=binaryDictionary.rad}\n if (!IsEmpty(arclength)) {checksum+=binaryDictionary.arc}\n if (!IsEmpty(radius2)) {checksum+=binaryDictionary.rad2}\n \n validValuesArray=[0,3,8,13,29]; //array of valid combinations: '0' for nothing, ... '13' for direction & radius & arclength ...\n partialValuesArray=[1,2,4,5,9,12,16,20,21,25,28]; //array of partial combinations: '1' for only direction, '2' for only distance, '4' for only radius...\n \n if (IndexOf(validValuesArray,checksum)>-1) { // a negative value is returned if checksum value is not in the a valid combination array\n return \"valid\";\n }\n if (IndexOf(partialValuesArray,checksum)>-1){\n return \"partial\"; \n }\n return \"invalid\";\n}\n\nCOGOValidity = IsValidCOGO(direction, distance, radius, arclength, radius2);\nif ( COGOValidity == \"invalid\") { //if invalid COGO return error string\n return ErrorString; \n}\n\n\n// Direction string\nif (ShowDirection) {\n if (IsEmpty(direction)==false) { \n if (QuadrantBearingFormat==true) { //using quadrant bearing format\n directionStr = NorthAzimuth2Quadbearing(direction);\n }\n else { //using north azimuth format\n directionStr = DMS(direction);\n }\n }\n}\n\n// Distance string\nif (ShowDistance) {\n if (IsEmpty(distance)==false) {\n distanceStr = text(round(distance,DistUnitRounding), NumberFormat);\n }\n}\n\n//Radius String\nif (ShowRadius) {\n if (!IsEmpty(radius)) { //it can be a curve or a spiral\n if (IsEmpty(radius2)) { //if radius2 is empty this is a curve\n radiusStr = RadiusAbbr + \" \" + text(round(radius, DistUnitRounding), NumberFormat);\n }\n else { // it is a spiral\n radiusStr = RadiusAbbr + \" \" + text(round(radius, DistUnitRounding),NumberFormat);\n radius2Str = Radius2Abbr + \" \" + text(round(radius2, DistUnitRounding),NumberFormat);\n if (radius == 0) { //substitute to infinity sign\n radiusStr = RadiusAbbr + \" ∞ \";\n }\n if (radius2 == 0) { //substitute to infinity sign\n radius2Str = Radius2Abbr + \" ∞ \";\n }\n } \n }\n}\n\n// Curve Parameter\nif (ShowCurveParemater) {\n if (!IsEmpty(arclength)) {\n if (CurveParameter == 'ArcLength') {\n curveStr = ArclengthAbrr + text(round(arclength, DistUnitRounding), NumberFormat); //return Arc length \n }\n angleRad = arclength/(abs(radius)) //calculate angle in radians\n if (CurveParameter == 'Angle') {\n curveStr = AngleAbbr + DMS(angleRad * 180 / pi); // convert radian to degrees and show as DMS\n }\n if (CurveParameter == 'Chord') {\n curveStr = ChordAbbr + text(round((2 * abs(radius) * Sin(angleRad/2)),DistUnitRounding), NumberFormat); //calculate chord length\n } \n }\n}\n \n// Assemble label string\nif (IsEmpty(radius)) { //if its empty it is not a curve\n return directionStr + \" \" + distanceStr\n}\nelse { //it's a curve\n return radiusStr + \" \" + radius2Str + \" \" + curveStr;\n}", "title": "Custom" }, "displayField": "Direction", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null }, { "name": "CreatedByRecord", "type": "esriFieldTypeGUID", "alias": "Created By Record", "length": 38, "domain": null }, { "name": "RetiredByRecord", "type": "esriFieldTypeGUID", "alias": "Retired By Record", "length": 38, "domain": null }, { "name": "Direction", "type": "esriFieldTypeDouble", "alias": "Direction", "domain": null }, { "name": "Distance", "type": "esriFieldTypeDouble", "alias": "Distance", "domain": null }, { "name": "Radius", "type": "esriFieldTypeDouble", "alias": "Radius", "domain": null }, { "name": "ArcLength", "type": "esriFieldTypeDouble", "alias": "Arc Length", "domain": null }, { "name": "Radius2", "type": "esriFieldTypeDouble", "alias": "Radius2", "domain": null }, { "name": "COGOType", "type": "esriFieldTypeInteger", "alias": "COGO Type", "domain": { "type": "codedValue", "name": "PF_COGOType", "description": "Parcel Fabric COGO Type", "codedValues": [ { "name": "Entered", "code": 1 }, { "name": "From Geometry", "code": 2 }, { "name": "Computed", "code": 3 } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "IsCOGOGround", "type": "esriFieldTypeInteger", "alias": "Is COGO Ground", "domain": { "type": "codedValue", "name": "PF_YesNo", "description": "Parcel Fabric Yes No", "codedValues": [ { "name": "No", "code": 0 }, { "name": "Yes", "code": 1 } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "Rotation", "type": "esriFieldTypeDouble", "alias": "Rotation", "domain": null }, { "name": "Scale", "type": "esriFieldTypeDouble", "alias": "Scale", "domain": null }, { "name": "created_user", "type": "esriFieldTypeString", "alias": "Created By", "length": 255, "domain": null }, { "name": "last_edited_user", "type": "esriFieldTypeString", "alias": "Modified By", "length": 255, "domain": null }, { "name": "last_edited_date", "type": "esriFieldTypeDate", "alias": "Modified Date", "length": 8, "domain": null }, { "name": "GlobalID", "type": "esriFieldTypeGlobalID", "alias": "GlobalID", "length": 38, "domain": null }, { "name": "ParentLineID", "type": "esriFieldTypeGUID", "alias": "Parent Line ID", "length": 38, "domain": null }, { "name": "DirectionAccuracy", "type": "esriFieldTypeDouble", "alias": "Direction Accuracy", "domain": null }, { "name": "DistanceAccuracy", "type": "esriFieldTypeDouble", "alias": "Distance Accuracy", "domain": null }, { "name": "created_date", "type": "esriFieldTypeDate", "alias": "Created Date", "length": 8, "domain": null }, { "name": "VALIDATIONSTATUS", "type": "esriFieldTypeSmallInteger", "alias": "Validation status", "domain": { "type": "codedValue", "name": "Validation Status", "description": "The current record's validation status.", "codedValues": [ { "name": "No calculation required, no validation required, no error", "code": 0 }, { "name": "No calculation required, no validation required, has error(s)", "code": 1 }, { "name": "No calculation required, validation required, no error", "code": 2 }, { "name": "No calculation required, validation required, has error(s)", "code": 3 }, { "name": "Calculation required, no validation required, no error", "code": 4 }, { "name": "Calculation required, no validation required, has error(s)", "code": 5 }, { "name": "Calculation required, validation required, no error", "code": 6 }, { "name": "Calculation required, validation required, has error(s)", "code": 7 } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "LabelPosition", "type": "esriFieldTypeInteger", "alias": "Label Position", "domain": { "type": "codedValue", "name": "PF_LabelPosition", "description": "Indicates if the label position is to the left or right of the parcel line or is centered over the parcel line", "codedValues": [ { "name": "Right", "code": 1 }, { "name": "Left", "code": 2 }, { "name": "Centered", "code": 3 } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "VxCount", "type": "esriFieldTypeInteger", "alias": "VxCount", "domain": null }, { "name": "Shape.STLength()", "type": "esriFieldTypeDouble", "alias": "Shape.STLength()", "domain": null } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape" }, "indexes": [ { "name": "UUID_261", "fields": "GlobalID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "G502VALIDATIONST", "fields": "VALIDATIONSTATUS", "isAscending": true, "isUnique": false, "description": "" }, { "name": "G502CreatedByRec", "fields": "CreatedByRecord", "isAscending": true, "isUnique": false, "description": "" }, { "name": "I502RetiredByRec", "fields": "RetiredByRecord", "isAscending": true, "isUnique": false, "description": "" }, { "name": "R261_SDE_ROWID_UK", "fields": "OBJECTID", "isAscending": true, "isUnique": false, "description": "" }, { "name": "S234_idx", "fields": "Shape", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [ { "id": 22, "name": "ProtectedLands Record", "relatedTableId": 1, "role": "esriRelRoleDestination", "keyField": "CreatedByRecord", "cardinality": "esriRelCardinalityOneToMany", "composite": false, "catalogID": "{E512FDF6-8BCE-4526-B3F0-A52F0BE3359A}" } ], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": true, "capabilities": "Map,Query,Data", "maxRecordCount": 2000, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "hasZ": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "isDataVersioned": true, "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true}, "useStandardizedQueries": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelIndexIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin", "esriSpatialRelRelation" ], "advancedQueryCapabilities": { "useStandardizedQueries": true, "supportsStatistics": true, "supportsPercentileStatistics": true, "supportsHavingClause": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsCountDistinct": true, "supportsAdvancedQueryRelated": true, "supportsQueryRelatedPagination": true, "supportsPagination": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true, "supportsTimeRelation": true, "supportsSqlFormat": false, "supportsQueryAnalytic": false, "supportsCurrentUserQueries": true }, "supportsDatumTransformation": true, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasGeometryProperties": true, "geometryProperties": { "shapeLengthFieldName": "Shape.STLength()", "units": "esriFeet", "mapUnits": {"uwkid": 9003} }, "hasMetadata": true, "isDataArchived": true, "archivingInfo": { "supportsQueryWithHistoricMoment": true, "startArchivingMoment": 1659526023000 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "4b1aefe40a8847bab37217a36688dfbf" }