{ "layers": [ { "currentVersion": 10.91, "cimVersion": "2.9.0", "id": 0, "name": "AddressPoints", "type": "Feature Layer", "description": "

Site address points represent the location of site or service delivery addresses assigned by local governments.<\/SPAN><\/P><\/DIV><\/DIV><\/DIV>", "geometryType": "esriGeometryPoint", "sourceSpatialReference": { "wkt": "PROJCS[\"Calumet_County\",GEOGCS[\"GCS_User_Defined\",DATUM[\"\",SPHEROID[\"\",6378345.09,298.266952895494]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]],PROJECTION[\"Transverse_Mercator\"],PARAMETER[\"False_Easting\",803000.0],PARAMETER[\"False_Northing\",0.0],PARAMETER[\"Central_Meridian\",-88.5],PARAMETER[\"Scale_Factor\",0.999996],PARAMETER[\"Latitude_Of_Origin\",42.7194444444],UNIT[\"Foot_US\",0.3048006096012192]]", "xyTolerance": 0.02, "zTolerance": 0.02, "mTolerance": 2.0E-5, "falseX": -1.7646099994440172E7, "falseY": -4.8339999998782285E7, "xyUnits": 1600, "falseZ": 0, "zUnits": 1, "falseM": 0, "mUnits": 1 }, "copyrightText": "Created by the Calumet County Land Information Office", "parentLayer": null, "subLayers": [], "minScale": 4999, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "simple", "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 255, 0, 0, 255 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 0 ], "width": 0.7 } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": [ { "labelExpressionInfo": { "expression": "$feature.ADDRNUM", "title": "Custom" }, "labelPlacement": "esriServerPointLabelPlacementAboveRight", "deconflictionStrategy": "dynamic", "labelAngleInfo": { "angleExpressionInfo": { "expression": "$feature[\"Rotation\"]", "returnType": "number" }, "rotationType": "arithmetic" }, "textLayout": "straight", "textOrientation": "page", "stackLabel": true, "stackRowLength": 24, "stackAlignment": "dynamic", "removeDuplicates": "none", "useCodedValues": true, "maxScale": 0, "minScale": 4999, "name": "Class 1", "priority": -1, "symbol": { "type": "esriTS", "color": [ 255, 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": 1, "font": { "family": "Tahoma", "size": 8, "style": "normal", "weight": "normal", "decoration": "none" } } } ] }, "defaultVisibility": true, "extent": { "xmin": 828108.5954337773, "ymin": 427484.7590854049, "xmax": 927430.438168429, "ymax": 555715.41535845, "spatialReference": { "wkid": 103407, "latestWkid": 103407, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -17646100, "falseY": -48340000, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "FULLNAME", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "SITEADDID", "type": "esriFieldTypeString", "alias": "Site Address ID", "length": 20, "domain": null }, { "name": "ADDPTKEY", "type": "esriFieldTypeString", "alias": "Address Point ID", "length": 20, "domain": null }, { "name": "PREADDRNUM", "type": "esriFieldTypeString", "alias": "Address Number Prefix", "length": 5, "domain": null }, { "name": "ADDRNUMSUF", "type": "esriFieldTypeString", "alias": "Address Number Suffix", "length": 5, "domain": null }, { "name": "ADDRNUM", "type": "esriFieldTypeString", "alias": "Full Address Number", "length": 20, "domain": null }, { "name": "ADDRRANGE", "type": "esriFieldTypeString", "alias": "Address Range", "length": 50, "domain": null }, { "name": "UNITTYPE", "type": "esriFieldTypeString", "alias": "Address Unit Type", "length": 10, "domain": null }, { "name": "UNITID", "type": "esriFieldTypeString", "alias": "Address Unit Number", "length": 10, "domain": null }, { "name": "ALTUNITTYPE", "type": "esriFieldTypeString", "alias": "Alternate Address Unit Type", "length": 10, "domain": null }, { "name": "ALTUNITID", "type": "esriFieldTypeString", "alias": "Alternate Address Unit Number", "length": 10, "domain": null }, { "name": "FULLNAME", "type": "esriFieldTypeString", "alias": "Full Road Name", "length": 125, "domain": null }, { "name": "FULLADDR", "type": "esriFieldTypeString", "alias": "Full Address", "length": 250, "domain": null }, { "name": "PLACENAME", "type": "esriFieldTypeString", "alias": "Place Name", "length": 250, "domain": null }, { "name": "MUNICIPALITY", "type": "esriFieldTypeString", "alias": "Municipality Name", "length": 100, "domain": null }, { "name": "ESN", "type": "esriFieldTypeString", "alias": "Emergency Service Number", "length": 5, "domain": null }, { "name": "PSAP", "type": "esriFieldTypeString", "alias": "Public Safety Answering Point", "length": 4, "domain": null }, { "name": "MSAG", "type": "esriFieldTypeString", "alias": "MSAG Community", "length": 35, "domain": null }, { "name": "USNGCOORD", "type": "esriFieldTypeString", "alias": "USNG Coordinate", "length": 50, "domain": null }, { "name": "ADDRCLASS", "type": "esriFieldTypeInteger", "alias": "Description", "domain": null }, { "name": "POINTTYPE", "type": "esriFieldTypeString", "alias": "Location", "length": 30, "domain": null }, { "name": "CAPTUREMETH", "type": "esriFieldTypeString", "alias": "Capture Method", "length": 30, "domain": null }, { "name": "STATUS", "type": "esriFieldTypeString", "alias": "Status", "length": 30, "domain": null }, { "name": "LASTUPDATE", "type": "esriFieldTypeDate", "alias": "Last Update Date", "length": 8, "domain": null }, { "name": "LASTEDITOR", "type": "esriFieldTypeString", "alias": "Last Editor", "length": 50, "domain": null }, { "name": "ZIP", "type": "esriFieldTypeString", "alias": "ZIP", "length": 10, "domain": null }, { "name": "LocID", "type": "esriFieldTypeString", "alias": "LocID", "length": 9, "domain": null }, { "name": "GlobalID", "type": "esriFieldTypeGlobalID", "alias": "GlobalID", "length": 38, "domain": null }, { "name": "Rotation", "type": "esriFieldTypeInteger", "alias": "Rotation", "domain": null }, { "name": "OWNER1NAME", "type": "esriFieldTypeString", "alias": "OWNER1NAME", "length": 255, "domain": null }, { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape" }, "indexes": [ { "name": "R909_pk", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "UUID_909", "fields": "GlobalID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "UUID_OID_909", "fields": "GlobalID,OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "S881_idx", "fields": "Shape", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": true, "capabilities": "Query,Map,Data", "maxRecordCount": 2000, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": 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, "supportsPagination": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true, "supportsTimeRelation": true, "supportsSqlFormat": false, "supportsQueryAnalytic": true }, "supportsDatumTransformation": true, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": false, "supportsPercentileAnalytic": true }, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "11493f85d2e540239e2e040017ce5613" }, { "currentVersion": 10.91, "cimVersion": "2.9.0", "id": 1, "name": "DisplayLines", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPolyline", "sourceSpatialReference": { "wkid": 103407, "latestWkid": 103407, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 2.0E-5, "falseX": -17646100, "falseY": -48340000, "xyUnits": 3048.0060960121928, "falseZ": 0, "zUnits": 1, "falseM": 0, "mUnits": 1 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "field1": "DisplayType", "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 115, 178, 255, 255 ], "width": 1 }, "value": "2", "label": "Meander Line" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 56, 168, 0, 255 ], "width": 2 }, "value": "3", "label": "Land Hook" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 78, 78, 78, 255 ], "width": 1 }, "value": "16", "label": "Condo Building" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 202, 252, 205, 255 ], "toColor": [ 202, 252, 205, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 182, 249, 255 ], "toColor": [ 252, 182, 249, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 217, 252, 255 ], "toColor": [ 182, 217, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 196, 179, 255 ], "toColor": [ 252, 196, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 241, 179, 255 ], "toColor": [ 252, 241, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 204, 228, 255 ], "toColor": [ 252, 204, 228, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 188, 179, 252, 255 ], "toColor": [ 188, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 250, 252, 255 ], "toColor": [ 182, 250, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 236, 215, 255 ], "toColor": [ 252, 236, 215, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 225, 210, 252, 255 ], "toColor": [ 225, 210, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 182, 190, 255 ], "toColor": [ 252, 182, 190, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 189, 252, 179, 255 ], "toColor": [ 189, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 215, 241, 252, 255 ], "toColor": [ 215, 241, 252, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": 828126.3831662461, "ymin": 427481.60165274143, "xmax": 923755.9927596636, "ymax": 555532.4377421513, "spatialReference": { "wkid": 103407, "latestWkid": 103407, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -17646100, "falseY": -48340000, "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 ShowDistance = true; //set as 'true' to show distance\nvar ShowDirection = true; //set as 'true' to show direction\nvar DirectionType = 1; // 1 = Quadrant Bearing; 2 = North Azimuth; 3 = South Azimuth\nvar ShowRadius = true; //set as 'true' to show radius\nvar ShowCurveParameter = 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// VARIABLES\nvar cogo_direction = $feature.Direction;\nvar cogo_distance = $feature.Distance;\nvar cogo_radius = $feature.Radius;\nvar cogo_arclength = $feature.Arclength;\nvar cogo_radius2 = $feature.Radius2\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 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\nif (IsEmpty(cogo_direction) && IsEmpty(cogo_distance) && IsEmpty(cogo_radius) && IsEmpty(cogo_radius2) && IsEmpty(cogo_arclength)){\n return \"\"\n}\n\nfunction NorthAzimuth2Quadbearing(azimuth){\n return ConvertDirection(azimuth, {directionType:'North', angleType: 'Degrees'}, {directionType:'Quadrant', angleType: 'DMS', outputType: 'text', format: 'pd[°]mm[\\']ss[\"]b'})\n}\n\nfunction DMS_North(azimuth){\n return ConvertDirection(azimuth, {directionType:'North', angleType: 'Degrees'}, {directionType:'North', angleType: 'DMS', outputType: 'text', format: 'd[°]mm[\\']ss[\"]'})\n}\n\nfunction DMS_South(azimuth){\n return ConvertDirection(azimuth, {directionType:'North', angleType: 'Degrees'}, {directionType:'South', angleType: 'DMS', outputType: 'text', format: 'd[°]mm[\\']ss[\"]'})\n}\n\nfunction IsValidCOGO(cogo_direction, cogo_distance, cogo_radius, cogo_arclength, cogo_radius2) {\n binaryDictionary= Dictionary('dir', 1, 'dist',2, 'rad',4, 'arc',8, 'rad2',16)\n if (!IsEmpty(cogo_direction)) {checksum+=binaryDictionary.dir}\n if (!IsEmpty(cogo_distance)) {checksum+=binaryDictionary.dist}\n if (!IsEmpty(cogo_radius)) {checksum+=binaryDictionary.rad}\n if (!IsEmpty(cogo_arclength)) {checksum+=binaryDictionary.arc}\n if (!IsEmpty(cogo_radius2)) {checksum+=binaryDictionary.rad2}\n \n validValuesArray=[0,3,13,29]; //array of valid combinations: '0' for nothing, ... '13' for direction & radius & arclength ...\n partialValuesArray=[1,2,4,5,8,9,12,16,17,20,21,24,25,27,28]; //array of partial combinations: '1' for only direction, '2' for only distance, '4' for only radius...\n //Invalid Values = [6,7,10,11,14,15,18,19,22,23,26,30,31]\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\nfunction COGOTypePrefixPostfix(cogotypeValue){\n if (ShowCOGOType){\n if (cogotypeValue == 1) { //Entered\n return COGOType_Entered\n }\n else if(cogotypeValue == 2) { //From Geometry\n return COGOType_FromGeom\n }\n else if(cogotypeValue == 3) { //Computed\n return COGOType_Computed\n }\n else { //If not set or invalid value\n return ['', '']\n }\n }\n else{\n return(['', ''])\n }\n}\n\nCOGOValidity = IsValidCOGO(cogo_direction, cogo_distance, cogo_radius, cogo_arclength, cogo_radius2);\nif ( COGOValidity == \"invalid\") { //if invalid COGO return error string\n return ErrorString;\n}\n\n\n// Direction string\nif (ShowDirection) {\n if (IsEmpty(cogo_direction)==false) {\n if (DirectionType == 1) { //using quadrant bearing format\n directionStr = NorthAzimuth2Quadbearing(cogo_direction);\n }\n else if (DirectionType == 2) { //using north azimuth format\n directionStr = DMS_North(cogo_direction);\n }\n else if (DirectionType == 3) { //using south azimuth format\n directionStr = DMS_South(cogo_direction);\n }\n }\n}\n\n// Distance string\nif (ShowDistance) {\n if (IsEmpty(cogo_distance)==false) {\n distanceStr = text(round(cogo_distance,DistUnitRounding), NumberFormat);\n }\n}\n\n//Radius String\nif (ShowRadius) {\n if (!IsEmpty(cogo_radius)) { //it can be a curve or a spiral\n if (IsEmpty(cogo_radius2)) { //if radius2 is empty this is a curve\n radiusStr = RadiusAbbr + \" \" + text(round(cogo_radius, DistUnitRounding), NumberFormat);\n }\n else { // it is a spiral\n radiusStr = RadiusAbbr + \" \" + text(round(cogo_radius, DistUnitRounding),NumberFormat);\n radius2Str = Radius2Abbr + \" \" + text(round(cogo_radius2, DistUnitRounding),NumberFormat);\n if (cogo_radius == 0) { //substitute to infinity sign\n radiusStr = RadiusAbbr + \" ∞ \";\n }\n if (cogo_radius2 == 0) { //substitute to infinity sign\n radius2Str = Radius2Abbr + \" ∞ \";\n }\n }\n\n }\n}\n\n// Curve Parameter\nif (ShowCurveParameter) {\n if (!IsEmpty(cogo_arclength)) {\n if (CurveParameter == 'ArcLength') {\n curveStr = text(round(cogo_arclength, DistUnitRounding), NumberFormat); //return Arc length\n }\n angleRad = cogo_arclength/(abs(cogo_radius)) //calculate angle in radians\n if (CurveParameter == 'Angle') {\n curveStr = DMS_North(angleRad * 180 / pi); // convert radian to degrees and show as DMS\n }\n if (CurveParameter == 'Chord') {\n curveStr = text(round((2 * abs(cogo_radius) * Sin(angleRad/2)),DistUnitRounding), NumberFormat); //calculate chord length\n }\n }\n}\n\n//Determine type of curve displayed\nvar CurveTypePrefix = \"\"\nif (!IsEmpty(curveStr)){\n if (CurveParameter == 'ArcLength'){\n CurveTypePrefix = ArclengthAbrr\n }\n else if (CurveParameter == 'Angle'){\n CurveTypePrefix = AngleAbbr\n }\n else if (CurveParameter == 'Chord'){\n CurveTypePrefix = ChordAbbr\n }\n}\n\nvar isStraightLine = IsEmpty(radiusStr) && IsEmpty(radius2Str) && IsEmpty(curveStr)\n\n\n// Assemble label string\nif (isStraightLine){\n if (!IsEmpty(directionStr) && !IsEmpty(distanceStr)){ //If Direction and Distance are both NOT Empty\n return directionStr + ' ' + distanceStr;\n }\n else if (IsEmpty(directionStr)){ //If Direction is empty\n return distanceStr;\n }\n else{ //If Distance is empty\n return directionStr\n }\n}\n\n//Curves\n//If one or both radii and the curve string are NOT empty show the full curve\nif ((!IsEmpty(radiusStr) || !IsEmpty(radius2Str)) && !IsEmpty(curveStr)){\n return radiusStr + \" \" + radius2Str + ' ' + CurveTypePrefix + ' ' + curveStr;\n}\n//If the curve is empty\nelse if (IsEmpty(curveStr)){\n return radiusStr + \" \" + radius2Str\n}\n//If both radius are empty\nelse{\n return CurveTypePrefix + ' ' + curveStr;\n}\n\n\n", "title": "Custom" }, "displayField": "Direction", "typeIdField": "DisplayType", "subtypeFieldName": "DisplayType", "subtypeField": "DisplayType", "defaultSubtypeCode": 2, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "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": "Delta", "type": "esriFieldTypeString", "alias": "Delta", "length": 10, "domain": null }, { "name": "Tangent", "type": "esriFieldTypeString", "alias": "Tangent", "length": 10, "domain": null }, { "name": "Side", "type": "esriFieldTypeString", "alias": "Side", "length": 1, "domain": null }, { "name": "DisplayType", "type": "esriFieldTypeInteger", "alias": "DisplayType", "domain": null }, { "name": "QC1", "type": "esriFieldTypeInteger", "alias": "QC1", "domain": null }, { "name": "MuniID", "type": "esriFieldTypeString", "alias": "MuniID", "length": 3, "domain": null }, { "name": "GlobalID", "type": "esriFieldTypeGlobalID", "alias": "GlobalID", "length": 38, "domain": null }, { "name": "created_user", "type": "esriFieldTypeString", "alias": "created_user", "length": 255, "domain": null }, { "name": "created_date", "type": "esriFieldTypeDate", "alias": "created_date", "length": 8, "domain": null }, { "name": "last_edited_user", "type": "esriFieldTypeString", "alias": "last_edited_user", "length": 255, "domain": null }, { "name": "last_edited_date", "type": "esriFieldTypeDate", "alias": "last_edited_date", "length": 8, "domain": null }, { "name": "Shape.STLength()", "type": "esriFieldTypeDouble", "alias": "Shape.STLength()", "domain": null } ], "geometryField": {}, "indexes": [ { "name": "UUID_1261", "fields": "GlobalID", "isAscending": true, "isUnique": true, "description": "" } ], "types": [ { "domains": {}, "id": 2, "name": "Meander Line" }, { "domains": {}, "id": 3, "name": "Land Hook" }, { "domains": {}, "id": 4, "name": "Text Leader Line" }, { "domains": {}, "id": 16, "name": "Condo Building" } ], "subtypes": [ { "domains": {}, "defaultValues": { "Direction": null, "Distance": null, "Delta": null, "Radius": null, "Tangent": null, "ArcLength": null, "Side": null, "DisplayType": null, "QC1": null, "MuniID": null, "Radius2": null, "GlobalID": null, "created_user": null, "created_date": null, "last_edited_user": null, "last_edited_date": null }, "code": 2, "name": "Meander Line" }, { "domains": {}, "defaultValues": { "Direction": null, "Distance": null, "Delta": null, "Radius": null, "Tangent": null, "ArcLength": null, "Side": null, "DisplayType": null, "QC1": null, "MuniID": null, "Radius2": null, "GlobalID": null, "created_user": null, "created_date": null, "last_edited_user": null, "last_edited_date": null }, "code": 3, "name": "Land Hook" }, { "domains": {}, "defaultValues": { "Direction": null, "Distance": null, "Delta": null, "Radius": null, "Tangent": null, "ArcLength": null, "Side": null, "DisplayType": null, "QC1": null, "MuniID": null, "Radius2": null, "GlobalID": null, "created_user": null, "created_date": null, "last_edited_user": null, "last_edited_date": null }, "code": 4, "name": "Text Leader Line" }, { "domains": {}, "defaultValues": { "Direction": null, "Distance": null, "Delta": null, "Radius": null, "Tangent": null, "ArcLength": null, "Side": null, "DisplayType": null, "QC1": null, "MuniID": null, "Radius2": null, "GlobalID": null, "created_user": null, "created_date": null, "last_edited_user": null, "last_edited_date": null }, "code": 16, "name": "Condo Building" } ], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": false, "capabilities": "Query,Map,Data", "maxRecordCount": 2000, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "isDataVersioned": false, "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, "supportsPagination": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true, "supportsTimeRelation": true, "supportsSqlFormat": false, "supportsQueryAnalytic": true }, "supportsDatumTransformation": true, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": false, "supportsPercentileAnalytic": true }, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasGeometryProperties": true, "geometryProperties": { "shapeLengthFieldName": "Shape.STLength()", "units": "esriFeet" }, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "11493f85d2e540239e2e040017ce5613" }, { "currentVersion": 10.91, "cimVersion": "2.9.0", "id": 2, "name": "EasementLines", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPolyline", "sourceSpatialReference": { "wkid": 103407, "latestWkid": 103407, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -17646100, "falseY": -48340000, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": 0, "mUnits": 1 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 4999, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "return \"COGO\"", "valueExpressionTitle": "Custom", "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 9 }, "value": "COGO", "label": "Easement Lines" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 202, 252, 205, 255 ], "toColor": [ 202, 252, 205, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 182, 249, 255 ], "toColor": [ 252, 182, 249, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 217, 252, 255 ], "toColor": [ 182, 217, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 196, 179, 255 ], "toColor": [ 252, 196, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 241, 179, 255 ], "toColor": [ 252, 241, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 204, 228, 255 ], "toColor": [ 252, 204, 228, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 188, 179, 252, 255 ], "toColor": [ 188, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 250, 252, 255 ], "toColor": [ 182, 250, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 236, 215, 255 ], "toColor": [ 252, 236, 215, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 225, 210, 252, 255 ], "toColor": [ 225, 210, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 182, 190, 255 ], "toColor": [ 252, 182, 190, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 189, 252, 179, 255 ], "toColor": [ 189, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 215, 241, 252, 255 ], "toColor": [ 215, 241, 252, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": [ { "labelExpressionInfo": { "expression": "// Change the settings portion to configure direction format, color, 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 DirectionType = 1; // 1 = Quadrant Bearing; 2 = North Azimuth; 3 = South Azimuth\nvar ShowRadius = false; //set as 'true' to show radius\nvar ShowCurveParameter = false; //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 \nvar directionColor = \"blue='255'\"; //direction color: red, green, blue, cyan, magenta, yellow, black. You can also use RGB or CYMK combinations.\nvar distanceColor = \"black='255'\"; //distance color: red, green, blue, cyan, magenta, yellow, black. You can also use RGB or CYMK combinations.\nvar radiusColor = \"blue='255'\"; //radius color: red, green, blue, cyan, magenta, yellow, black. You can also use RGB or CYMK combinations.\nvar curveParamColor = \"black='255'\"; //curve parameter color: red, green, blue, cyan, magenta, yellow, black. You can also use RGB or CYMK combinations.\nvar partialCOGOColor = \"magenta='255'\"; //partial COGO color: red, green, blue, cyan, magenta, yellow, black. You can also use RGB or CYMK combinations.\nvar invalidCOGOColor = \"red='255'\"; //invalid COGO color: red, green, blue, cyan, magenta, yellow, black. You can also use RGB or CYMK combinations.\nvar fontNameSize = \"\"; //font type and size\n\n// VARIABLES\nvar cogo_direction = $feature.Direction;\nvar cogo_distance = $feature.Distance;\nvar cogo_radius = $feature.Radius;\nvar cogo_arclength = $feature.Arclength;\nvar cogo_radius2 = $feature.Radius2\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\nif (IsEmpty(cogo_direction) && IsEmpty(cogo_distance) && IsEmpty(cogo_radius) && IsEmpty(cogo_radius2) && IsEmpty(cogo_arclength)){\n return \"\"\n}\n\nfunction NorthAzimuth2Quadbearing(azimuth){\n return ConvertDirection(azimuth, {directionType:'North', angleType: 'Degrees'}, {directionType:'Quadrant', angleType: 'DMS', outputType: 'text', format: 'pd[°]mm[\\']ss[\"]b'})\n}\n\nfunction DMS_North(azimuth){\n return ConvertDirection(azimuth, {directionType:'North', angleType: 'Degrees'}, {directionType:'North', angleType: 'DMS', outputType: 'text', format: 'd[°]mm[\\']ss[\"]'})\n}\n\nfunction DMS_South(azimuth){\n return ConvertDirection(azimuth, {directionType:'North', angleType: 'Degrees'}, {directionType:'South', angleType: 'DMS', outputType: 'text', format: 'd[°]mm[\\']ss[\"]'})\n}\n\nfunction IsValidCOGO(cogo_direction, cogo_distance, cogo_radius, cogo_arclength, cogo_radius2) {\n binaryDictionary= Dictionary('dir', 1, 'dist',2, 'rad',4, 'arc',8, 'rad2',16)\n if (!IsEmpty(cogo_direction)) {checksum+=binaryDictionary.dir}\n if (!IsEmpty(cogo_distance)) {checksum+=binaryDictionary.dist}\n if (!IsEmpty(cogo_radius)) {checksum+=binaryDictionary.rad}\n if (!IsEmpty(cogo_arclength)) {checksum+=binaryDictionary.arc}\n if (!IsEmpty(cogo_radius2)) {checksum+=binaryDictionary.rad2}\n \n validValuesArray=[0,3,13,29]; //array of valid combinations: '0' for nothing, ... '13' for direction & radius & arclength ...\n partialValuesArray=[1,2,4,5,8,9,12,16,17,20,21,24,25,27,28]; //array of partial combinations: '1' for only direction, '2' for only distance, '4' for only radius...\n //Invalid Values = [6,7,10,11,14,15,18,19,22,23,26,30,31]\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(cogo_direction, cogo_distance, cogo_radius, cogo_arclength, cogo_radius2);\nif ( COGOValidity == \"invalid\") { //if invalid COGO return error string\n return \"\" + fontNameSize + ErrorString + \"<\/FNT><\/CLR><\/BOL>\"; \n}\n\nif (COGOValidity == \"partial\") { //if a partial COGO change colors\n distanceColor = partialCOGOColor;\n directionColor = partialCOGOColor;\n radiusColor = partialCOGOColor;\n curveParamColor = partialCOGOColor;\n}\n\n// Direction string\nif (ShowDirection) {\n if (IsEmpty(cogo_direction)==false) {\n if (DirectionType == 1) { //using quadrant bearing format\n directionStr = NorthAzimuth2Quadbearing(cogo_direction);\n }\n else if (DirectionType == 2) { //using north azimuth format\n directionStr = DMS_North(cogo_direction);\n }\n else if (DirectionType == 3) { //using south azimuth format\n directionStr = DMS_South(cogo_direction);\n }\n }\n}\n\n// Distance string\nif (ShowDistance) {\n if (IsEmpty(cogo_distance)==false) {\n distanceStr = text(round(cogo_distance,DistUnitRounding), NumberFormat);\n }\n}\n\n//Radius String\nif (ShowRadius) {\n if (!IsEmpty(cogo_radius)) { //it can be a curve or a spiral\n if (IsEmpty(cogo_radius2)) { //if radius2 is empty this is a curve\n radiusStr = RadiusAbbr + \" \" + text(round(cogo_radius, DistUnitRounding), NumberFormat);\n }\n else { // it is a spiral\n radiusStr = RadiusAbbr + \" \" + text(round(cogo_radius, DistUnitRounding),NumberFormat);\n radius2Str = Radius2Abbr + \" \" + text(round(cogo_radius2, DistUnitRounding),NumberFormat);\n if (cogo_radius == 0) { //substitute to infinity sign\n radiusStr = RadiusAbbr + \" ∞ \";\n }\n if (cogo_radius2 == 0) { //substitute to infinity sign\n radius2Str = Radius2Abbr + \" ∞ \";\n }\n } \n \n }\n}\n\n// Curve Parameter\nif (ShowCurveParameter) {\n if (!IsEmpty(cogo_arclength)) {\n if (CurveParameter == 'ArcLength') {\n curveStr = text(round(cogo_arclength, DistUnitRounding), NumberFormat); //return Arc length\n }\n angleRad = cogo_arclength/(abs(cogo_radius)) //calculate angle in radians\n if (CurveParameter == 'Angle') {\n curveStr = DMS_North(angleRad * 180 / pi); // convert radian to degrees and show as DMS\n }\n if (CurveParameter == 'Chord') {\n curveStr = text(round((2 * abs(cogo_radius) * Sin(angleRad/2)),DistUnitRounding), NumberFormat); //calculate chord length\n } \n }\n}\n\n//Determine type of curve displayed\nvar CurveTypePrefix = \"\"\nif (!IsEmpty(curveStr)){\n if (CurveParameter == 'ArcLength'){\n CurveTypePrefix = ArclengthAbrr\n }\n else if (CurveParameter == 'Angle'){\n CurveTypePrefix = AngleAbbr\n }\n else if (CurveParameter == 'Chord'){\n CurveTypePrefix = ChordAbbr\n }\n}\n\nvar isStraightLine = IsEmpty(radiusStr) && IsEmpty(radius2Str) && IsEmpty(curveStr)\n\n// Assemble label string\n\n//Straight lines\nif (isStraightLine){\n if (!IsEmpty(directionStr) && !IsEmpty(distanceStr)){ //If Direction and Distance are both NOT Empty\n return fontNameSize + \"\" + directionStr + \"<\/CLR>\" + \"\\n\" +\n \"\" + distanceStr + \"<\/CLR><\/FNT>\";\n }\n else if (IsEmpty(directionStr)){ //If Direction is empty\n return fontNameSize + \"\" +\n distanceStr + \"<\/CLR><\/FNT>\";\n }\n else{ //If Distance is empty\n return fontNameSize + \"\" + directionStr + \"<\/CLR><\/FNT>\";\n }\n}\n\n//Curves\n//If one or both radii and the curve string are NOT empty show the full curve\nif ((!IsEmpty(radiusStr) || !IsEmpty(radius2Str)) && !IsEmpty(curveStr)){\n return fontNameSize + \"\" + radiusStr + \"<\/CLR>\" + \" \" +\n \"\" + radius2Str + \"<\/CLR>\" + \"\\n\" +\n \"\" + CurveTypePrefix + ' ' +\n curveStr + \"<\/CLR><\/FNT>\";\n}\n//If the curve is empty\nelse if (IsEmpty(curveStr)){\n return fontNameSize + \"\" + radiusStr + \"<\/CLR>\" + \" \" +\n \"\" + radius2Str + \"<\/CLR><\/FNT>\"\n}\n//If both radius are empty\nelse{\n return fontNameSize + \"\" + CurveTypePrefix + ' ' +\n curveStr + \"<\/CLR><\/FNT>\";\n}", "title": "Distance" }, "labelPlacement": "esriServerLinePlacementBelowStart", "textLayout": "followFeature", "deconflictionStrategy": "static", "lineConnection": "none", "multiPart": "labelPerFeature", "offsetDistance": 3, "stackLabel": false, "removeDuplicates": "none", "useCodedValues": false, "maxScale": 0, "minScale": 2000, "name": "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": 828074.0440320782, "ymin": 427441.99149573594, "xmax": 923903.971466329, "ymax": 555665.0217945725, "spatialReference": { "wkid": 103407, "latestWkid": 103407, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -17646100, "falseY": -48340000, "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 ShowDistance = true; //set as 'true' to show distance\nvar ShowDirection = true; //set as 'true' to show direction\nvar DirectionType = 1; // 1 = Quadrant Bearing; 2 = North Azimuth; 3 = South Azimuth\nvar ShowRadius = true; //set as 'true' to show radius\nvar ShowCurveParameter = 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// VARIABLES\nvar cogo_direction = $feature.Direction;\nvar cogo_distance = $feature.Distance;\nvar cogo_radius = $feature.Radius;\nvar cogo_arclength = $feature.Arclength;\nvar cogo_radius2 = $feature.Radius2\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 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\nif (IsEmpty(cogo_direction) && IsEmpty(cogo_distance) && IsEmpty(cogo_radius) && IsEmpty(cogo_radius2) && IsEmpty(cogo_arclength)){\n return \"\"\n}\n\nfunction NorthAzimuth2Quadbearing(azimuth){\n return ConvertDirection(azimuth, {directionType:'North', angleType: 'Degrees'}, {directionType:'Quadrant', angleType: 'DMS', outputType: 'text', format: 'pd[°]mm[\\']ss[\"]b'})\n}\n\nfunction DMS_North(azimuth){\n return ConvertDirection(azimuth, {directionType:'North', angleType: 'Degrees'}, {directionType:'North', angleType: 'DMS', outputType: 'text', format: 'd[°]mm[\\']ss[\"]'})\n}\n\nfunction DMS_South(azimuth){\n return ConvertDirection(azimuth, {directionType:'North', angleType: 'Degrees'}, {directionType:'South', angleType: 'DMS', outputType: 'text', format: 'd[°]mm[\\']ss[\"]'})\n}\n\nfunction IsValidCOGO(cogo_direction, cogo_distance, cogo_radius, cogo_arclength, cogo_radius2) {\n binaryDictionary= Dictionary('dir', 1, 'dist',2, 'rad',4, 'arc',8, 'rad2',16)\n if (!IsEmpty(cogo_direction)) {checksum+=binaryDictionary.dir}\n if (!IsEmpty(cogo_distance)) {checksum+=binaryDictionary.dist}\n if (!IsEmpty(cogo_radius)) {checksum+=binaryDictionary.rad}\n if (!IsEmpty(cogo_arclength)) {checksum+=binaryDictionary.arc}\n if (!IsEmpty(cogo_radius2)) {checksum+=binaryDictionary.rad2}\n \n validValuesArray=[0,3,13,29]; //array of valid combinations: '0' for nothing, ... '13' for direction & radius & arclength ...\n partialValuesArray=[1,2,4,5,8,9,12,16,17,20,21,24,25,27,28]; //array of partial combinations: '1' for only direction, '2' for only distance, '4' for only radius...\n //Invalid Values = [6,7,10,11,14,15,18,19,22,23,26,30,31]\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\nfunction COGOTypePrefixPostfix(cogotypeValue){\n if (ShowCOGOType){\n if (cogotypeValue == 1) { //Entered\n return COGOType_Entered\n }\n else if(cogotypeValue == 2) { //From Geometry\n return COGOType_FromGeom\n }\n else if(cogotypeValue == 3) { //Computed\n return COGOType_Computed\n }\n else { //If not set or invalid value\n return ['', '']\n }\n }\n else{\n return(['', ''])\n }\n}\n\nCOGOValidity = IsValidCOGO(cogo_direction, cogo_distance, cogo_radius, cogo_arclength, cogo_radius2);\nif ( COGOValidity == \"invalid\") { //if invalid COGO return error string\n return ErrorString;\n}\n\n\n// Direction string\nif (ShowDirection) {\n if (IsEmpty(cogo_direction)==false) {\n if (DirectionType == 1) { //using quadrant bearing format\n directionStr = NorthAzimuth2Quadbearing(cogo_direction);\n }\n else if (DirectionType == 2) { //using north azimuth format\n directionStr = DMS_North(cogo_direction);\n }\n else if (DirectionType == 3) { //using south azimuth format\n directionStr = DMS_South(cogo_direction);\n }\n }\n}\n\n// Distance string\nif (ShowDistance) {\n if (IsEmpty(cogo_distance)==false) {\n distanceStr = text(round(cogo_distance,DistUnitRounding), NumberFormat);\n }\n}\n\n//Radius String\nif (ShowRadius) {\n if (!IsEmpty(cogo_radius)) { //it can be a curve or a spiral\n if (IsEmpty(cogo_radius2)) { //if radius2 is empty this is a curve\n radiusStr = RadiusAbbr + \" \" + text(round(cogo_radius, DistUnitRounding), NumberFormat);\n }\n else { // it is a spiral\n radiusStr = RadiusAbbr + \" \" + text(round(cogo_radius, DistUnitRounding),NumberFormat);\n radius2Str = Radius2Abbr + \" \" + text(round(cogo_radius2, DistUnitRounding),NumberFormat);\n if (cogo_radius == 0) { //substitute to infinity sign\n radiusStr = RadiusAbbr + \" ∞ \";\n }\n if (cogo_radius2 == 0) { //substitute to infinity sign\n radius2Str = Radius2Abbr + \" ∞ \";\n }\n }\n\n }\n}\n\n// Curve Parameter\nif (ShowCurveParameter) {\n if (!IsEmpty(cogo_arclength)) {\n if (CurveParameter == 'ArcLength') {\n curveStr = text(round(cogo_arclength, DistUnitRounding), NumberFormat); //return Arc length\n }\n angleRad = cogo_arclength/(abs(cogo_radius)) //calculate angle in radians\n if (CurveParameter == 'Angle') {\n curveStr = DMS_North(angleRad * 180 / pi); // convert radian to degrees and show as DMS\n }\n if (CurveParameter == 'Chord') {\n curveStr = text(round((2 * abs(cogo_radius) * Sin(angleRad/2)),DistUnitRounding), NumberFormat); //calculate chord length\n }\n }\n}\n\n//Determine type of curve displayed\nvar CurveTypePrefix = \"\"\nif (!IsEmpty(curveStr)){\n if (CurveParameter == 'ArcLength'){\n CurveTypePrefix = ArclengthAbrr\n }\n else if (CurveParameter == 'Angle'){\n CurveTypePrefix = AngleAbbr\n }\n else if (CurveParameter == 'Chord'){\n CurveTypePrefix = ChordAbbr\n }\n}\n\nvar isStraightLine = IsEmpty(radiusStr) && IsEmpty(radius2Str) && IsEmpty(curveStr)\n\n\n// Assemble label string\nif (isStraightLine){\n if (!IsEmpty(directionStr) && !IsEmpty(distanceStr)){ //If Direction and Distance are both NOT Empty\n return directionStr + ' ' + distanceStr;\n }\n else if (IsEmpty(directionStr)){ //If Direction is empty\n return distanceStr;\n }\n else{ //If Distance is empty\n return directionStr\n }\n}\n\n//Curves\n//If one or both radii and the curve string are NOT empty show the full curve\nif ((!IsEmpty(radiusStr) || !IsEmpty(radius2Str)) && !IsEmpty(curveStr)){\n return radiusStr + \" \" + radius2Str + ' ' + CurveTypePrefix + ' ' + curveStr;\n}\n//If the curve is empty\nelse if (IsEmpty(curveStr)){\n return radiusStr + \" \" + radius2Str\n}\n//If both radius are empty\nelse{\n return CurveTypePrefix + ' ' + curveStr;\n}\n\n\n", "title": "Custom" }, "displayField": "Direction", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "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": "CreatedByRecord", "type": "esriFieldTypeGUID", "alias": "Created By Record", "length": 38, "domain": null }, { "name": "RetiredByRecord", "type": "esriFieldTypeGUID", "alias": "Retired By Record", "length": 38, "domain": null }, { "name": "ParentLineID", "type": "esriFieldTypeGUID", "alias": "Parent Line ID", "length": 38, "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": "DirectionAccuracy", "type": "esriFieldTypeDouble", "alias": "Direction Accuracy", "domain": null }, { "name": "DistanceAccuracy", "type": "esriFieldTypeDouble", "alias": "Distance Accuracy", "domain": null }, { "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": "created_user", "type": "esriFieldTypeString", "alias": "Created By", "length": 255, "domain": null }, { "name": "created_date", "type": "esriFieldTypeDate", "alias": "Created Date", "length": 8, "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": "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": "Roads", "type": "esriFieldTypeSmallInteger", "alias": "Roads", "domain": null }, { "name": "Parcel", "type": "esriFieldTypeSmallInteger", "alias": "Parcel", "domain": null }, { "name": "Municipality", "type": "esriFieldTypeSmallInteger", "alias": "Municipality", "domain": null }, { "name": "MuniID", "type": "esriFieldTypeString", "alias": "MuniID", "length": 3, "domain": null }, { "name": "QC1", "type": "esriFieldTypeInteger", "alias": "QC1", "domain": null }, { "name": "EasementType", "type": "esriFieldTypeInteger", "alias": "Easement Type", "domain": { "type": "codedValue", "name": "lrParcelType", "description": "The type of parcel", "codedValues": [ { "name": "Unknown", "code": 0 }, { "name": "Primary Tax Parcel", "code": 1 }, { "name": "Condominium Tax Parcel", "code": 2 }, { "name": "Gap", "code": 3 }, { "name": "Overlap", "code": 4 }, { "name": "Railroad Right of Way", "code": 5 }, { "name": "Right of Way", "code": 6 }, { "name": "Private Road", "code": 7 }, { "name": "Out Lot", "code": 8 }, { "name": "Trail", "code": 10 }, { "name": "Water", "code": 11 }, { "name": "APP_MEN Area", "code": 16 } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "Delta", "type": "esriFieldTypeString", "alias": "Delta", "length": 10, "domain": null }, { "name": "Tangent", "type": "esriFieldTypeString", "alias": "Tangent", "length": 10, "domain": null }, { "name": "Side", "type": "esriFieldTypeString", "alias": "Side", "length": 1, "domain": null }, { "name": "Shape.STLength()", "type": "esriFieldTypeDouble", "alias": "Shape.STLength()", "domain": null } ], "geometryField": {}, "indexes": [ { "name": "UUID_1260", "fields": "GlobalID", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": true, "capabilities": "Query,Map,Data", "maxRecordCount": 2000, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "hasZ": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "isDataVersioned": false, "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, "supportsPagination": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true, "supportsTimeRelation": true, "supportsSqlFormat": false, "supportsQueryAnalytic": true }, "supportsDatumTransformation": true, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": false, "supportsPercentileAnalytic": true }, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasGeometryProperties": true, "geometryProperties": { "shapeLengthFieldName": "Shape.STLength()", "units": "esriFeet" }, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "11493f85d2e540239e2e040017ce5613" }, { "currentVersion": 10.91, "cimVersion": "2.9.0", "id": 3, "name": "ParcelLines", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPolyline", "sourceSpatialReference": { "wkid": 103407, "latestWkid": 103407, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -17646100, "falseY": -48340000, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": 0, "mUnits": 1 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 4999, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "return \"COGO\"", "valueExpressionTitle": "Custom", "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 9 }, "value": "COGO", "label": "Parcel Lines" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 202, 252, 205, 255 ], "toColor": [ 202, 252, 205, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 182, 249, 255 ], "toColor": [ 252, 182, 249, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 217, 252, 255 ], "toColor": [ 182, 217, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 196, 179, 255 ], "toColor": [ 252, 196, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 241, 179, 255 ], "toColor": [ 252, 241, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 204, 228, 255 ], "toColor": [ 252, 204, 228, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 188, 179, 252, 255 ], "toColor": [ 188, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 250, 252, 255 ], "toColor": [ 182, 250, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 236, 215, 255 ], "toColor": [ 252, 236, 215, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 225, 210, 252, 255 ], "toColor": [ 225, 210, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 182, 190, 255 ], "toColor": [ 252, 182, 190, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 189, 252, 179, 255 ], "toColor": [ 189, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 215, 241, 252, 255 ], "toColor": [ 215, 241, 252, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": [ { "labelExpressionInfo": { "expression": "// Change the settings portion to configure direction format, color, 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 DirectionType = 1; // 1 = Quadrant Bearing; 2 = North Azimuth; 3 = South Azimuth\nvar ShowRadius = false; //set as 'true' to show radius\nvar ShowCurveParameter = false; //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 \nvar directionColor = \"blue='255'\"; //direction color: red, green, blue, cyan, magenta, yellow, black. You can also use RGB or CYMK combinations.\nvar distanceColor = \"black='255'\"; //distance color: red, green, blue, cyan, magenta, yellow, black. You can also use RGB or CYMK combinations.\nvar radiusColor = \"blue='255'\"; //radius color: red, green, blue, cyan, magenta, yellow, black. You can also use RGB or CYMK combinations.\nvar curveParamColor = \"black='255'\"; //curve parameter color: red, green, blue, cyan, magenta, yellow, black. You can also use RGB or CYMK combinations.\nvar partialCOGOColor = \"black='255'\"; //partial COGO color: red, green, blue, cyan, magenta, yellow, black. You can also use RGB or CYMK combinations.\nvar invalidCOGOColor = \"red='255'\"; //invalid COGO color: red, green, blue, cyan, magenta, yellow, black. You can also use RGB or CYMK combinations.\nvar fontNameSize = \"\"; //font type and size\n\n// VARIABLES\nvar cogo_direction = $feature.Direction;\nvar cogo_distance = $feature.Distance;\nvar cogo_radius = $feature.Radius;\nvar cogo_arclength = $feature.Arclength;\nvar cogo_radius2 = $feature.Radius2\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\nif (IsEmpty(cogo_direction) && IsEmpty(cogo_distance) && IsEmpty(cogo_radius) && IsEmpty(cogo_radius2) && IsEmpty(cogo_arclength)){\n return \"\"\n}\n\nfunction NorthAzimuth2Quadbearing(azimuth){\n return ConvertDirection(azimuth, {directionType:'North', angleType: 'Degrees'}, {directionType:'Quadrant', angleType: 'DMS', outputType: 'text', format: 'pd[°]mm[\\']ss[\"]b'})\n}\n\nfunction DMS_North(azimuth){\n return ConvertDirection(azimuth, {directionType:'North', angleType: 'Degrees'}, {directionType:'North', angleType: 'DMS', outputType: 'text', format: 'd[°]mm[\\']ss[\"]'})\n}\n\nfunction DMS_South(azimuth){\n return ConvertDirection(azimuth, {directionType:'North', angleType: 'Degrees'}, {directionType:'South', angleType: 'DMS', outputType: 'text', format: 'd[°]mm[\\']ss[\"]'})\n}\n\nfunction IsValidCOGO(cogo_direction, cogo_distance, cogo_radius, cogo_arclength, cogo_radius2) {\n binaryDictionary= Dictionary('dir', 1, 'dist',2, 'rad',4, 'arc',8, 'rad2',16)\n if (!IsEmpty(cogo_direction)) {checksum+=binaryDictionary.dir}\n if (!IsEmpty(cogo_distance)) {checksum+=binaryDictionary.dist}\n if (!IsEmpty(cogo_radius)) {checksum+=binaryDictionary.rad}\n if (!IsEmpty(cogo_arclength)) {checksum+=binaryDictionary.arc}\n if (!IsEmpty(cogo_radius2)) {checksum+=binaryDictionary.rad2}\n \n validValuesArray=[0,3,13,29]; //array of valid combinations: '0' for nothing, ... '13' for direction & radius & arclength ...\n partialValuesArray=[1,2,4,5,8,9,12,16,17,20,21,24,25,27,28]; //array of partial combinations: '1' for only direction, '2' for only distance, '4' for only radius...\n //Invalid Values = [6,7,10,11,14,15,18,19,22,23,26,30,31]\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(cogo_direction, cogo_distance, cogo_radius, cogo_arclength, cogo_radius2);\nif ( COGOValidity == \"invalid\") { //if invalid COGO return error string\n return \"\" + fontNameSize + ErrorString + \"<\/FNT><\/CLR><\/BOL>\"; \n}\n\nif (COGOValidity == \"partial\") { //if a partial COGO change colors\n distanceColor = partialCOGOColor;\n directionColor = partialCOGOColor;\n radiusColor = partialCOGOColor;\n curveParamColor = partialCOGOColor;\n}\n\n// Direction string\nif (ShowDirection) {\n if (IsEmpty(cogo_direction)==false) {\n if (DirectionType == 1) { //using quadrant bearing format\n directionStr = NorthAzimuth2Quadbearing(cogo_direction);\n }\n else if (DirectionType == 2) { //using north azimuth format\n directionStr = DMS_North(cogo_direction);\n }\n else if (DirectionType == 3) { //using south azimuth format\n directionStr = DMS_South(cogo_direction);\n }\n }\n}\n\n// Distance string\nif (ShowDistance) {\n if (IsEmpty(cogo_distance)==false) {\n distanceStr = text(round(cogo_distance,DistUnitRounding), NumberFormat);\n }\n}\n\n//Radius String\nif (ShowRadius) {\n if (!IsEmpty(cogo_radius)) { //it can be a curve or a spiral\n if (IsEmpty(cogo_radius2)) { //if radius2 is empty this is a curve\n radiusStr = RadiusAbbr + \" \" + text(round(cogo_radius, DistUnitRounding), NumberFormat);\n }\n else { // it is a spiral\n radiusStr = RadiusAbbr + \" \" + text(round(cogo_radius, DistUnitRounding),NumberFormat);\n radius2Str = Radius2Abbr + \" \" + text(round(cogo_radius2, DistUnitRounding),NumberFormat);\n if (cogo_radius == 0) { //substitute to infinity sign\n radiusStr = RadiusAbbr + \" ∞ \";\n }\n if (cogo_radius2 == 0) { //substitute to infinity sign\n radius2Str = Radius2Abbr + \" ∞ \";\n }\n } \n \n }\n}\n\n// Curve Parameter\nif (ShowCurveParameter) {\n if (!IsEmpty(cogo_arclength)) {\n if (CurveParameter == 'ArcLength') {\n curveStr = text(round(cogo_arclength, DistUnitRounding), NumberFormat); //return Arc length\n }\n angleRad = cogo_arclength/(abs(cogo_radius)) //calculate angle in radians\n if (CurveParameter == 'Angle') {\n curveStr = DMS_North(angleRad * 180 / pi); // convert radian to degrees and show as DMS\n }\n if (CurveParameter == 'Chord') {\n curveStr = text(round((2 * abs(cogo_radius) * Sin(angleRad/2)),DistUnitRounding), NumberFormat); //calculate chord length\n } \n }\n}\n\n//Determine type of curve displayed\nvar CurveTypePrefix = \"\"\nif (!IsEmpty(curveStr)){\n if (CurveParameter == 'ArcLength'){\n CurveTypePrefix = ArclengthAbrr\n }\n else if (CurveParameter == 'Angle'){\n CurveTypePrefix = AngleAbbr\n }\n else if (CurveParameter == 'Chord'){\n CurveTypePrefix = ChordAbbr\n }\n}\n\nvar isStraightLine = IsEmpty(radiusStr) && IsEmpty(radius2Str) && IsEmpty(curveStr)\n\n// Assemble label string\n\n//Straight lines\nif (isStraightLine){\n if (!IsEmpty(directionStr) && !IsEmpty(distanceStr)){ //If Direction and Distance are both NOT Empty\n return fontNameSize + \"\" + directionStr + \"<\/CLR>\" + \"\\n\" +\n \"\" + distanceStr + \"<\/CLR><\/FNT>\";\n }\n else if (IsEmpty(directionStr)){ //If Direction is empty\n return fontNameSize + \"\" +\n distanceStr + \"<\/CLR><\/FNT>\";\n }\n else{ //If Distance is empty\n return fontNameSize + \"\" + directionStr + \"<\/CLR><\/FNT>\";\n }\n}\n\n//Curves\n//If one or both radii and the curve string are NOT empty show the full curve\nif ((!IsEmpty(radiusStr) || !IsEmpty(radius2Str)) && !IsEmpty(curveStr)){\n return fontNameSize + \"\" + radiusStr + \"<\/CLR>\" + \" \" +\n \"\" + radius2Str + \"<\/CLR>\" + \"\\n\" +\n \"\" + CurveTypePrefix + ' ' +\n curveStr + \"<\/CLR><\/FNT>\";\n}\n//If the curve is empty\nelse if (IsEmpty(curveStr)){\n return fontNameSize + \"\" + radiusStr + \"<\/CLR>\" + \" \" +\n \"\" + radius2Str + \"<\/CLR><\/FNT>\"\n}\n//If both radius are empty\nelse{\n return fontNameSize + \"\" + CurveTypePrefix + ' ' +\n curveStr + \"<\/CLR><\/FNT>\";\n}", "title": "Distance" }, "labelPlacement": "esriServerLinePlacementBelowStart", "textLayout": "followFeature", "deconflictionStrategy": "static", "lineConnection": "none", "multiPart": "labelPerFeature", "offsetDistance": 3, "stackLabel": false, "removeDuplicates": "none", "useCodedValues": false, "maxScale": 0, "minScale": 2000, "name": "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": 6, "style": "normal", "weight": "normal", "decoration": "none" } } } ] }, "defaultVisibility": true, "extent": { "xmin": 828070.9180540778, "ymin": 427409.37574732304, "xmax": 923905.339245744, "ymax": 555806.7938207388, "spatialReference": { "wkid": 103407, "latestWkid": 103407, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -17646100, "falseY": -48340000, "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 ShowDistance = true; //set as 'true' to show distance\nvar ShowDirection = true; //set as 'true' to show direction\nvar DirectionType = 1; // 1 = Quadrant Bearing; 2 = North Azimuth; 3 = South Azimuth\nvar ShowRadius = true; //set as 'true' to show radius\nvar ShowCurveParameter = 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// VARIABLES\nvar cogo_direction = $feature.Direction;\nvar cogo_distance = $feature.Distance;\nvar cogo_radius = $feature.Radius;\nvar cogo_arclength = $feature.Arclength;\nvar cogo_radius2 = $feature.Radius2\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 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\nif (IsEmpty(cogo_direction) && IsEmpty(cogo_distance) && IsEmpty(cogo_radius) && IsEmpty(cogo_radius2) && IsEmpty(cogo_arclength)){\n return \"\"\n}\n\nfunction NorthAzimuth2Quadbearing(azimuth){\n return ConvertDirection(azimuth, {directionType:'North', angleType: 'Degrees'}, {directionType:'Quadrant', angleType: 'DMS', outputType: 'text', format: 'pd[°]mm[\\']ss[\"]b'})\n}\n\nfunction DMS_North(azimuth){\n return ConvertDirection(azimuth, {directionType:'North', angleType: 'Degrees'}, {directionType:'North', angleType: 'DMS', outputType: 'text', format: 'd[°]mm[\\']ss[\"]'})\n}\n\nfunction DMS_South(azimuth){\n return ConvertDirection(azimuth, {directionType:'North', angleType: 'Degrees'}, {directionType:'South', angleType: 'DMS', outputType: 'text', format: 'd[°]mm[\\']ss[\"]'})\n}\n\nfunction IsValidCOGO(cogo_direction, cogo_distance, cogo_radius, cogo_arclength, cogo_radius2) {\n binaryDictionary= Dictionary('dir', 1, 'dist',2, 'rad',4, 'arc',8, 'rad2',16)\n if (!IsEmpty(cogo_direction)) {checksum+=binaryDictionary.dir}\n if (!IsEmpty(cogo_distance)) {checksum+=binaryDictionary.dist}\n if (!IsEmpty(cogo_radius)) {checksum+=binaryDictionary.rad}\n if (!IsEmpty(cogo_arclength)) {checksum+=binaryDictionary.arc}\n if (!IsEmpty(cogo_radius2)) {checksum+=binaryDictionary.rad2}\n \n validValuesArray=[0,3,13,29]; //array of valid combinations: '0' for nothing, ... '13' for direction & radius & arclength ...\n partialValuesArray=[1,2,4,5,8,9,12,16,17,20,21,24,25,27,28]; //array of partial combinations: '1' for only direction, '2' for only distance, '4' for only radius...\n //Invalid Values = [6,7,10,11,14,15,18,19,22,23,26,30,31]\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\nfunction COGOTypePrefixPostfix(cogotypeValue){\n if (ShowCOGOType){\n if (cogotypeValue == 1) { //Entered\n return COGOType_Entered\n }\n else if(cogotypeValue == 2) { //From Geometry\n return COGOType_FromGeom\n }\n else if(cogotypeValue == 3) { //Computed\n return COGOType_Computed\n }\n else { //If not set or invalid value\n return ['', '']\n }\n }\n else{\n return(['', ''])\n }\n}\n\nCOGOValidity = IsValidCOGO(cogo_direction, cogo_distance, cogo_radius, cogo_arclength, cogo_radius2);\nif ( COGOValidity == \"invalid\") { //if invalid COGO return error string\n return ErrorString;\n}\n\n\n// Direction string\nif (ShowDirection) {\n if (IsEmpty(cogo_direction)==false) {\n if (DirectionType == 1) { //using quadrant bearing format\n directionStr = NorthAzimuth2Quadbearing(cogo_direction);\n }\n else if (DirectionType == 2) { //using north azimuth format\n directionStr = DMS_North(cogo_direction);\n }\n else if (DirectionType == 3) { //using south azimuth format\n directionStr = DMS_South(cogo_direction);\n }\n }\n}\n\n// Distance string\nif (ShowDistance) {\n if (IsEmpty(cogo_distance)==false) {\n distanceStr = text(round(cogo_distance,DistUnitRounding), NumberFormat);\n }\n}\n\n//Radius String\nif (ShowRadius) {\n if (!IsEmpty(cogo_radius)) { //it can be a curve or a spiral\n if (IsEmpty(cogo_radius2)) { //if radius2 is empty this is a curve\n radiusStr = RadiusAbbr + \" \" + text(round(cogo_radius, DistUnitRounding), NumberFormat);\n }\n else { // it is a spiral\n radiusStr = RadiusAbbr + \" \" + text(round(cogo_radius, DistUnitRounding),NumberFormat);\n radius2Str = Radius2Abbr + \" \" + text(round(cogo_radius2, DistUnitRounding),NumberFormat);\n if (cogo_radius == 0) { //substitute to infinity sign\n radiusStr = RadiusAbbr + \" ∞ \";\n }\n if (cogo_radius2 == 0) { //substitute to infinity sign\n radius2Str = Radius2Abbr + \" ∞ \";\n }\n }\n\n }\n}\n\n// Curve Parameter\nif (ShowCurveParameter) {\n if (!IsEmpty(cogo_arclength)) {\n if (CurveParameter == 'ArcLength') {\n curveStr = text(round(cogo_arclength, DistUnitRounding), NumberFormat); //return Arc length\n }\n angleRad = cogo_arclength/(abs(cogo_radius)) //calculate angle in radians\n if (CurveParameter == 'Angle') {\n curveStr = DMS_North(angleRad * 180 / pi); // convert radian to degrees and show as DMS\n }\n if (CurveParameter == 'Chord') {\n curveStr = text(round((2 * abs(cogo_radius) * Sin(angleRad/2)),DistUnitRounding), NumberFormat); //calculate chord length\n }\n }\n}\n\n//Determine type of curve displayed\nvar CurveTypePrefix = \"\"\nif (!IsEmpty(curveStr)){\n if (CurveParameter == 'ArcLength'){\n CurveTypePrefix = ArclengthAbrr\n }\n else if (CurveParameter == 'Angle'){\n CurveTypePrefix = AngleAbbr\n }\n else if (CurveParameter == 'Chord'){\n CurveTypePrefix = ChordAbbr\n }\n}\n\nvar isStraightLine = IsEmpty(radiusStr) && IsEmpty(radius2Str) && IsEmpty(curveStr)\n\n\n// Assemble label string\nif (isStraightLine){\n if (!IsEmpty(directionStr) && !IsEmpty(distanceStr)){ //If Direction and Distance are both NOT Empty\n return directionStr + ' ' + distanceStr;\n }\n else if (IsEmpty(directionStr)){ //If Direction is empty\n return distanceStr;\n }\n else{ //If Distance is empty\n return directionStr\n }\n}\n\n//Curves\n//If one or both radii and the curve string are NOT empty show the full curve\nif ((!IsEmpty(radiusStr) || !IsEmpty(radius2Str)) && !IsEmpty(curveStr)){\n return radiusStr + \" \" + radius2Str + ' ' + CurveTypePrefix + ' ' + curveStr;\n}\n//If the curve is empty\nelse if (IsEmpty(curveStr)){\n return radiusStr + \" \" + radius2Str\n}\n//If both radius are empty\nelse{\n return CurveTypePrefix + ' ' + curveStr;\n}\n\n\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": "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": "CreatedByRecord", "type": "esriFieldTypeGUID", "alias": "Created By Record", "length": 38, "domain": null }, { "name": "RetiredByRecord", "type": "esriFieldTypeGUID", "alias": "Retired By Record", "length": 38, "domain": null }, { "name": "ParentLineID", "type": "esriFieldTypeGUID", "alias": "Parent Line ID", "length": 38, "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": "DirectionAccuracy", "type": "esriFieldTypeDouble", "alias": "Direction Accuracy", "domain": null }, { "name": "DistanceAccuracy", "type": "esriFieldTypeDouble", "alias": "Distance Accuracy", "domain": null }, { "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": "created_user", "type": "esriFieldTypeString", "alias": "Created By", "length": 255, "domain": null }, { "name": "created_date", "type": "esriFieldTypeDate", "alias": "Created Date", "length": 8, "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": "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": "Roads", "type": "esriFieldTypeSmallInteger", "alias": "Roads", "domain": null }, { "name": "Parcel", "type": "esriFieldTypeSmallInteger", "alias": "Parcel", "domain": null }, { "name": "Municipality", "type": "esriFieldTypeSmallInteger", "alias": "Municipality", "domain": null }, { "name": "MuniID", "type": "esriFieldTypeString", "alias": "MuniID", "length": 3, "domain": null }, { "name": "QC1", "type": "esriFieldTypeInteger", "alias": "QC1", "domain": null }, { "name": "Delta", "type": "esriFieldTypeString", "alias": "Delta", "length": 10, "domain": null }, { "name": "Tangent", "type": "esriFieldTypeString", "alias": "Tangent", "length": 10, "domain": null }, { "name": "Side", "type": "esriFieldTypeString", "alias": "Side", "length": 1, "domain": null }, { "name": "BoundaryType", "type": "esriFieldTypeInteger", "alias": "BoundaryType", "domain": null }, { "name": "Shape.STLength()", "type": "esriFieldTypeDouble", "alias": "Shape.STLength()", "domain": null } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape" }, "indexes": [ { "name": "UUID_1258", "fields": "GlobalID", "isAscending": true, "isUnique": false, "description": "" }, { "name": "S1217_idx", "fields": "Shape", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": true, "capabilities": "Query,Map,Data", "maxRecordCount": 2000, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "hasZ": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "isDataVersioned": false, "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, "supportsPagination": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true, "supportsTimeRelation": true, "supportsSqlFormat": false, "supportsQueryAnalytic": true }, "supportsDatumTransformation": true, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": false, "supportsPercentileAnalytic": true }, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasGeometryProperties": true, "geometryProperties": { "shapeLengthFieldName": "Shape.STLength()", "units": "esriFeet" }, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true }, { "currentVersion": 10.91, "cimVersion": "2.9.0", "id": 4, "name": "Parcels", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPolygon", "sourceSpatialReference": { "wkid": 103407, "latestWkid": 103407, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -17646100, "falseY": -48340000, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": 0, "mUnits": 1 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "simple", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 130, 130, 130, 0 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 204, 204, 204, 255 ], "width": 1 } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": [ { "labelExpressionInfo": { "expression": "$feature.LOCID", "title": "Custom" }, "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal", "multiPart": "labelPerPart", "allowOverrun": false, "deconflictionStrategy": "dynamic", "repeatLabel": false, "allowOverlapOfFeatureInterior": "avoid", "allowOverlapOfFeatureBoundary": "avoid", "stackLabel": true, "stackRowLength": 24, "stackAlignment": "dynamic", "removeDuplicates": "none", "useCodedValues": true, "maxScale": 10000, "minScale": 20000, "name": "20k", "priority": -1, "symbol": { "type": "esriTS", "color": [ 104, 104, 104, 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" } } }, { "labelExpressionInfo": { "expression": "Replace($feature.OWNER1NAME, \"&\", \"&\") + TextFormatting.NewLine + \"\" + $feature.PinLink + \"<\/CLR>\"", "title": "Custom" }, "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal", "multiPart": "labelPerPart", "allowOverrun": false, "deconflictionStrategy": "dynamic", "repeatLabel": false, "allowOverlapOfFeatureInterior": "avoid", "allowOverlapOfFeatureBoundary": "avoid", "stackLabel": true, "stackRowLength": 24, "stackAlignment": "dynamic", "removeDuplicates": "none", "useCodedValues": true, "maxScale": 5000, "minScale": 10000, "name": "10k", "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" } } }, { "labelExpressionInfo": { "expression": "Replace($feature.OWNER1NAME, \"&\", \"&\") + TextFormatting.NewLine + \"\" + $feature.PinLink + \"<\/CLR>\" + TextFormatting.NewLine + \"\" + Round($feature.GISAC, 2) + \"ac\" + \"<\/CLR>\" ", "title": "Custom" }, "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal", "multiPart": "labelPerPart", "allowOverrun": false, "deconflictionStrategy": "dynamic", "repeatLabel": false, "allowOverlapOfFeatureInterior": "avoid", "allowOverlapOfFeatureBoundary": "avoid", "stackLabel": true, "stackRowLength": 24, "stackAlignment": "dynamic", "removeDuplicates": "none", "useCodedValues": true, "maxScale": 3000, "minScale": 5000, "name": "5k", "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" } } }, { "labelExpressionInfo": {"expression": "// Get the existing fields and replace & with & in OWNER1NAME\nvar ownerName = Replace($feature.OWNER1NAME, \"&\", \"&\")\nvar pinLink = $feature.PinLink\nvar gisAc = Round($feature.GISAC, 2)\n\n// Get the value of the BLK_LOT field\nvar blkLot = $feature.BLK_LOT\n\n// Initialize blkLotDisplay and blkLotExtract\nvar blkLotDisplay = \"\"\nvar blkLotExtract = \"\"\n\n// Check if BLK_LOT contains \"OL\"\nvar olIndex = Find(\"OL\", blkLot)\n\nif (olIndex != -1) {\n // If \"OL\" is found, display BLK_LOT in red\n blkLotExtract = Mid(blkLot, 4, 1)\n blkLotDisplay = \"OL\" + blkLotExtract\n} else if (blkLot != \"0000000\") {\n // If \"OL\" is not found and BLK_LOT is not \"0000000\", extract the fourth and fifth characters\n blkLotExtract = Mid(blkLot, 3, 2) // Start at index 3 for 2 characters (0-based index)\n blkLotDisplay = \"Lot \" + blkLotExtract\n}\n\n// Build the final label, excluding \"Condo Parent\" values in Condo field\nif (blkLotDisplay != \"\" && $feature.Condo != \"Condo Parent\") {\n return ownerName + TextFormatting.NewLine + \n \"\" + pinLink + \"<\/CLR>\" + TextFormatting.NewLine + \n \"\" + gisAc + \" ac\" + \"<\/CLR>\" + TextFormatting.NewLine + \n blkLotDisplay\n} else {\n return ownerName + TextFormatting.NewLine + \n \"\" + pinLink + \"<\/CLR>\" + TextFormatting.NewLine + \n \"\" + gisAc + \" ac\" + \"<\/CLR>\"\n}\n"}, "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal", "multiPart": "labelPerPart", "allowOverrun": false, "deconflictionStrategy": "dynamic", "repeatLabel": false, "allowOverlapOfFeatureInterior": "avoid", "allowOverlapOfFeatureBoundary": "avoid", "stackLabel": true, "stackRowLength": 24, "stackAlignment": "dynamic", "removeDuplicates": "none", "useCodedValues": true, "maxScale": 1000, "minScale": 3000, "name": "3k", "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" } } }, { "labelExpressionInfo": { "expression": "// Get the existing fields and replace & with & in OWNER1NAME\nvar ownerName = Replace($feature.OWNER1NAME, \"&\", \"&\")\nvar pinLink = $feature.PinLink\nvar gisAc = Round($feature.GISAC, 2)\n\n// Get the value of the BLK_LOT field\nvar blkLot = $feature.BLK_LOT\n\n// Initialize blkLotDisplay and blkLotExtract\nvar blkLotDisplay = \"\"\nvar blkLotExtract = \"\"\n\n// Check if BLK_LOT contains \"OL\"\nvar olIndex = Find(\"L\", blkLot)\n\nif (olIndex != -1) {\n // If \"OL\" is found, display BLK_LOT in red\n blkLotExtract = Mid(blkLot, 4, 1)\n blkLotDisplay = \"OL\" + blkLotExtract\n} else if (blkLot != \"0000000\") {\n // If \"OL\" is not found and BLK_LOT is not \"0000000\", extract the fourth and fifth characters\n blkLotExtract = Mid(blkLot, 3, 2) // Start at index 3 for 2 characters (0-based index)\n blkLotDisplay = \"Lot \" + blkLotExtract\n}\n\n// Build the final label, excluding \"Condo Parent\" values in Condo field\nif (blkLotDisplay != \"\" && $feature.Condo != \"Condo Parent\") {\n return ownerName + TextFormatting.NewLine + \n \"\" + pinLink + \"<\/CLR>\" + TextFormatting.NewLine + \n \"\" + gisAc + \" ac\" + \"<\/CLR>\" + TextFormatting.NewLine + \n blkLotDisplay\n} else {\n return ownerName + TextFormatting.NewLine + \n \"\" + pinLink + \"<\/CLR>\" + TextFormatting.NewLine + \n \"\" + gisAc + \" ac\" + \"<\/CLR>\"\n}\n", "title": "Custom" }, "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal", "multiPart": "labelPerPart", "allowOverrun": false, "deconflictionStrategy": "dynamic", "repeatLabel": false, "allowOverlapOfFeatureInterior": "avoid", "allowOverlapOfFeatureBoundary": "avoid", "stackLabel": true, "stackRowLength": 24, "stackAlignment": "dynamic", "removeDuplicates": "all", "removeDuplicatesDistance": 216, "useCodedValues": true, "maxScale": 0, "minScale": 1000, "name": "1K", "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": 828071.899023246, "ymin": 427409.37574732304, "xmax": 923778.6373994127, "ymax": 555740.3336518183, "spatialReference": { "wkid": 103407, "latestWkid": 103407, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -17646100, "falseY": -48340000, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "OWNER1NAME", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "GlobalID", "type": "esriFieldTypeGlobalID", "alias": "GlobalID", "length": 38, "domain": null }, { "name": "ParcelType", "type": "esriFieldTypeInteger", "alias": "ParcelType", "domain": null }, { "name": "PinLink", "type": "esriFieldTypeString", "alias": "PinLink", "length": 9, "domain": null }, { "name": "GISAC", "type": "esriFieldTypeDouble", "alias": "GISAC", "domain": null }, { "name": "MuniID", "type": "esriFieldTypeString", "alias": "MuniID", "length": 3, "domain": null }, { "name": "Editor", "type": "esriFieldTypeString", "alias": "Editor", "length": 50, "domain": null }, { "name": "Edit_Date", "type": "esriFieldTypeDate", "alias": "Edit_Date", "length": 8, "domain": null }, { "name": "LOCID", "type": "esriFieldTypeString", "alias": "LOCID", "length": 30, "domain": null }, { "name": "MUNI", "type": "esriFieldTypeString", "alias": "MUNI", "length": 100, "domain": null }, { "name": "MUNCODE", "type": "esriFieldTypeString", "alias": "MUNCODE", "length": 10, "domain": null }, { "name": "PLATCODE", "type": "esriFieldTypeString", "alias": "PLATCODE", "length": 4, "domain": null }, { "name": "BLK_LOT", "type": "esriFieldTypeString", "alias": "BLK_LOT", "length": 7, "domain": null }, { "name": "NC", "type": "esriFieldTypeString", "alias": "NC", "length": 3, "domain": null }, { "name": "FRAC_NC", "type": "esriFieldTypeString", "alias": "FRAC_NC", "length": 1, "domain": null }, { "name": "TRSEC", "type": "esriFieldTypeString", "alias": "TRSEC", "length": 6, "domain": null }, { "name": "TRACT", "type": "esriFieldTypeString", "alias": "TRACT", "length": 2, "domain": null }, { "name": "QTRQTR", "type": "esriFieldTypeString", "alias": "QTRQTR", "length": 4, "domain": null }, { "name": "YROFLGL", "type": "esriFieldTypeInteger", "alias": "YROFLGL", "domain": null }, { "name": "LEGAL", "type": "esriFieldTypeString", "alias": "LEGAL", "length": 2048, "domain": null }, { "name": "Condo", "type": "esriFieldTypeString", "alias": "Condo", "length": 100, "domain": null }, { "name": "PLATNM", "type": "esriFieldTypeString", "alias": "PLATNM", "length": 1, "domain": null }, { "name": "PLTBLK", "type": "esriFieldTypeString", "alias": "PLTBLK", "length": 1, "domain": null }, { "name": "LOTNO", "type": "esriFieldTypeString", "alias": "LOTNO", "length": 50, "domain": null }, { "name": "DOCNO", "type": "esriFieldTypeString", "alias": "DOCNO", "length": 15, "domain": null }, { "name": "CABNO", "type": "esriFieldTypeString", "alias": "CABNO", "length": 1, "domain": null }, { "name": "SLIDE", "type": "esriFieldTypeInteger", "alias": "SLIDE", "domain": null }, { "name": "OWNER1NAME", "type": "esriFieldTypeString", "alias": "OWNER1NAME", "length": 161, "domain": null }, { "name": "OWNER2NAME", "type": "esriFieldTypeString", "alias": "OWNER2NAME", "length": 60, "domain": null }, { "name": "MAILADD1", "type": "esriFieldTypeString", "alias": "MAILADD1", "length": 60, "domain": null }, { "name": "MAILADD2", "type": "esriFieldTypeString", "alias": "MAILADD2", "length": 70, "domain": null }, { "name": "MAILCITY", "type": "esriFieldTypeString", "alias": "MAILCITY", "length": 50, "domain": null }, { "name": "MAILST", "type": "esriFieldTypeString", "alias": "MAILST", "length": 2, "domain": null }, { "name": "MAILZIP", "type": "esriFieldTypeString", "alias": "MAILZIP", "length": 10, "domain": null }, { "name": "PHYSADD", "type": "esriFieldTypeString", "alias": "PHYSADD", "length": 255, "domain": null }, { "name": "TOTPARACRE", "type": "esriFieldTypeDouble", "alias": "TOTPARACRE", "domain": null }, { "name": "ASSESIMPRO", "type": "esriFieldTypeDouble", "alias": "ASSESIMPRO", "domain": null }, { "name": "ASSESLAND", "type": "esriFieldTypeDouble", "alias": "ASSESLAND", "domain": null }, { "name": "ASSESTOT", "type": "esriFieldTypeDouble", "alias": "ASSESTOT", "domain": null }, { "name": "FMV", "type": "esriFieldTypeDouble", "alias": "FMV", "domain": null }, { "name": "RECORDDATE", "type": "esriFieldTypeString", "alias": "RECORDDATE", "length": 1, "domain": null }, { "name": "COMBILCODE", "type": "esriFieldTypeString", "alias": "COMBILCODE", "length": 1, "domain": null }, { "name": "FDCODE", "type": "esriFieldTypeString", "alias": "FDCODE", "length": 10, "domain": null }, { "name": "FDDIST", "type": "esriFieldTypeString", "alias": "FDDIST", "length": 100, "domain": null }, { "name": "SANICODE", "type": "esriFieldTypeString", "alias": "SANICODE", "length": 10, "domain": null }, { "name": "SANIDIST", "type": "esriFieldTypeString", "alias": "SANIDIST", "length": 100, "domain": null }, { "name": "SCHLCODE", "type": "esriFieldTypeString", "alias": "SCHLCODE", "length": 10, "domain": null }, { "name": "SCHLDIST", "type": "esriFieldTypeString", "alias": "SCHLDIST", "length": 100, "domain": null }, { "name": "VOCCODE", "type": "esriFieldTypeString", "alias": "VOCCODE", "length": 10, "domain": null }, { "name": "VOCDIST", "type": "esriFieldTypeString", "alias": "VOCDIST", "length": 100, "domain": null }, { "name": "FILTER", "type": "esriFieldTypeString", "alias": "FILTER", "length": 1, "domain": null }, { "name": "VALCODE1", "type": "esriFieldTypeString", "alias": "VALCODE1", "length": 20, "domain": null }, { "name": "VALDESC1", "type": "esriFieldTypeString", "alias": "VALDESC1", "length": 50, "domain": null }, { "name": "VALCODE2", "type": "esriFieldTypeString", "alias": "VALCODE2", "length": 20, "domain": null }, { "name": "VALDESC2", "type": "esriFieldTypeString", "alias": "VALDESC2", "length": 50, "domain": null }, { "name": "VALCODE3", "type": "esriFieldTypeString", "alias": "VALCODE3", "length": 20, "domain": null }, { "name": "VALDESC3", "type": "esriFieldTypeString", "alias": "VALDESC3", "length": 50, "domain": null }, { "name": "VALCODE4", "type": "esriFieldTypeString", "alias": "VALCODE4", "length": 20, "domain": null }, { "name": "VALDESC4", "type": "esriFieldTypeString", "alias": "VALDESC4", "length": 50, "domain": null }, { "name": "VALCODE5", "type": "esriFieldTypeString", "alias": "VALCODE5", "length": 20, "domain": null }, { "name": "VALDESC5", "type": "esriFieldTypeString", "alias": "VALDESC5", "length": 50, "domain": null }, { "name": "VALCODE6", "type": "esriFieldTypeString", "alias": "VALCODE6", "length": 20, "domain": null }, { "name": "VALDESC6", "type": "esriFieldTypeString", "alias": "VALDESC6", "length": 50, "domain": null }, { "name": "VALCODE7", "type": "esriFieldTypeString", "alias": "VALCODE7", "length": 20, "domain": null }, { "name": "VALDESC7", "type": "esriFieldTypeString", "alias": "VALDESC7", "length": 50, "domain": null }, { "name": "VALCODE8", "type": "esriFieldTypeString", "alias": "VALCODE8", "length": 20, "domain": null }, { "name": "VALDESC8", "type": "esriFieldTypeString", "alias": "VALDESC8", "length": 50, "domain": null }, { "name": "ENSPOW", "type": "esriFieldTypeString", "alias": "ENSPOW", "length": 1, "domain": null }, { "name": "ENSCPN", "type": "esriFieldTypeString", "alias": "ENSCPN", "length": 1, "domain": null }, { "name": "ENSSPN", "type": "esriFieldTypeString", "alias": "ENSSPN", "length": 1, "domain": null }, { "name": "MAP", "type": "esriFieldTypeString", "alias": "MAP", "length": 1, "domain": null }, { "name": "BASEPIN", "type": "esriFieldTypeString", "alias": "BASEPIN", "length": 1, "domain": null }, { "name": "DELINTAX", "type": "esriFieldTypeString", "alias": "DELINTAX", "length": 1, "domain": null }, { "name": "LRDOCNO", "type": "esriFieldTypeString", "alias": "LRDOCNO", "length": 15, "domain": null }, { "name": "LRDATE", "type": "esriFieldTypeDate", "alias": "LRDATE", "length": 8, "domain": null }, { "name": "LRFEE", "type": "esriFieldTypeSingle", "alias": "LRFEE", "domain": null }, { "name": "PARNO", "type": "esriFieldTypeString", "alias": "PARNO", "length": 64, "domain": null }, { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null }, { "name": "Shape.STArea()", "type": "esriFieldTypeDouble", "alias": "Shape.STArea()", "domain": null }, { "name": "Shape.STLength()", "type": "esriFieldTypeDouble", "alias": "Shape.STLength()", "domain": null } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape" }, "indexes": [ { "name": "R1249_pk", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "UUID_1249", "fields": "GlobalID", "isAscending": true, "isUnique": false, "description": "" }, { "name": "S1214_idx", "fields": "Shape", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": true, "capabilities": "Query,Map,Data", "maxRecordCount": 2000, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "hasZ": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "isDataVersioned": false, "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, "supportsPagination": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true, "supportsTimeRelation": true, "supportsSqlFormat": false, "supportsQueryAnalytic": true }, "supportsDatumTransformation": true, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": false, "supportsPercentileAnalytic": true }, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasGeometryProperties": true, "geometryProperties": { "shapeAreaFieldName": "Shape.STArea()", "shapeLengthFieldName": "Shape.STLength()", "units": "esriFeet" }, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true }, { "currentVersion": 10.91, "cimVersion": "2.9.0", "id": 5, "name": "Plats", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPolygon", "sourceSpatialReference": { "wkid": 103407, "latestWkid": 103407, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -17646100, "falseY": -48340000, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": 0, "mUnits": 1 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 5000, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "field1": "PlatType", "uniqueValueInfos": [ { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 0, 169, 230, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 132, 168, 255 ], "width": 8 } }, "value": "1", "label": "Subdivision Plat" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 169, 0, 230, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 76, 0, 115, 255 ], "width": 8 } }, "value": "2", "label": "Certified Survey Map" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 76, 230, 0, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 38, 115, 0, 255 ], "width": 8 } }, "value": "3", "label": "Condo Plat" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 184, 232, 255 ], "toColor": [ 252, 184, 232, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 184, 252, 185, 255 ], "toColor": [ 184, 252, 185, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 233, 252, 255 ], "toColor": [ 179, 233, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 215, 182, 255 ], "toColor": [ 252, 215, 182, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 182, 252, 255 ], "toColor": [ 179, 182, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 250, 252, 179, 255 ], "toColor": [ 250, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 212, 252, 230, 255 ], "toColor": [ 212, 252, 230, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 187, 193, 255 ], "toColor": [ 252, 187, 193, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 217, 212, 252, 255 ], "toColor": [ 217, 212, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 249, 215, 255 ], "toColor": [ 252, 249, 215, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 215, 237, 255 ], "toColor": [ 252, 215, 237, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 229, 189, 252, 255 ], "toColor": [ 229, 189, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 222, 252, 202, 255 ], "toColor": [ 222, 252, 202, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 70, "labelingInfo": [ { "labelExpressionInfo": { "expression": "var nameField = $feature.NAME;\n\n// Try to convert nameField to a number\n//var numericValue = Number(nameField);\n\n// Check if the conversion was successful\nif ($feature.PlatType == 1){\n return nameField;\n} else if ($feature.PlatType == 2) {\n return \"\" + \"CSM#\" + nameField + \"<\/CLR>\";\n} else {\n return \"\" + nameField + \"<\/CLR>\";\n}\n//if (!IsNan(numericValue) && Text(numericValue) == nameField) {\n// return \"\" + \"CSM#\" + nameField + \"<\/CLR>\";\n//} else {\n// return nameField;\n//}\n\n\n", "title": "Custom" }, "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal", "multiPart": "labelPerPart", "allowOverrun": false, "deconflictionStrategy": "dynamic", "repeatLabel": false, "allowOverlapOfFeatureInterior": "avoid", "allowOverlapOfFeatureBoundary": "avoid", "stackLabel": true, "stackRowLength": 24, "stackAlignment": "dynamic", "removeDuplicates": "none", "useCodedValues": true, "maxScale": 0, "minScale": 5000, "name": "Class 1", "priority": -1, "symbol": { "type": "esriTS", "color": [ 0, 132, 168, 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": 3, "font": { "family": "Arial", "size": 12, "style": "normal", "weight": "bold", "decoration": "none" } } } ] }, "defaultVisibility": true, "extent": { "xmin": 830955.441484496, "ymin": 427441.99149573594, "xmax": 923771.3591987453, "ymax": 555602.8897009864, "spatialReference": { "wkid": 103407, "latestWkid": 103407, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -17646100, "falseY": -48340000, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "Name", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "GlobalID", "type": "esriFieldTypeGlobalID", "alias": "GlobalID", "length": 38, "domain": null }, { "name": "Name", "type": "esriFieldTypeString", "alias": "Name", "length": 255, "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": "StatedArea", "type": "esriFieldTypeDouble", "alias": "Stated Area", "domain": null }, { "name": "StatedAreaUnit", "type": "esriFieldTypeInteger", "alias": "Stated Area Unit", "domain": null }, { "name": "CalculatedArea", "type": "esriFieldTypeDouble", "alias": "Calculated Area", "domain": null }, { "name": "MiscloseRatio", "type": "esriFieldTypeDouble", "alias": "Misclose Ratio", "domain": null }, { "name": "MiscloseDistance", "type": "esriFieldTypeDouble", "alias": "Misclose Distance", "domain": null }, { "name": "IsSeed", "type": "esriFieldTypeInteger", "alias": "Is Seed", "domain": null }, { "name": "created_user", "type": "esriFieldTypeString", "alias": "Created By", "length": 255, "domain": null }, { "name": "created_date", "type": "esriFieldTypeDate", "alias": "Created Date", "length": 8, "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": "VALIDATIONSTATUS", "type": "esriFieldTypeSmallInteger", "alias": "Validation status", "domain": null }, { "name": "MuniID", "type": "esriFieldTypeString", "alias": "MuniID", "length": 3, "domain": null }, { "name": "PlatType", "type": "esriFieldTypeInteger", "alias": "Plat Type", "domain": null }, { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null }, { "name": "Shape.STArea()", "type": "esriFieldTypeDouble", "alias": "Shape.STArea()", "domain": null }, { "name": "Shape.STLength()", "type": "esriFieldTypeDouble", "alias": "Shape.STLength()", "domain": null } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape" }, "indexes": [ { "name": "R1263_pk", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "UUID_1263", "fields": "GlobalID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "S1222_idx", "fields": "Shape", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": true, "capabilities": "Query,Map,Data", "maxRecordCount": 2000, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "hasZ": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "isDataVersioned": false, "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, "supportsPagination": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true, "supportsTimeRelation": true, "supportsSqlFormat": false, "supportsQueryAnalytic": true }, "supportsDatumTransformation": true, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": false, "supportsPercentileAnalytic": true }, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasGeometryProperties": true, "geometryProperties": { "shapeAreaFieldName": "Shape.STArea()", "shapeLengthFieldName": "Shape.STLength()", "units": "esriFeet" }, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "11493f85d2e540239e2e040017ce5613" } ], "tables": [] }