{ "tables": [], "layers": [ { "isCoGoEnabled": true, "extent": { "ymin": 4829465.348098867, "xmin": -1.1761253889072575E7, "ymax": 4857262.437834866, "xmax": -1.1732299685323996E7, "spatialReference": { "falseM": -100000, "xyTolerance": 0.001, "mUnits": 10000, "zUnits": 10000, "latestWkid": 3857, "zTolerance": 0.001, "wkid": 102100, "xyUnits": 1.4892314192838538E8, "mTolerance": 0.001, "falseX": -20037700, "falseY": -30241100, "falseZ": -100000 } }, "isDataBranchVersioned": false, "supportsApplyEditsWithGlobalIds": true, "maxRecordCount": 1000, "infoInEstimates": [ "extent", "count" ], "datesInUnknownTimezone": false, "definitionQuery": "retiredbyrecord IS NULL", "type": "Feature Layer", "onlyAllowTrueCurveUpdatesByTrueCurveClients": true, "syncEnabled": false, "supportsAttachmentsByUploadId": true, "relationships": [], "supportsAttachmentsResizing": true, "cimVersion": "3.3.0", "isDataArchived": false, "id": 0, "supportsStatistics": true, "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson", "standardMaxRecordCount": 2000, "isDataVersioned": false, "templates": [ { "name": "Lines", "description": "Templates for editing traverse using COGO measurements.", "drawingTool": "esriFeatureEditToolLine", "prototype": { "attributes": { "distance": null, "created_user": null, "rotation": null, "scale": null, "distanceaccuracy": 0.4921249999999999, "createdbyrecord": null, "labelposition": 1, "last_edited_user": null, "arclength": null, "cogotype": null, "iscogoground": null, "directionaccuracy": 30, "parentlineid": null, "retiredbyrecord": null, "validationstatus": 6, "last_edited_date": null, "created_date": null, "radius": null, "direction": null, "radius2": null } } } ], "hasGeometryProperties": true, "supportsAdvancedQueries": true, "parentLayer": null, "currentVersion": 11.3, "canScaleSymbols": false, "hasZ": true, "advancedEditingCapabilities": { "supportsAsyncApplyEdits": true, "supportsApplyEditsbyUploadID": true, "supportsReturnEditResults": true, "supportedSqlFormatsInCalculate": [ "standard" ], "supportedApplyEditsUploadIDFormats": "JSON" }, "objectIdField": "objectid", "supportsQuantizationEditMode": true, "viewSourceHasAttachments": false, "name": "Lot Lines", "allowTrueCurvesUpdates": false, "displayField": "created_user", "supportsCalculate": true, "fields": [ { "nullable": false, "defaultValue": null, "editable": false, "length": 4, "type": "esriFieldTypeOID", "modelName": "objectid", "domain": null, "name": "objectid", "alias": "OBJECTID" }, { "nullable": true, "editable": true, "defaultValue": null, "type": "esriFieldTypeDouble", "required": true, "modelName": "direction", "domain": null, "name": "direction", "alias": "Direction" }, { "nullable": true, "editable": true, "defaultValue": null, "type": "esriFieldTypeDouble", "required": true, "modelName": "distance", "domain": null, "name": "distance", "alias": "Distance" }, { "nullable": true, "editable": true, "defaultValue": null, "type": "esriFieldTypeDouble", "required": true, "modelName": "radius", "domain": null, "name": "radius", "alias": "Radius" }, { "nullable": true, "editable": true, "defaultValue": null, "type": "esriFieldTypeDouble", "required": true, "modelName": "arclength", "domain": null, "name": "arclength", "alias": "Arc Length" }, { "nullable": true, "editable": true, "defaultValue": null, "type": "esriFieldTypeDouble", "required": true, "modelName": "radius2", "domain": null, "name": "radius2", "alias": "Radius2" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 38, "type": "esriFieldTypeGUID", "required": true, "modelName": "createdbyrecord", "domain": null, "name": "createdbyrecord", "alias": "Created By Record" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 38, "type": "esriFieldTypeGUID", "required": true, "modelName": "retiredbyrecord", "domain": null, "name": "retiredbyrecord", "alias": "Retired By Record" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 38, "type": "esriFieldTypeGUID", "required": true, "modelName": "parentlineid", "domain": null, "name": "parentlineid", "alias": "Parent Line ID" }, { "nullable": true, "editable": true, "defaultValue": null, "type": "esriFieldTypeInteger", "required": true, "modelName": "cogotype", "domain": { "splitPolicy": "esriSPTDefaultValue", "name": "PF_COGOType", "description": "Parcel Fabric COGO Type", "type": "codedValue", "codedValues": [ { "code": 1, "name": "Entered" }, { "code": 2, "name": "From Geometry" }, { "code": 3, "name": "Computed" } ], "mergePolicy": "esriMPTDefaultValue" }, "name": "cogotype", "alias": "COGO Type" }, { "nullable": true, "editable": true, "defaultValue": null, "type": "esriFieldTypeInteger", "required": true, "modelName": "iscogoground", "domain": { "splitPolicy": "esriSPTDefaultValue", "name": "PF_YesNo", "description": "Parcel Fabric Yes No", "type": "codedValue", "codedValues": [ { "code": 0, "name": "No" }, { "code": 1, "name": "Yes" } ], "mergePolicy": "esriMPTDefaultValue" }, "name": "iscogoground", "alias": "Is COGO Ground" }, { "nullable": true, "editable": true, "defaultValue": null, "type": "esriFieldTypeDouble", "required": true, "modelName": "rotation", "domain": null, "name": "rotation", "alias": "Rotation" }, { "nullable": true, "editable": true, "defaultValue": null, "type": "esriFieldTypeDouble", "required": true, "modelName": "scale", "domain": null, "name": "scale", "alias": "Scale" }, { "nullable": true, "editable": true, "defaultValue": null, "type": "esriFieldTypeDouble", "required": true, "modelName": "directionaccuracy", "domain": null, "name": "directionaccuracy", "alias": "Direction Accuracy" }, { "nullable": true, "editable": true, "defaultValue": null, "type": "esriFieldTypeDouble", "required": true, "modelName": "distanceaccuracy", "domain": null, "name": "distanceaccuracy", "alias": "Distance Accuracy" }, { "nullable": true, "editable": true, "defaultValue": null, "type": "esriFieldTypeInteger", "required": true, "modelName": "labelposition", "domain": { "splitPolicy": "esriSPTDefaultValue", "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", "type": "codedValue", "codedValues": [ { "code": 1, "name": "Right" }, { "code": 2, "name": "Left" }, { "code": 3, "name": "Centered" } ], "mergePolicy": "esriMPTDefaultValue" }, "name": "labelposition", "alias": "Label Position" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 255, "type": "esriFieldTypeString", "required": true, "modelName": "created_user", "domain": null, "name": "created_user", "alias": "Created By" }, { "nullable": true, "editable": true, "defaultValue": null, "precision": 1, "length": 29, "type": "esriFieldTypeDate", "required": true, "modelName": "created_date", "domain": null, "name": "created_date", "alias": "Created Date" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 255, "type": "esriFieldTypeString", "required": true, "modelName": "last_edited_user", "domain": null, "name": "last_edited_user", "alias": "Modified By" }, { "nullable": true, "editable": true, "defaultValue": null, "precision": 1, "length": 29, "type": "esriFieldTypeDate", "required": true, "modelName": "last_edited_date", "domain": null, "name": "last_edited_date", "alias": "Modified Date" }, { "nullable": false, "editable": false, "defaultValue": null, "length": 38, "type": "esriFieldTypeGlobalID", "modelName": "globalid", "domain": null, "name": "globalid", "alias": "GlobalID" }, { "nullable": true, "editable": true, "defaultValue": null, "type": "esriFieldTypeSmallInteger", "required": true, "modelName": "validationstatus", "domain": { "splitPolicy": "esriSPTDefaultValue", "name": "Validation Status", "description": "The current record's validation status.", "type": "codedValue", "codedValues": [ { "code": 0, "name": "No calculation required, no validation required, no error" }, { "code": 1, "name": "No calculation required, no validation required, has error(s)" }, { "code": 2, "name": "No calculation required, validation required, no error" }, { "code": 3, "name": "No calculation required, validation required, has error(s)" }, { "code": 4, "name": "Calculation required, no validation required, no error" }, { "code": 5, "name": "Calculation required, no validation required, has error(s)" }, { "code": 6, "name": "Calculation required, validation required, no error" }, { "code": 7, "name": "Calculation required, validation required, has error(s)" } ], "mergePolicy": "esriMPTDefaultValue" }, "name": "validationstatus", "alias": "Validation status" }, { "virtual": true, "nullable": true, "editable": false, "defaultValue": null, "domain": null, "name": "SHAPE__Length", "alias": "SHAPE__Length", "type": "esriFieldTypeDouble" } ], "maxRecordCountFactor": 1, "dateFieldsTimeReference": { "respectsDaylightSaving": false, "timeZone": "UTC" }, "supportsFieldDescriptionProperty": true, "hasM": false, "allowGeometryUpdates": true, "isView": true, "useStandardizedQueries": true, "globalIdField": "globalid", "description": "Lines", "syncCanReturnChanges": true, "supportsAsyncDelete": true, "isUpdatableView": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin" ], "geometryProperties": { "shapeLengthFieldName": "SHAPE__Length", "units": "esriMeters" }, "supportsRollbackOnFailureParameter": true, "viewDefinitionQuery": "retiredbyrecord IS NULL", "isDataReplicaTracked": false, "standardMaxRecordCountNoGeometry": 16000, "supportsTruncate": false, "indexes": [ { "name": "uuid_666", "isUnique": true, "description": "", "fields": "globalid", "isAscending": true }, { "name": "a569_ix1", "isUnique": false, "description": "", "fields": "shape", "isAscending": true }, { "name": "r666_sde_rowid_uk", "isUnique": true, "description": "", "fields": "objectid", "isAscending": true }, { "name": "retiredbyrecord_index", "isUnique": false, "description": "retiredbyrecord_Index", "fields": "retiredbyrecord", "isAscending": true } ], "supportedAppendSourceFilterFormats": "featureService", "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "GUIDFormat": "O", "minScale": 0, "hasAttachments": false, "queryBinsCapabilities": { "supportedStatisticTypes": [ "count", "sum", "min", "max", "avg", "stddev", "var", "percentile_cont", "percentile_disc" ], "supportsFixedIntervalBin": true, "supportsAutoIntervalBin": true, "supportsFixedBoundariesBin": true, "supportsDateBin": true }, "advancedQueryCapabilities": { "supportsSqlExpression": true, "supportsQueryWithResultType": true, "supportsQueryRelatedPagination": true, "supportsQueryWithCacheHint": false, "supportsQueryWithDatumTransformation": true, "supportsCurrentUserQueries": true, "supportsQueryAttachmentsWithReturnUrl": true, "supportsDefaultSR": true, "supportsQueryDateBins": false, "supportsQueryWithLodSR": true, "supportsPaginationOnAggregatedQueries": true, "supportsPagination": true, "supportsMaxRecordCountFactor": true, "supportsStatistics": true, "supportsOrderBy": true, "supportsReturningGeometryProperties": true, "supportsFullTextSearch": false, "supportsQueryWithDistance": true, "supportsLod": true, "supportsCountDistinct": true, "supportsAdvancedQueryRelated": true, "supportsQueryAttachments": true, "supportsReturningQueryExtent": true, "supportsQueryAttachmentsCountOnly": true, "supportsOrderByOnlyOnLayerFields": false, "supportsOutFieldSqlExpression": true, "supportsTopFeaturesQuery": true, "supportsReturningGeometryEnvelope": true, "supportsDistinct": true, "supportsReturningGeometryCentroid": false, "supportsQueryAnalytic": true, "supportsPercentileStatistics": true, "supportsHavingClause": true }, "subtypeField": "", "supportsValidateSQL": true, "enableZDefaults": true, "serviceItemId": "bea465c2e1004afd877982b747a25f3b", "allowUpdateWithoutMValues": true, "supportsCoordinatesQuantization": true, "types": [], "capabilities": "Query,Extract", "maxScale": 0, "supportsAppend": true, "supportsExceedsLimitStatistics": true, "sourceSchemaChangesAllowed": true, "defaultVisibility": true, "advancedQueryAnalyticCapabilities": { "supportsAsync": true, "supportsLinearRegression": true, "supportsPercentileAnalytic": false }, "hasMetadata": false, "supportedAppendFormats": "shapefile,geojson,csv,featureCollection,excel,jsonl,featureService", "tileMaxRecordCount": 2000, "typeIdField": "", "supportsASyncCalculate": true, "supportsVCSProjection": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "sqlParserVersion": "PG_11.2.0", "drawingInfo": { "renderer": { "uniqueValueGroups": [ { "heading": "", "classes": [ { "symbol": { "color": [ 0, 0, 0, 255 ], "width": 0.75, "style": "esriSLSSolid", "type": "esriSLS" }, "values": [ [ "COGO" ] ], "description": "COGO", "label": "COGO" } ] } ], "valueExpression": "return \"COGO\"", "authoringInfo": { "colorRamp": { "colorRamps": [ { "toColor": [ 230, 179, 252, 255 ], "fromColor": [ 230, 179, 252, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 184, 252, 179, 255 ], "fromColor": [ 184, 252, 179, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 252, 204, 187, 255 ], "fromColor": [ 252, 204, 187, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 182, 239, 252, 255 ], "fromColor": [ 182, 239, 252, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 252, 250, 179, 255 ], "fromColor": [ 252, 250, 179, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 187, 200, 252, 255 ], "fromColor": [ 187, 200, 252, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 252, 215, 244, 255 ], "fromColor": [ 252, 215, 244, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 199, 252, 224, 255 ], "fromColor": [ 199, 252, 224, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 252, 242, 210, 255 ], "fromColor": [ 252, 242, 210, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 252, 182, 202, 255 ], "fromColor": [ 252, 182, 202, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 197, 223, 252, 255 ], "fromColor": [ 197, 223, 252, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 195, 182, 252, 255 ], "fromColor": [ 195, 182, 252, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 252, 189, 239, 255 ], "fromColor": [ 252, 189, 239, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" } ], "type": "multipart" } }, "valueExpressionTitle": "Custom", "uniqueValueInfos": [ { "symbol": { "color": [ 0, 0, 0, 255 ], "width": 0.75, "style": "esriSLSSolid", "type": "esriSLS" }, "label": "COGO", "value": "COGO" } ], "type": "uniqueValue", "fieldDelimiter": "," }, "scaleSymbols": true, "transparency": 0, "labelingInfo": [ { "symbol": { "backgroundColor": null, "kerning": true, "color": [ 0, 0, 0, 255 ], "yoffset": 0, "xoffset": 0, "haloColor": [ 255, 255, 255, 255 ], "type": "esriTS", "borderLineColor": null, "borderLineSize": null, "horizontalAlignment": "left", "haloSize": 2, "angle": 0, "rightToLeft": false, "verticalAlignment": "bottom", "font": { "size": 10, "weight": "normal", "style": "normal", "family": "Tahoma", "decoration": "none" } }, "stackLabel": false, "maxScale": 0, "allowOverrun": false, "lineConnection": "minimizeLabels", "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 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 \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": "DirectionAndDistance" }, "deconflictionStrategy": "dynamic", "priority": -1, "labelPlacement": "esriServerLinePlacementAboveAlong", "removeDuplicates": "all", "textLayout": "straight", "removeDuplicatesDistance": 0, "name": "Direction and Distance", "repeatLabel": false, "minScale": 2000, "useCodedValues": false } ] }, "geometryField": { "sqlType": "sqlTypeOther", "nullable": true, "editable": true, "name": "shape", "typeName": "st_geometry", "length": 2147483647, "type": "esriFieldTypeGeometry" }, "copyrightText": "", "zDefault": 0, "geometryType": "esriGeometryPolyline", "supportsLayerOverrides": true }, { "isCoGoEnabled": false, "extent": { "ymin": 4829465.348098867, "xmin": -1.1761253889072575E7, "ymax": 4857262.437834866, "xmax": -1.1732299685323996E7, "spatialReference": { "falseM": -100000, "xyTolerance": 0.001, "mUnits": 10000, "zUnits": 10000, "latestWkid": 3857, "zTolerance": 0.001, "wkid": 102100, "xyUnits": 1.4892314192838538E8, "mTolerance": 0.001, "falseX": -20037700, "falseY": -30241100, "falseZ": -100000 } }, "isDataBranchVersioned": false, "supportsApplyEditsWithGlobalIds": true, "maxRecordCount": 1000, "infoInEstimates": [ "extent", "count" ], "datesInUnknownTimezone": false, "definitionQuery": "retiredbyrecord IS NULL", "type": "Feature Layer", "onlyAllowTrueCurveUpdatesByTrueCurveClients": true, "syncEnabled": false, "supportsAttachmentsByUploadId": true, "relationships": [], "supportsAttachmentsResizing": true, "cimVersion": "3.3.0", "isDataArchived": false, "id": 1, "supportsStatistics": true, "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson", "standardMaxRecordCount": 2000, "isDataVersioned": false, "templates": [ { "name": "Lots", "description": "", "drawingTool": "esriFeatureEditToolPolygon", "prototype": { "attributes": { "statedareaunit": null, "calculatedarea": null, "created_user": null, "misclosedistance": null, "msnumber": null, "isseed": 0, "statedarea": null, "miscloseratio": null, "createdbyrecord": null, "lot": null, "last_edited_user": null, "subdivision": null, "propnotes": null, "calcacres": null, "ownertype": null, "accountno": null, "name": null, "retiredbyrecord": null, "msname": null, "last_edited_date": null, "validationstatus": 6, "block": null, "created_date": null, "propdescrip": null } } } ], "hasGeometryProperties": true, "supportsAdvancedQueries": true, "parentLayer": null, "currentVersion": 11.3, "canScaleSymbols": false, "hasZ": true, "advancedEditingCapabilities": { "supportsAsyncApplyEdits": true, "supportsApplyEditsbyUploadID": true, "supportsReturnEditResults": true, "supportedSqlFormatsInCalculate": [ "standard" ], "supportedApplyEditsUploadIDFormats": "JSON" }, "objectIdField": "objectid", "supportsQuantizationEditMode": true, "viewSourceHasAttachments": false, "name": "Lots", "allowTrueCurvesUpdates": false, "displayField": "name", "supportsCalculate": true, "fields": [ { "nullable": false, "defaultValue": null, "editable": false, "length": 4, "type": "esriFieldTypeOID", "modelName": "objectid", "domain": null, "name": "objectid", "alias": "OBJECTID" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 255, "type": "esriFieldTypeString", "modelName": "name", "domain": null, "name": "name", "alias": "Name" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 38, "type": "esriFieldTypeGUID", "modelName": "createdbyrecord", "domain": null, "name": "createdbyrecord", "alias": "Created By Record" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 38, "type": "esriFieldTypeGUID", "modelName": "retiredbyrecord", "domain": null, "name": "retiredbyrecord", "alias": "Retired By Record" }, { "nullable": true, "editable": true, "defaultValue": null, "type": "esriFieldTypeDouble", "modelName": "statedarea", "domain": null, "name": "statedarea", "alias": "Stated Area" }, { "nullable": true, "editable": true, "defaultValue": null, "type": "esriFieldTypeInteger", "modelName": "statedareaunit", "domain": { "splitPolicy": "esriSPTDefaultValue", "name": "PF_AreaUnits", "description": "Parcel Fabric Area Units", "type": "codedValue", "codedValues": [ { "code": 109401, "name": "Hectare" }, { "code": 109402, "name": "Acre" }, { "code": 109403, "name": "Acre US" }, { "code": 109404, "name": "Square Meter" }, { "code": 109405, "name": "Square Foot" }, { "code": 109406, "name": "Square Foot US" }, { "code": 109407, "name": "Square Foot Clarke" }, { "code": 109408, "name": "Square Fathom" }, { "code": 109409, "name": "Square Nautical Mile" }, { "code": 109410, "name": "Square Meter German" }, { "code": 109411, "name": "Square Chain US" }, { "code": 109412, "name": "Square Link US" }, { "code": 109413, "name": "Square Mile US" }, { "code": 109414, "name": "Square Kilometer" }, { "code": 109415, "name": "Square Yard Clarke" }, { "code": 109416, "name": "Square Chain Clarke" }, { "code": 109417, "name": "Square Link Clarke" }, { "code": 109418, "name": "Square Yard Sears" }, { "code": 109419, "name": "Square Foot Sears" }, { "code": 109420, "name": "Square Chain Sears" }, { "code": 109421, "name": "Square Link Sears" }, { "code": 109422, "name": "Square Yard Benoit A" }, { "code": 109423, "name": "Square Foot Benoit A" }, { "code": 109424, "name": "Square Chain Benoit A" }, { "code": 109425, "name": "Square Link Benoit A" }, { "code": 109426, "name": "Square Yard Benoit B" }, { "code": 109427, "name": "Square Foot Benoit B" }, { "code": 109428, "name": "Square Chain Benoit B" }, { "code": 109429, "name": "Square Link Benoit B" }, { "code": 109430, "name": "Square Foot 1865" }, { "code": 109431, "name": "Square Foot Indian" }, { "code": 109432, "name": "Square Foot Indian 1937" }, { "code": 109433, "name": "Square Foot Indian 1962" }, { "code": 109434, "name": "Square Foot Indian 1975" }, { "code": 109435, "name": "Square Yard Indian" }, { "code": 109436, "name": "Square Yard Indian 1937" }, { "code": 109437, "name": "Square Yard Indian 1962" }, { "code": 109438, "name": "Square Yard Indian 1975" }, { "code": 109439, "name": "Square Mile Statute" }, { "code": 109440, "name": "Square Foot Gold Coast" }, { "code": 109441, "name": "Square Foot British 1936" }, { "code": 109442, "name": "Square Yard" }, { "code": 109443, "name": "Square Yard US" }, { "code": 109444, "name": "Square Chain" }, { "code": 109445, "name": "Square Link" }, { "code": 109446, "name": "Square Yard Sears 1922 Trunc" }, { "code": 109447, "name": "Square Foot Sears 1922 Trunc" }, { "code": 109448, "name": "Square Chain Sears 1922 Trunc" }, { "code": 109449, "name": "Square Link Sears 1922 Trunc" }, { "code": 109450, "name": "Square Decimeter" }, { "code": 109451, "name": "Square Centimeter" }, { "code": 109452, "name": "Square Millimeter" }, { "code": 109453, "name": "Square Inch" }, { "code": 109454, "name": "Square Inch US" }, { "code": 109455, "name": "Square Rod" }, { "code": 109456, "name": "Square Rod US" }, { "code": 109457, "name": "Square Nautical Mile US" }, { "code": 109458, "name": "Square Nautical Mile UK" }, { "code": 109459, "name": "Square Smoot" }, { "code": 109460, "name": "Square Km50" }, { "code": 109461, "name": "Square Km150" }, { "code": 109462, "name": "Square Vara TX" }, { "code": 109463, "name": "Are" }, { "code": 109464, "name": "Square DTP Point" }, { "code": 109465, "name": "Square Micrometer" }, { "code": 109466, "name": "Square Nanometer" } ], "mergePolicy": "esriMPTDefaultValue" }, "name": "statedareaunit", "alias": "Stated Area Unit" }, { "nullable": true, "editable": true, "defaultValue": null, "type": "esriFieldTypeDouble", "modelName": "calculatedarea", "domain": null, "name": "calculatedarea", "alias": "Calculated Area" }, { "nullable": true, "editable": true, "defaultValue": null, "type": "esriFieldTypeDouble", "modelName": "miscloseratio", "domain": null, "name": "miscloseratio", "alias": "Misclose Ratio" }, { "nullable": true, "editable": true, "defaultValue": null, "type": "esriFieldTypeDouble", "modelName": "misclosedistance", "domain": null, "name": "misclosedistance", "alias": "Misclose Distance" }, { "nullable": true, "editable": true, "defaultValue": null, "type": "esriFieldTypeInteger", "modelName": "isseed", "domain": { "splitPolicy": "esriSPTDefaultValue", "name": "PF_YesNo", "description": "Parcel Fabric Yes No", "type": "codedValue", "codedValues": [ { "code": 0, "name": "No" }, { "code": 1, "name": "Yes" } ], "mergePolicy": "esriMPTDefaultValue" }, "name": "isseed", "alias": "Is Seed" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 255, "type": "esriFieldTypeString", "modelName": "created_user", "domain": null, "name": "created_user", "alias": "Created By" }, { "nullable": true, "editable": true, "defaultValue": null, "precision": 1, "length": 29, "type": "esriFieldTypeDate", "modelName": "created_date", "domain": null, "name": "created_date", "alias": "Created Date" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 255, "type": "esriFieldTypeString", "modelName": "last_edited_user", "domain": null, "name": "last_edited_user", "alias": "Modified By" }, { "nullable": true, "editable": true, "defaultValue": null, "precision": 1, "length": 29, "type": "esriFieldTypeDate", "modelName": "last_edited_date", "domain": null, "name": "last_edited_date", "alias": "Modified Date" }, { "nullable": false, "editable": false, "defaultValue": null, "length": 38, "type": "esriFieldTypeGlobalID", "modelName": "globalid", "domain": null, "name": "globalid", "alias": "GlobalID" }, { "nullable": true, "editable": true, "defaultValue": null, "type": "esriFieldTypeSmallInteger", "modelName": "validationstatus", "domain": { "splitPolicy": "esriSPTDefaultValue", "name": "Validation Status", "description": "The current record's validation status.", "type": "codedValue", "codedValues": [ { "code": 0, "name": "No calculation required, no validation required, no error" }, { "code": 1, "name": "No calculation required, no validation required, has error(s)" }, { "code": 2, "name": "No calculation required, validation required, no error" }, { "code": 3, "name": "No calculation required, validation required, has error(s)" }, { "code": 4, "name": "Calculation required, no validation required, no error" }, { "code": 5, "name": "Calculation required, no validation required, has error(s)" }, { "code": 6, "name": "Calculation required, validation required, no error" }, { "code": 7, "name": "Calculation required, validation required, has error(s)" } ], "mergePolicy": "esriMPTDefaultValue" }, "name": "validationstatus", "alias": "Validation status" }, { "nullable": true, "editable": true, "defaultValue": null, "type": "esriFieldTypeDouble", "modelName": "calcacres", "domain": null, "name": "calcacres", "alias": "Calculate Acres" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 100, "type": "esriFieldTypeString", "modelName": "subdivision", "domain": null, "name": "subdivision", "alias": "Subdivision" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 50, "type": "esriFieldTypeString", "modelName": "block", "domain": null, "name": "block", "alias": "Block" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 50, "type": "esriFieldTypeString", "modelName": "lot", "domain": null, "name": "lot", "alias": "Lot" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 50, "type": "esriFieldTypeString", "modelName": "msnumber", "domain": null, "name": "msnumber", "alias": "MSNumber" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 100, "type": "esriFieldTypeString", "modelName": "msname", "domain": null, "name": "msname", "alias": "MSName" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 10, "type": "esriFieldTypeString", "modelName": "ownertype", "domain": { "splitPolicy": "esriSPTDefaultValue", "name": "LotOwnerType_2", "description": "", "type": "codedValue", "codedValues": [ { "code": "USWILD", "name": "US Wilderness Area" }, { "code": "USFS", "name": "US Forest Service" }, { "code": "USA", "name": "United States of America, Other" }, { "code": "UNK", "name": "Unknown" }, { "code": "STWILD", "name": "Colorado State Wildlife" }, { "code": "STPARK", "name": "Colorado State Parks" }, { "code": "STATE", "name": "State of Colorado, Other" }, { "code": "PRIV", "name": "Private" }, { "code": "HOA", "name": "Homeowner's Assoc" }, { "code": "COUNTY", "name": "Gilpin County" }, { "code": "CITYCC", "name": "Central City" }, { "code": "CITYBH", "name": "Black Hawk" }, { "code": "BLM", "name": "Bureau of Land Management" }, { "code": "BC", "name": "Boulder County" } ], "mergePolicy": "esriMPTDefaultValue" }, "name": "ownertype", "alias": "OwnerType" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 100, "type": "esriFieldTypeString", "modelName": "propdescrip", "domain": null, "name": "propdescrip", "alias": "PropDescrip" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 255, "type": "esriFieldTypeString", "modelName": "propnotes", "domain": null, "name": "propnotes", "alias": "PropNotes" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 200, "type": "esriFieldTypeString", "modelName": "accountno", "domain": null, "name": "accountno", "alias": "AccountNo" }, { "virtual": true, "nullable": true, "editable": false, "defaultValue": null, "domain": null, "name": "SHAPE__Length", "alias": "SHAPE__Length", "type": "esriFieldTypeDouble" }, { "virtual": true, "nullable": true, "editable": false, "defaultValue": null, "domain": null, "name": "SHAPE__Area", "alias": "SHAPE__Area", "type": "esriFieldTypeDouble" } ], "maxRecordCountFactor": 1, "dateFieldsTimeReference": { "respectsDaylightSaving": false, "timeZone": "UTC" }, "supportsFieldDescriptionProperty": true, "hasM": false, "allowGeometryUpdates": true, "isView": true, "useStandardizedQueries": true, "globalIdField": "globalid", "description": "Lots", "syncCanReturnChanges": true, "supportsAsyncDelete": true, "isUpdatableView": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin" ], "geometryProperties": { "shapeAreaFieldName": "SHAPE__Area", "shapeLengthFieldName": "SHAPE__Length", "units": "esriMeters" }, "supportsRollbackOnFailureParameter": true, "viewDefinitionQuery": "retiredbyrecord IS NULL", "isDataReplicaTracked": false, "standardMaxRecordCountNoGeometry": 16000, "supportsTruncate": false, "indexes": [ { "name": "r667_sde_rowid_uk", "isUnique": true, "description": "", "fields": "objectid", "isAscending": true }, { "name": "uuid_667", "isUnique": true, "description": "", "fields": "globalid", "isAscending": true }, { "name": "a570_ix1", "isUnique": false, "description": "", "fields": "shape", "isAscending": true } ], "supportedAppendSourceFilterFormats": "featureService", "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "GUIDFormat": "O", "minScale": 577791, "hasAttachments": false, "queryBinsCapabilities": { "supportedStatisticTypes": [ "count", "sum", "min", "max", "avg", "stddev", "var", "percentile_cont", "percentile_disc" ], "supportsFixedIntervalBin": true, "supportsAutoIntervalBin": true, "supportsFixedBoundariesBin": true, "supportsDateBin": true }, "advancedQueryCapabilities": { "supportsSqlExpression": true, "supportsQueryWithResultType": true, "supportsQueryRelatedPagination": true, "supportsQueryWithCacheHint": false, "supportsQueryWithDatumTransformation": true, "supportsCurrentUserQueries": true, "supportsQueryAttachmentsWithReturnUrl": true, "supportsDefaultSR": true, "supportsQueryDateBins": false, "supportsQueryWithLodSR": true, "supportsPaginationOnAggregatedQueries": true, "supportsPagination": true, "supportsMaxRecordCountFactor": true, "supportsStatistics": true, "supportsOrderBy": true, "supportsReturningGeometryProperties": true, "supportsFullTextSearch": false, "supportsQueryWithDistance": true, "supportsLod": true, "supportsCountDistinct": true, "supportsAdvancedQueryRelated": true, "supportsQueryAttachments": true, "supportsReturningQueryExtent": true, "supportsQueryAttachmentsCountOnly": true, "supportsOrderByOnlyOnLayerFields": false, "supportsOutFieldSqlExpression": true, "supportsTopFeaturesQuery": true, "supportsReturningGeometryEnvelope": true, "supportsDistinct": true, "supportsReturningGeometryCentroid": true, "supportsQueryAnalytic": true, "supportsPercentileStatistics": true, "supportsHavingClause": true }, "subtypeField": "", "supportsValidateSQL": true, "enableZDefaults": true, "serviceItemId": "bea465c2e1004afd877982b747a25f3b", "allowUpdateWithoutMValues": true, "supportsCoordinatesQuantization": true, "types": [], "capabilities": "Query,Extract", "maxScale": 1128, "supportsAppend": true, "supportsExceedsLimitStatistics": true, "sourceSchemaChangesAllowed": true, "defaultVisibility": true, "advancedQueryAnalyticCapabilities": { "supportsAsync": true, "supportsLinearRegression": true, "supportsPercentileAnalytic": false }, "hasMetadata": true, "supportedAppendFormats": "shapefile,geojson,csv,featureCollection,excel,jsonl,featureService", "tileMaxRecordCount": 2000, "typeIdField": "", "supportsASyncCalculate": true, "supportsVCSProjection": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "sqlParserVersion": "PG_11.2.0", "drawingInfo": { "renderer": { "symbol": { "outline": { "color": [ 110, 110, 110, 255 ], "width": 0.7, "style": "esriSLSSolid", "type": "esriSLS" }, "color": [ 252, 206, 194, 255 ], "style": "esriSFSSolid", "type": "esriSFS" }, "type": "simple" }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "geometryField": { "sqlType": "sqlTypeOther", "nullable": true, "editable": true, "name": "shape", "typeName": "st_geometry", "length": 2147483647, "type": "esriFieldTypeGeometry" }, "copyrightText": "", "zDefault": 0, "geometryType": "esriGeometryPolygon", "supportsLayerOverrides": true } ] }