{ "layers": [ { "currentVersion": 10.71, "cimVersion": "2.4.0", "id": 2, "name": "GIS.AGP_ConstructParcelLabels", "type": "Feature Layer", "description": "The parcel data set delineates cadastral features within Lincoln County, Wisconsin. Each parcel is attributed with the county's parcel identification number (PIN). the PIN is used to relate parcels to real property listing and zoning databases, among others. Parcel boundaries are derived from a variety of sources including GPS control, digital orthophotography, original Public Land Survey System (PLSS) plat maps, an adjusted version of the Wisconsin Department of Natural Recources (WDNR) LandNet, scanned/registered tax parcel assessment sheets, legal documents, Certified Survey Maps (CSMs), subdivision plats, as well as road centerlines and hydrology. These source materials are of several different scales and are from dates ranging from the 1850's to present. The cadastral boundaries are mapped to fit within Lincoln County's Public Land Survey System (PLSS) grid using coordinate geometry (COGO) and screen digitizing. This point feature class is created into polygons, which in turn are dissolved on certain attributes to create many publication level feature classes which include, but are not limited to, Parcels, Simultaneous Conveyances and Right-of-Way.", "geometryType": "esriGeometryPoint", "sourceSpatialReference": { "wkid": 103434, "latestWkid": 8152, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 2.0E-5, "falseX": -18068700, "falseY": -49116200, "xyUnits": 3048.0060960121928, "falseZ": 0, "zUnits": 10000, "falseM": 0, "mUnits": 1 }, "copyrightText": "This feature class was created and is maintained by the Lincoln County, Wisconsin Land Services Department.", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "drawingInfo": { "renderer": { "type": "simple", "symbol": { "type": "esriPMS", "url": "5d0649deb86e91e71d2141630071389b", "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAoAAAATCAYAAACp65zuAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAyElEQVQokbXRsW3DMBSE4a/gAi7l0ivII6SU15BXSBelywriCim9RriCSrHUCilECTFkwUGAHEAQIH/g3d0LfqlQ7hqXHSZiDDiiq0+aR1QatDgGVGj6lvq0gZxfVagDEtI1qr8+7sH3z5lHWjzGPOkfjF08rmGe6v/AS3XYflYHxkmHGMxlN327Bfv2vp6MfI0qaF/IE7e08gk5YMS5bOCtVCINsrmadYUK3KEpVn6+/S31oryMLt53wZiGOVTxtgveynk6elffa2A7CWhq0m8AAAAASUVORK5CYII=", "contentType": "image/png", "width": 7, "height": 14, "angle": 0, "xoffset": 0, "yoffset": 0 } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": [ { "labelExpressionInfo": {"expression": "$feature.SIMCONLABEL"}, "labelPlacement": "esriServerPointLabelPlacementAboveRight", "deconflictionStrategy": "dynamic", "stackLabel": true, "stackRowLength": 24, "stackAlignment": "dynamic", "removeDuplicates": "none", "useCodedValues": true, "maxScale": 0, "minScale": 0, "name": "Class 1", "priority": -1, "symbol": { "type": "esriTS", "color": [ 255, 170, 0, 255 ], "backgroundColor": null, "borderLineColor": null, "borderLineSize": null, "verticalAlignment": "bottom", "horizontalAlignment": "left", "rightToLeft": false, "angle": 0, "xoffset": 0, "yoffset": 0, "kerning": true, "haloColor": null, "haloSize": null, "font": { "family": "Tahoma", "size": 10, "style": "normal", "weight": "bold", "decoration": "none" } } } ] }, "defaultVisibility": true, "extent": { "xmin": -1.0022385882075135E7, "ymin": 5641154.7932335185, "xmax": -9956166.312595893, "ymax": 5708832.1245790925, "spatialReference": { "wkid": 102100, "latestWkid": 3857, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -20037700, "falseY": -30241100, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "SIMCONFULLNAME", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "PIN", "type": "esriFieldTypeString", "alias": "PIN", "length": 14, "domain": null }, { "name": "PIDNO", "type": "esriFieldTypeString", "alias": "PIDNO", "length": 18, "domain": null }, { "name": "NOPINCASENUM", "type": "esriFieldTypeString", "alias": "No PIN Case Number", "length": 10, "domain": null }, { "name": "FCODE", "type": "esriFieldTypeString", "alias": "Feature Code", "length": 10, "domain": { "type": "codedValue", "name": "ParcelFeatureCode", "description": "Feature Code for different parcel flags", "codedValues": [ { "name": "No Flag", "code": "A" }, { "name": "ROW - Publicly Dedicated", "code": "B" }, { "name": "ROW - Public Easement", "code": "C" }, { "name": "ROW - Private Easement", "code": "D" }, { "name": "ROW - Railroad", "code": "E" }, { "name": "Water Bed", "code": "F" }, { "name": "ROW - Publicly Dedicated, ROW - Railroad", "code": "BE" }, { "name": "ROW - Publicly Dedicated, Water Bed", "code": "BF" }, { "name": "ROW - Public Easement, ROW - Railroad", "code": "CE" }, { "name": "ROW - Public Easement, Water Bed", "code": "CF" }, { "name": "ROW - Private Easement, ROW - Railroad", "code": "DE" }, { "name": "ROW - Private Easement, Water Bed", "code": "DF" }, { "name": "ROW - Railroad, Water Bed", "code": "EF" }, { "name": "ROW - Publicly Dedicated, ROW - Railroad, Water Bed", "code": "BEF" }, { "name": "ROW - Public Easement, ROW - Railroad, Water Bed", "code": "CEF" }, { "name": "ROW - Private Easement, ROW - Railroad, Water Bed", "code": "DEF" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDuplicate" } }, { "name": "SIMCONID", "type": "esriFieldTypeString", "alias": "Plat ID", "length": 20, "domain": null }, { "name": "SIMCONTYPE", "type": "esriFieldTypeString", "alias": "Plat Type", "length": 50, "domain": { "type": "codedValue", "name": "SimCon_Type", "description": "The type of simultaneous Conveyance", "codedValues": [ { "name": "Assessor Plat", "code": "Assessor Plat" }, { "name": "Cemetery Plat", "code": "Cemetery Plat" }, { "name": "Condo", "code": "Condo" }, { "name": "CSM", "code": "CSM" }, { "name": "Other Plat", "code": "Other Plat" }, { "name": "Plat of Survey", "code": "Plat of Survey" }, { "name": "Subdivision", "code": "Subdivision" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDuplicate" } }, { "name": "SIMCONFULLNAME", "type": "esriFieldTypeString", "alias": "Plat Full Name", "length": 255, "domain": null }, { "name": "SIMCONLABEL", "type": "esriFieldTypeString", "alias": "Plat Label", "length": 255, "domain": null }, { "name": "RODDOCNUM", "type": "esriFieldTypeString", "alias": "Register of Deeds Document Number", "length": 10, "domain": null }, { "name": "VOLUME", "type": "esriFieldTypeString", "alias": "Volume", "length": 5, "domain": null }, { "name": "PAGE", "type": "esriFieldTypeString", "alias": "Page", "length": 5, "domain": null }, { "name": "ENVELOPENUM", "type": "esriFieldTypeString", "alias": "Envelope Number", "length": 10, "domain": null }, { "name": "SIMCONFRSTDIVTYPE", "type": "esriFieldTypeString", "alias": "Block/Bldg Type", "length": 30, "domain": { "type": "codedValue", "name": "SimConDiv_Type", "description": "Simultaneous Division Type", "codedValues": [ { "name": "Assessors Plat", "code": "Assessors Plat" }, { "name": "Block", "code": "Block" }, { "name": "Boat Access", "code": "Boat Access" }, { "name": "Building", "code": "Building" }, { "name": "General Common Element", "code": "General Common Element" }, { "name": "Ingress/Egress", "code": "Ingress/Egress" }, { "name": "Limited Common Element", "code": "Limited Common Element" }, { "name": "Lot", "code": "Lot" }, { "name": "Other", "code": "Other" }, { "name": "Outlot", "code": "Outlot" }, { "name": "Parcel", "code": "Parcel" }, { "name": "Park", "code": "Park" }, { "name": "Platted ROW", "code": "Platted ROW" }, { "name": "Plot", "code": "Plot" }, { "name": "Unit", "code": "Unit" }, { "name": "Unknown", "code": "Unknown" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDuplicate" } }, { "name": "SIMCONFRSTDIVNUM", "type": "esriFieldTypeString", "alias": "Block/Bldg Number", "length": 10, "domain": null }, { "name": "SIMCONFRSTDIVLABEL", "type": "esriFieldTypeString", "alias": "Block/Bldg Label", "length": 20, "domain": null }, { "name": "SIMCONSECDIVTYPE", "type": "esriFieldTypeString", "alias": "Lot Type", "length": 30, "domain": { "type": "codedValue", "name": "SimConDiv_Type", "description": "Simultaneous Division Type", "codedValues": [ { "name": "Assessors Plat", "code": "Assessors Plat" }, { "name": "Block", "code": "Block" }, { "name": "Boat Access", "code": "Boat Access" }, { "name": "Building", "code": "Building" }, { "name": "General Common Element", "code": "General Common Element" }, { "name": "Ingress/Egress", "code": "Ingress/Egress" }, { "name": "Limited Common Element", "code": "Limited Common Element" }, { "name": "Lot", "code": "Lot" }, { "name": "Other", "code": "Other" }, { "name": "Outlot", "code": "Outlot" }, { "name": "Parcel", "code": "Parcel" }, { "name": "Park", "code": "Park" }, { "name": "Platted ROW", "code": "Platted ROW" }, { "name": "Plot", "code": "Plot" }, { "name": "Unit", "code": "Unit" }, { "name": "Unknown", "code": "Unknown" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDuplicate" } }, { "name": "SIMCONSECDIVNUM", "type": "esriFieldTypeString", "alias": "Lot Number", "length": 10, "domain": null }, { "name": "SIMCONSECDIVLABEL", "type": "esriFieldTypeString", "alias": "Lot Label", "length": 30, "domain": null }, { "name": "ZONING", "type": "esriFieldTypeString", "alias": "ZONING", "length": 10, "domain": { "type": "codedValue", "name": "Zoning", "description": "Zoning Districts", "codedValues": [ { "name": "Agriculture", "code": "A" }, { "name": "Crossroads Mixed Use", "code": "CMU" }, { "name": "Forestry", "code": "F" }, { "name": "General Business", "code": "GB" }, { "name": "General Industrial", "code": "GI" }, { "name": "Mobile Home Park", "code": "MH" }, { "name": "Mixed Residential", "code": "MR" }, { "name": "No County Zoning", "code": "NCZ" }, { "name": "No Zoning - Water", "code": "NZ-H2O" }, { "name": "No Zoning - Right-of-Way", "code": "NZ-ROW" }, { "name": "Planned Business", "code": "PB" }, { "name": "Planned Development", "code": "PD" }, { "name": "Planned Industrial", "code": "PI" }, { "name": "Recreational", "code": "RE" }, { "name": "Rural Lands - 2 per 40", "code": "RL-2" }, { "name": "Rural Lands - 4 per 40", "code": "RL-4" }, { "name": "Rural Residential 30,000", "code": "RR-1" }, { "name": "Rural Residential 40,000", "code": "RR-2" }, { "name": "Rural Residential 50,000", "code": "RR-3" }, { "name": "Rural Residential 100,000", "code": "RR-4" }, { "name": "Rural Residential 200,000", "code": "RR-5" }, { "name": "Suburban Residential", "code": "SR" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDuplicate" } }, { "name": "PLANNEDLANDUSE", "type": "esriFieldTypeString", "alias": "PLANNED LAND USE", "length": 10, "domain": { "type": "codedValue", "name": "PlannedLandUse", "description": "Planned Land Use Districts", "codedValues": [ { "name": "Agriculture", "code": "AG" }, { "name": "Crossroads Mixed Use", "code": "CRMU" }, { "name": "Extraction", "code": "EXTR" }, { "name": "General Business", "code": "GENBUS" }, { "name": "General Industrial", "code": "GENIND" }, { "name": "Institutional", "code": "INST" }, { "name": "Mixed Residential", "code": "MIXRES" }, { "name": "Planned Business", "code": "PLBUS" }, { "name": "Planned Industrial", "code": "PLIND" }, { "name": "Private Forest", "code": "PRF" }, { "name": "Private Recreation", "code": "PRR" }, { "name": "Public Forest", "code": "PUF" }, { "name": "Public Recreation", "code": "PUR" }, { "name": "Rural Lands", "code": "RLANDS" }, { "name": "Rural Single Family Residential", "code": "RRES" }, { "name": "Suburban Single Family Residential", "code": "SRES" }, { "name": "No County Planned Land Use", "code": "NCPLU" }, { "name": "No Planned Land Use - Water", "code": "NPLU - H2O" }, { "name": "No Planned Land Use - Right-of-Way", "code": "NPLU - ROW" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDuplicate" } }, { "name": "MUNICIPALITY", "type": "esriFieldTypeString", "alias": "MUNICIPALITY", "length": 50, "domain": { "type": "codedValue", "name": "MCD", "description": "Municipality or City or County", "codedValues": [ { "name": "BIRCH", "code": "BIRCH" }, { "name": "BRADLEY", "code": "BRADLEY" }, { "name": "CITY OF MERRILL", "code": "CITY OF MERRILL" }, { "name": "CITY OF TOMAHAWK", "code": "CITY OF TOMAHAWK" }, { "name": "CORNING", "code": "CORNING" }, { "name": "HARDING", "code": "HARDING" }, { "name": "HARRISON", "code": "HARRISON" }, { "name": "KING", "code": "KING" }, { "name": "MERRILL", "code": "MERRILL" }, { "name": "PINE RIVER", "code": "PINE RIVER" }, { "name": "ROCK FALLS", "code": "ROCK FALLS" }, { "name": "RUSSELL", "code": "RUSSELL" }, { "name": "SCHLEY", "code": "SCHLEY" }, { "name": "SCOTT", "code": "SCOTT" }, { "name": "SKANAWAN", "code": "SKANAWAN" }, { "name": "SOMO", "code": "SOMO" }, { "name": "TOMAHAWK", "code": "TOMAHAWK" }, { "name": "WILSON", "code": "WILSON" }, { "name": "LANGLADE COUNTY", "code": "LANGLADE COUNTY" }, { "name": "MARATHON COUNTY", "code": "MARATHON COUNTY" }, { "name": "ONEIDA COUNTY", "code": "ONEIDA COUNTY" }, { "name": "PRICE COUNTY", "code": "PRICE COUNTY" }, { "name": "TAYLOR COUNTY", "code": "TAYLOR COUNTY" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null }, { "name": "GlobalID", "type": "esriFieldTypeGlobalID", "alias": "GlobalID", "length": 38, "domain": null } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape" }, "indexes": [ { "name": "FDO_OBJECTID", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "FDO_Shape", "fields": "Shape", "isAscending": true, "isUnique": false, "description": "" }, { "name": "FDO_GlobalID", "fields": "GlobalID", "isAscending": true, "isUnique": false, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": true, "capabilities": "Query,Map,Data", "maxRecordCount": 2000, "supportsStatistics": true, "supportsAdvancedQueries": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "isDataVersioned": false, "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true}, "useStandardizedQueries": true, "advancedQueryCapabilities": { "useStandardizedQueries": true, "supportsStatistics": true, "supportsHavingClause": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsCountDistinct": true, "supportsPagination": true, "supportsTrueCurve": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true }, "supportsDatumTransformation": true, "dateFieldsTimeReference": null, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true }, { "currentVersion": 10.71, "cimVersion": "2.4.0", "id": 3, "name": "GIS.AGP_ConstructParcelLines", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPolyline", "sourceSpatialReference": { "wkid": 103434, "latestWkid": 8152, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 2, "falseX": -18068700, "falseY": -49116200, "xyUnits": 3048.0060960121928, "falseZ": 0, "zUnits": 10000, "falseM": 0, "mUnits": 1 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "drawingInfo": { "renderer": { "type": "uniqueValue", "field1": "ConstructLineType", "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 0, 0, 255 ], "width": 13 }, "value": "CB6", "label": "New Boundary" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 184, 234, 252, 255 ], "toColor": [ 184, 234, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 182, 239, 255 ], "toColor": [ 252, 182, 239, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 250, 252, 179, 255 ], "toColor": [ 250, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 203, 197, 255 ], "toColor": [ 252, 203, 197, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 187, 197, 252, 255 ], "toColor": [ 187, 197, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 252, 211, 255 ], "toColor": [ 182, 252, 211, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 223, 179, 255 ], "toColor": [ 252, 223, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 215, 246, 255 ], "toColor": [ 252, 215, 246, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 234, 252, 215, 255 ], "toColor": [ 234, 252, 215, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 196, 252, 179, 255 ], "toColor": [ 196, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 194, 252, 247, 255 ], "toColor": [ 194, 252, 247, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 212, 179, 252, 255 ], "toColor": [ 212, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 215, 252, 255 ], "toColor": [ 182, 215, 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 = true; //set as 'true' to show direction\nvar ShowRadius = true; //set as 'true' to show radius\nvar ShowCurveParemater = true; //set as 'true' to show a curve parameter\nvar CurveParameter = \"ArcLength\"; //set as 'ArcLength' or 'Chord' or 'Angle' for central angle. Case sensitive!\nvar ErrorString = \"COGO ERROR\"; //set to display invalid COGO combinations\nvar RadiusAbbr = 'R='; //radius abbreviation\nvar 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 direction=$feature.Direction;\nvar distance=$feature.Distance;\nvar radius=$feature.Radius;\nvar arclength=$feature.Arclength;\nvar radius2=$feature.Radius2\nvar prefix; // quadrant bearing prefix\nvar postfix; // quadrant bearing postfix\nvar bearing; \nvar quadbearing;\nvar binaryDictionary; //binary dictionary to check COGO combinations\nvar checksum=0; //initialize checksum\nvar validValuesArray; //array of valid values for COGO combinations\nvar partialValuesArray; //array of partial values for COGO\nvar degrees;\nvar minutes;\nvar seconds;\nvar DMS;\nvar directionStr = \"\"; //direction string using for label\nvar distanceStr = \"\"; //distance string using for label\nvar radiusStr = \"\"; //radius string using for label\nvar curveStr = \"\"; //curve parameter string using for label\nvar angleRad; //curve angle in radians\nvar COGOValidity; //COGO combinations validity. can be valid, partial or invalid.\n\n\nfunction NorthAzimuth2Quadbearing(azimuth){\n if (azimuth<90 && azimuth>=0){\n bearing=azimuth;\n prefix = \"N\";\n postfix= \"E\";}\n else if (azimuth<180 && azimuth>=90){\n bearing=180-azimuth;\n prefix = \"S\";\n postfix= \"E\";}\n else if (azimuth<270 && azimuth>=180){\n bearing=abs(180-azimuth);\n prefix = \"S\";\n postfix= \"W\";}\n else if (azimuth<360 && azimuth>=270){\n bearing=360-azimuth;\n prefix = \"N\";\n postfix= \"W\";}\n \n degrees=floor(bearing);\n minutes=floor((bearing-degrees)*60)\n seconds=((bearing-degrees-minutes/60)*3600)\n if (seconds>=59.5){\n seconds=0;\n minutes+=1;\n if (minutes==60){\n minutes=0;\n degrees+=1;}}\n quadbearing=prefix+degrees+\"°\"+text(minutes,\"00\")+\"'\"+text(seconds,\"00\")+\"''\"+postfix;\n return quadbearing;\n}\n\nfunction DMS(bearing){\n degrees=floor(bearing);\n minutes=floor((bearing-degrees)*60)\n seconds=((bearing-degrees-minutes/60)*3600)\n if (seconds>=59.5){\n seconds=0;\n minutes+=1;\n if (minutes==60){\n minutes=0;\n degrees+=1;}}\n DMS=degrees+\"°\"+text(minutes,\"00\")+\"'\"+text(seconds,\"00\")+\"''\";\n return DMS;\n \n}\nfunction IsValidCOGO(direction, distance, radius, arclength, radius2) {\n binaryDictionary= Dictionary('dir', 1, 'dist',2, 'rad',4, 'arc',8, 'rad2',16)\n if (!IsEmpty(direction)) {checksum+=binaryDictionary.dir}\n if (!IsEmpty(distance)) {checksum+=binaryDictionary.dist}\n if (!IsEmpty(radius)) {checksum+=binaryDictionary.rad}\n if (!IsEmpty(arclength)) {checksum+=binaryDictionary.arc}\n if (!IsEmpty(radius2)) {checksum+=binaryDictionary.rad2}\n \n validValuesArray=[0,3,4,8,13,29]; //array of valid combinations: '0' for nothing, ... '13' for direction & radius & arclength ...\n partialValuesArray=[1,2]; //array of partial combinations: '1' for only direction, '2' for only distance...\n \n if (IndexOf(validValuesArray,checksum)>-1) { // a negative value is returned if checksum value is not in the a valid combination array\n return \"valid\";\n }\n if (IndexOf(partialValuesArray,checksum)>-1){\n return \"partial\"; \n }\n return \"invalid\";\n}\n\nCOGOValidity = IsValidCOGO(direction, distance, radius, arclength, radius2);\nif ( COGOValidity == \"invalid\") { //if invalid COGO return error string\n return \"\" + fontNameSize + ErrorString + \"<\/FNT><\/CLR><\/BOL>\"; \n}\n\nif (COGOValidity == \"partial\") { //if a partial COGO change colors\n distanceColor = partialCOGOColor;\n directionColor = partialCOGOColor;\n}\n\n// Direction string\nif (ShowDirection) {\n if (IsEmpty(direction)==false) { \n if (QuadrantBearingFormat==true) { //using quadrant bearing format\n directionStr = \"\" + fontNameSize + NorthAzimuth2Quadbearing(direction) + \"<\/FNT><\/CLR>\";\n }\n else { //using north azimuth format\n directionStr = \"\" + fontNameSize + DMS(direction) + \"<\/FNT><\/CLR>\";\n }\n }\n}\n\n// Distance string\nif (ShowDistance) {\n if (IsEmpty(distance)==false) {\n distanceStr = \"\" + fontNameSize + text(round(distance,DistUnitRounding), NumberFormat) + \"<\/FNT><\/CLR>\";\n }\n}\n\n//Radius String\nif (ShowRadius) {\n if (!IsEmpty(radius)) {\n if (radius>0) { // if radius is positive --> right\n radiusStr = \"\" + fontNameSize + RadiusAbbr + text(round(radius, DistUnitRounding), NumberFormat) + \"<\/FNT><\/CLR>\";\n }\n else { // if radius is negative --> left\n radiusStr = \"\" + fontNameSize + RadiusAbbr + \" -\" + text(round(abs(radius), DistUnitRounding),NumberFormat) + \"<\/FNT><\/CLR>\"; \n }\n }\n}\n\n// Curve Parameter\nif (ShowCurveParemater) {\n if (!IsEmpty(arclength)) {\n if (CurveParameter == 'ArcLength') {\n curveStr = \"\" + fontNameSize + ArclengthAbrr + text(round(arclength, DistUnitRounding), NumberFormat) + \"<\/FNT><\/CLR>\"; //return Arc length \n }\n angleRad = arclength/(abs(radius)) //calculate angle in radians\n if (CurveParameter == 'Angle') {\n curveStr = \"\" + fontNameSize + AngleAbbr + DMS(angleRad * 180 / pi) + \"<\/FNT><\/CLR>\"; // convert radian to degrees and show as DMS\n }\n if (CurveParameter == 'Chord') {\n curveStr = \"\" + fontNameSize + ChordAbbr + text(round((2 * abs(radius) * Sin(angleRad/2)),DistUnitRounding), NumberFormat) + \"<\/FNT><\/CLR>\"; //calculate chord length\n } \n }\n}\n \n// Assemble label string\nif (IsEmpty(radius)) { //if its empty it is not a curve\n return directionStr + \"\\n\" + distanceStr\n}\nelse { //it's a curve\n return radiusStr + \"\\n\" + curveStr;\n}"}, "labelPlacement": "esriServerLinePlacementBelowStart", "textLayout": "straight", "deconflictionStrategy": "static", "lineConnection": "none", "multiPart": "labelPerFeature", "offsetDistance": 3, "stackLabel": false, "removeDuplicates": "none", "useCodedValues": false, "maxScale": 0, "minScale": 2000, "name": "Direction and Distance", "priority": -1, "symbol": { "type": "esriTS", "color": [ 0, 0, 0, 255 ], "backgroundColor": null, "borderLineColor": null, "borderLineSize": null, "verticalAlignment": "bottom", "horizontalAlignment": "left", "rightToLeft": false, "angle": 0, "xoffset": 0, "yoffset": 0, "kerning": true, "haloColor": [ 255, 255, 255, 255 ], "haloSize": 2, "font": { "family": "Tahoma", "size": 10, "style": "normal", "weight": "normal", "decoration": "none" } } } ] }, "defaultVisibility": true, "extent": { "xmin": -1.0022695589099891E7, "ymin": 5641107.971841821, "xmax": -9956111.56796742, "ymax": 5709001.191321122, "spatialReference": { "wkid": 102100, "latestWkid": 3857, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -20037700, "falseY": -30241100, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayFieldExpressionInfo": { "expression": "// Change the settings portion to configure direction format, rounding and abbreviations\n// This is an Arcade expression\n\n// SETTINGS\nvar QuadrantBearingFormat = true; //set 'true' for quadrant bearing, 'false' for north azimuth\nvar ShowDistance = true; //set as 'true' to show distance\nvar ShowDirection = true; //set as 'true' to show direction\nvar ShowRadius = true; //set as 'true' to show radius\nvar ShowCurveParemater = true; //set as 'true' to show a curve parameter\nvar CurveParameter = \"ArcLength\"; //set as 'ArcLength' or 'Chord' or 'Angle' for central angle. Case sensitive!\nvar ErrorString = \"COGO ERROR\"; //set to display invalid COGO combinations\nvar RadiusAbbr = 'R='; //radius abbreviation\nvar 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 direction=$feature.Direction;\nvar distance=$feature.Distance;\nvar radius=$feature.Radius;\nvar arclength=$feature.Arclength;\nvar radius2=$feature.Radius2\nvar prefix; // quadrant bearing prefix\nvar postfix; // quadrant bearing postfix\nvar bearing; \nvar quadbearing;\nvar binaryDictionary; //binary dictionary to check COGO combinations\nvar checksum=0; //initialize checksum\nvar validValuesArray; //array of valid values for COGO combinations\nvar partialValuesArray; //array of partial values for COGO\nvar degrees;\nvar minutes;\nvar seconds;\nvar DMS;\nvar directionStr = \"\"; //direction string using for label\nvar distanceStr = \"\"; //distance string using for label\nvar radiusStr = \"\"; //radius string using for label\nvar curveStr = \"\"; //curve parameter string using for label\nvar angleRad; //curve angle in radians\nvar COGOValidity; //COGO combinations validity. can be valid, partial or invalid.\n\n\nfunction NorthAzimuth2Quadbearing(azimuth){\n if (azimuth<90 && azimuth>=0){\n bearing=azimuth;\n prefix = \"N\";\n postfix= \"E\";}\n else if (azimuth<180 && azimuth>=90){\n bearing=180-azimuth;\n prefix = \"S\";\n postfix= \"E\";}\n else if (azimuth<270 && azimuth>=180){\n bearing=abs(180-azimuth);\n prefix = \"S\";\n postfix= \"W\";}\n else if (azimuth<360 && azimuth>=270){\n bearing=360-azimuth;\n prefix = \"N\";\n postfix= \"W\";}\n \n degrees=floor(bearing);\n minutes=floor((bearing-degrees)*60)\n seconds=((bearing-degrees-minutes/60)*3600)\n if (seconds>=59.5){\n seconds=0;\n minutes+=1;\n if (minutes==60){\n minutes=0;\n degrees+=1;}}\n quadbearing=prefix+degrees+\"°\"+text(minutes,\"00\")+\"'\"+text(seconds,\"00\")+\"''\"+postfix;\n return quadbearing;\n}\n\nfunction DMS(bearing){\n degrees=floor(bearing);\n minutes=floor((bearing-degrees)*60)\n seconds=((bearing-degrees-minutes/60)*3600)\n if (seconds>=59.5){\n seconds=0;\n minutes+=1;\n if (minutes==60){\n minutes=0;\n degrees+=1;}}\n DMS=degrees+\"°\"+text(minutes,\"00\")+\"'\"+text(seconds,\"00\")+\"''\";\n return DMS;\n \n}\nfunction IsValidCOGO(direction, distance, radius, arclength, radius2) {\n binaryDictionary= Dictionary('dir', 1, 'dist',2, 'rad',4, 'arc',8, 'rad2',16)\n if (!IsEmpty(direction)) {checksum+=binaryDictionary.dir}\n if (!IsEmpty(distance)) {checksum+=binaryDictionary.dist}\n if (!IsEmpty(radius)) {checksum+=binaryDictionary.rad}\n if (!IsEmpty(arclength)) {checksum+=binaryDictionary.arc}\n if (!IsEmpty(radius2)) {checksum+=binaryDictionary.rad2}\n \n validValuesArray=[0,3,4,8,13,29]; //array of valid combinations: '0' for nothing, ... '13' for direction & radius & arclength ...\n partialValuesArray=[1,2]; //array of partial combinations: '1' for only direction, '2' for only distance...\n \n if (IndexOf(validValuesArray,checksum)>-1) { // a negative value is returned if checksum value is not in the a valid combination array\n return \"valid\";\n }\n if (IndexOf(partialValuesArray,checksum)>-1){\n return \"partial\"; \n }\n return \"invalid\";\n}\n\nCOGOValidity = IsValidCOGO(direction, distance, radius, arclength, radius2);\nif ( COGOValidity == \"invalid\") { //if invalid COGO return error string\n return ErrorString; \n}\n\n// Direction string\nif (ShowDirection) {\n if (IsEmpty(direction)==false) { \n if (QuadrantBearingFormat==true) { //using quadrant bearing format\n directionStr = NorthAzimuth2Quadbearing(direction);\n }\n else { //using north azimuth format\n directionStr = DMS(direction);\n }\n }\n}\n\n// Distance string\nif (ShowDistance) {\n if (IsEmpty(distance)==false) {\n distanceStr = text(round(distance,DistUnitRounding), NumberFormat);\n }\n}\n\n//Radius String\nif (ShowRadius) {\n if (!IsEmpty(radius)) {\n if (radius>0) { // if radius is positive --> right\n radiusStr = RadiusAbbr + text(round(radius, DistUnitRounding), NumberFormat);\n }\n else { // if radius is negative --> left\n radiusStr = RadiusAbbr + \" -\" + text(round(abs(radius), DistUnitRounding),NumberFormat); \n }\n }\n}\n\n// Curve Parameter\nif (ShowCurveParemater) {\n if (!IsEmpty(arclength)) {\n if (CurveParameter == 'ArcLength') {\n curveStr = ArclengthAbrr + text(round(arclength, DistUnitRounding), NumberFormat); //return Arc length \n }\n angleRad = arclength/(abs(radius)) //calculate angle in radians\n if (CurveParameter == 'Angle') {\n curveStr = AngleAbbr + DMS(angleRad * 180 / pi); // convert radian to degrees and show as DMS\n }\n if (CurveParameter == 'Chord') {\n curveStr = ChordAbbr + text(round((2 * abs(radius) * Sin(angleRad/2)),DistUnitRounding), NumberFormat); //calculate chord length\n } \n }\n}\n \n// Assemble label string\nif (IsEmpty(radius)) { //if its empty it is not a curve\n return directionStr + \" \" + distanceStr\n}\nelse { //it's a curve\n return radiusStr + \" \" + curveStr;\n}", "title": "Custom" }, "displayField": "DELTA", "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": "DELTA", "type": "esriFieldTypeString", "alias": "Delta", "length": 10, "domain": null }, { "name": "TANGENT", "type": "esriFieldTypeString", "alias": "Tangent", "length": 10, "domain": null }, { "name": "ArcLength", "type": "esriFieldTypeDouble", "alias": "Arc Length", "domain": null }, { "name": "SIDE", "type": "esriFieldTypeString", "alias": "Side", "length": 1, "domain": null }, { "name": "BOUNDARYTYPE", "type": "esriFieldTypeString", "alias": "Boundary Type", "length": 50, "domain": { "type": "codedValue", "name": "Boundary_Type", "description": "The parcel boundary type assigned to reflect the hierarchy of parcel boundary evidence (used to assign weights to fabric)", "codedValues": [ { "name": "Control Boundary", "code": "Control Boundary" }, { "name": "Not a Boundary", "code": "Not a Boundary" }, { "name": "Other", "code": "Other" }, { "name": "Parcel Boundary", "code": "Parcel Boundary" }, { "name": "Simultaneous Conveyance Boundary", "code": "Simultaneous Conveyance Boundary" }, { "name": "Simultaneous Conveyance Division Boundary", "code": "Simultaneous Conveyance Division Boundary" }, { "name": "Unknown", "code": "Unknown" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDuplicate" } }, { "name": "CARTOLINETYPE", "type": "esriFieldTypeString", "alias": "Carto Line Type", "length": 50, "domain": { "type": "codedValue", "name": "CartoLine_Type", "description": "The cartographic line type assigned to the boundary to reflect cartographic needs", "codedValues": [ { "name": "Condo Building Boundary", "code": "Condo Building Boundary" }, { "name": "Hydrography Boundary", "code": "Hydrography Boundary" }, { "name": "Other", "code": "Other" }, { "name": "ROW", "code": "ROW" }, { "name": "ROW Boundary", "code": "ROW Boundary" }, { "name": "Tax Parcel Boundary", "code": "Tax Parcel Boundary" }, { "name": "Simultaneous Conveyance Boundary", "code": "Simultaneous Conveyance Boundary" }, { "name": "Meander Line", "code": "Meander Line" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDuplicate" } }, { "name": "ConstructLineType", "type": "esriFieldTypeString", "alias": "Construction Line Type", "length": 50, "domain": { "type": "codedValue", "name": "ParcelLinesConstruct", "description": "Used to manage Parcel Construction lines", "codedValues": [ { "name": "Boundary 1", "code": "CB1" }, { "name": "Boundary 2", "code": "CB2" }, { "name": "Boundary 3", "code": "CB3" }, { "name": "Boundary 4", "code": "CB4" }, { "name": "Boundary 5", "code": "CB5" }, { "name": "Boundary 6", "code": "CB6" }, { "name": "Historic Boundary", "code": "HISTORIC BOUNDARY" }, { "name": "Parcel Construction", "code": "PARCEL CONSTRUCTION" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDuplicate" } }, { "name": "Radius2", "type": "esriFieldTypeDouble", "alias": "Radius2", "domain": null }, { "name": "GlobalID", "type": "esriFieldTypeGlobalID", "alias": "GlobalID", "length": 38, "domain": null }, { "name": "Shape_Length", "type": "esriFieldTypeDouble", "alias": "Shape_Length", "domain": null } ], "geometryField": {}, "indexes": [ { "name": "FDO_GlobalID", "fields": "GlobalID", "isAscending": true, "isUnique": false, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": true, "capabilities": "Query,Map,Data", "maxRecordCount": 2000, "supportsStatistics": true, "supportsAdvancedQueries": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "isDataVersioned": false, "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true}, "useStandardizedQueries": true, "advancedQueryCapabilities": { "useStandardizedQueries": true, "supportsStatistics": true, "supportsHavingClause": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsCountDistinct": true, "supportsPagination": true, "supportsTrueCurve": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true }, "supportsDatumTransformation": true, "dateFieldsTimeReference": null, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true } ], "tables": [] }