{ "isCoGoEnabled": true, "extent": { "ymin": 2095631.5629909784, "xmin": 6664872.61624597, "ymax": 2360405.1873140633, "xmax": 6840577.192001477, "spatialReference": { "falseM": -100000, "xyTolerance": 0.003280833333333333, "mUnits": 10000, "zUnits": 10000, "latestWkid": 2226, "zTolerance": 0.001, "wkid": 102642, "xyUnits": 3048.0060960121928, "mTolerance": 0.001, "falseX": -115211800, "falseY": -93821500, "falseZ": -100000 } }, "isDataBranchVersioned": false, "supportsApplyEditsWithGlobalIds": true, "maxRecordCount": 2000, "infoInEstimates": [ "extent", "count" ], "datesInUnknownTimezone": false, "definitionQuery": "retiredbyrecord IS NULL", "type": "Feature Layer", "onlyAllowTrueCurveUpdatesByTrueCurveClients": true, "supportsAttachmentsByUploadId": true, "relationships": [], "supportsAttachmentsResizing": true, "cimVersion": "2.9.0", "isDataArchived": false, "id": 295, "supportsStatistics": true, "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson", "standardMaxRecordCount": 2000, "isDataVersioned": false, "templates": [ { "name": "ParcelLines", "description": "", "drawingTool": "esriFeatureEditToolLine", "prototype": { "attributes": {} } } ], "hasGeometryProperties": true, "supportsAdvancedQueries": true, "parentLayer": { "name": "TaxParcel", "id": 294 }, "currentVersion": 11.3, "canScaleSymbols": false, "hasZ": true, "advancedEditingCapabilities": { "supportsAsyncApplyEdits": true, "supportsApplyEditsbyUploadID": true, "supportsReturnEditResults": true, "supportedSqlFormatsInCalculate": [ "standard" ], "supportedApplyEditsUploadIDFormats": "JSON" }, "objectIdField": "objectid", "supportsQuantizationEditMode": true, "name": "TaxParcel_Lines", "allowTrueCurvesUpdates": false, "displayField": "direction", "supportsCalculate": true, "fields": [ { "nullable": false, "defaultValue": null, "editable": false, "length": 4, "type": "esriFieldTypeOID", "modelName": "objectid", "domain": null, "name": "objectid", "alias": "OBJECTID" }, { "nullable": false, "editable": false, "defaultValue": null, "length": 38, "type": "esriFieldTypeGlobalID", "modelName": "globalid", "domain": null, "name": "globalid", "alias": "GlobalID" }, { "modelName": "createdbyrecord", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "createdbyrecord", "length": 38, "alias": "Created By Record", "type": "esriFieldTypeGUID" }, { "modelName": "retiredbyrecord", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "retiredbyrecord", "length": 38, "alias": "Retired By Record", "type": "esriFieldTypeGUID" }, { "modelName": "direction", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "direction", "alias": "Direction", "type": "esriFieldTypeDouble" }, { "modelName": "distance", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "distance", "alias": "Distance", "type": "esriFieldTypeDouble" }, { "modelName": "radius", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "radius", "alias": "Radius", "type": "esriFieldTypeDouble" }, { "modelName": "arclength", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "arclength", "alias": "Arc Length", "type": "esriFieldTypeDouble" }, { "modelName": "radius2", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "radius2", "alias": "Radius2", "type": "esriFieldTypeDouble" }, { "modelName": "cogotype", "nullable": true, "editable": true, "defaultValue": null, "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", "type": "esriFieldTypeInteger" }, { "modelName": "iscogoground", "nullable": true, "editable": true, "defaultValue": null, "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", "type": "esriFieldTypeInteger" }, { "modelName": "rotation", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "rotation", "alias": "Rotation", "type": "esriFieldTypeDouble" }, { "modelName": "scale", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "scale", "alias": "Scale", "type": "esriFieldTypeDouble" }, { "modelName": "directionaccuracy", "nullable": true, "editable": true, "defaultValue": 30, "domain": null, "name": "directionaccuracy", "alias": "Direction Accuracy", "type": "esriFieldTypeDouble" }, { "modelName": "distanceaccuracy", "nullable": true, "editable": true, "defaultValue": 0.4921249999999999, "domain": null, "name": "distanceaccuracy", "alias": "Distance Accuracy", "type": "esriFieldTypeDouble" }, { "modelName": "parentlineid", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "parentlineid", "length": 38, "alias": "Parent Line ID", "type": "esriFieldTypeGUID" }, { "modelName": "created_user", "nullable": true, "editable": false, "defaultValue": null, "domain": null, "name": "created_user", "length": 255, "alias": "Created By", "type": "esriFieldTypeString" }, { "modelName": "created_date", "nullable": true, "editable": false, "defaultValue": null, "domain": null, "precision": 1, "name": "created_date", "length": 29, "alias": "Created Date", "type": "esriFieldTypeDate" }, { "modelName": "last_edited_user", "nullable": true, "editable": false, "defaultValue": null, "domain": null, "name": "last_edited_user", "length": 255, "alias": "Modified By", "type": "esriFieldTypeString" }, { "modelName": "last_edited_date", "nullable": true, "editable": false, "defaultValue": null, "domain": null, "precision": 1, "name": "last_edited_date", "length": 29, "alias": "Modified Date", "type": "esriFieldTypeDate" }, { "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, "useStandardizedQueries": true, "globalIdField": "globalid", "description": "Lines", "syncCanReturnChanges": true, "supportsAsyncDelete": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin" ], "geometryProperties": { "shapeLengthFieldName": "SHAPE__Length", "units": "esriFeet" }, "supportsRollbackOnFailureParameter": true, "isDataReplicaTracked": false, "standardMaxRecordCountNoGeometry": 16000, "supportsTruncate": true, "indexes": [ { "name": "g43createdbyreco", "isUnique": false, "description": "", "fields": "createdbyrecord", "isAscending": true }, { "name": "i43retiredbyreco", "isUnique": false, "description": "", "fields": "retiredbyrecord", "isAscending": true }, { "name": "r26_sde_rowid_uk", "isUnique": true, "description": "", "fields": "objectid", "isAscending": true }, { "name": "uuid_26", "isUnique": true, "description": "", "fields": "globalid", "isAscending": true }, { "name": "a12_ix1", "isUnique": true, "description": "", "fields": "shape", "isAscending": true } ], "supportedAppendSourceFilterFormats": "featureService", "editFieldsInfo": { "editDateField": "last_edited_date", "editorField": "last_edited_user", "creationDateField": "created_date", "creatorField": "created_user" }, "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 }, "supportsValidateSQL": true, "enableZDefaults": true, "serviceItemId": "8c30c70aaaf94f439cd66abd1a35c03a", "allowUpdateWithoutMValues": true, "supportsCoordinatesQuantization": true, "types": [], "capabilities": "Query", "maxScale": 0, "supportsAppend": true, "supportsExceedsLimitStatistics": 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": { "color": [ 140, 140, 140, 255 ], "width": 1, "style": "esriSLSSolid", "type": "esriSLS" }, "type": "simple" }, "scaleSymbols": true, "transparency": 0, "labelingInfo": [ { "multiPart": "labelPerFeature", "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, "offsetDistance": 3, "maxScale": 0, "lineConnection": "none", "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 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 direction=$feature.Direction;\nvar distance=$feature.Distance;\nvar radius=$feature.Radius;\nvar arclength=$feature.Arclength;\nvar radius2=$feature.Radius2\nvar prefix; // quadrant bearing prefix\nvar postfix; // quadrant bearing postfix\nvar bearing; \nvar quadbearing;\nvar binaryDictionary; //binary dictionary to check COGO combinations\nvar checksum=0; //initialize checksum\nvar validValuesArray; //array of valid values for COGO combinations\nvar partialValuesArray; //array of partial values for COGO\nvar degrees;\nvar minutes;\nvar seconds;\nvar DMS;\nvar directionStr = \"\"; //direction string using for label\nvar distanceStr = \"\"; //distance string using for label\nvar radiusStr = \"\"; //radius string using for label\nvar radius2Str = \"\"; //radius2 string using for labeling spiral curves\nvar curveStr = \"\"; //curve parameter string using for label\nvar angleRad; //curve angle in radians\nvar COGOValidity; //COGO combinations validity. can be valid, partial or invalid.\n\n\nfunction NorthAzimuth2Quadbearing(azimuth){\n if (azimuth<90 && azimuth>=0){\n bearing=azimuth;\n prefix = \"N\";\n postfix= \"E\";}\n else if (azimuth<180 && azimuth>=90){\n bearing=180-azimuth;\n prefix = \"S\";\n postfix= \"E\";}\n else if (azimuth<270 && azimuth>=180){\n bearing=abs(180-azimuth);\n prefix = \"S\";\n postfix= \"W\";}\n else if (azimuth<360 && azimuth>=270){\n bearing=360-azimuth;\n prefix = \"N\";\n postfix= \"W\";}\n \n degrees=floor(bearing);\n minutes=floor((bearing-degrees)*60)\n seconds=((bearing-degrees-minutes/60)*3600)\n if (seconds>=59.5){\n seconds=0;\n minutes+=1;\n if (minutes==60){\n minutes=0;\n degrees+=1;}}\n quadbearing=prefix+degrees+\"°\"+text(minutes,\"00\")+\"'\"+text(seconds,\"00\")+\"''\"+postfix;\n return quadbearing;\n}\n\nfunction DMS(bearing){\n degrees=floor(bearing);\n minutes=floor((bearing-degrees)*60)\n seconds=((bearing-degrees-minutes/60)*3600)\n if (seconds>=59.5){\n seconds=0;\n minutes+=1;\n if (minutes==60){\n minutes=0;\n degrees+=1;}}\n DMS=degrees+\"°\"+text(minutes,\"00\")+\"'\"+text(seconds,\"00\")+\"''\";\n return DMS;\n \n}\nfunction IsValidCOGO(direction, distance, radius, arclength, radius2) {\n binaryDictionary= Dictionary('dir', 1, 'dist',2, 'rad',4, 'arc',8, 'rad2',16)\n if (!IsEmpty(direction)) {checksum+=binaryDictionary.dir}\n if (!IsEmpty(distance)) {checksum+=binaryDictionary.dist}\n if (!IsEmpty(radius)) {checksum+=binaryDictionary.rad}\n if (!IsEmpty(arclength)) {checksum+=binaryDictionary.arc}\n if (!IsEmpty(radius2)) {checksum+=binaryDictionary.rad2}\n \n validValuesArray=[0,3,8,13,29]; //array of valid combinations: '0' for nothing, ... '13' for direction & radius & arclength ...\n partialValuesArray=[1,2,4,5,9,12,16,20,21,25,28]; //array of partial combinations: '1' for only direction, '2' for only distance, '4' for only radius...\n \n if (IndexOf(validValuesArray,checksum)>-1) { // a negative value is returned if checksum value is not in the a valid combination array\n return \"valid\";\n }\n if (IndexOf(partialValuesArray,checksum)>-1){\n return \"partial\"; \n }\n return \"invalid\";\n}\n\nCOGOValidity = IsValidCOGO(direction, distance, radius, arclength, radius2);\nif ( COGOValidity == \"invalid\") { //if invalid COGO return error string\n return \"\" + fontNameSize + ErrorString + \"<\/FNT><\/CLR><\/BOL>\"; \n}\n\nelse if (COGOValidity == \"partial\") { //if a partial COGO change colors\n distanceColor = partialCOGOColor;\n directionColor = partialCOGOColor;\n radiusColor = 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)) { //it can be a curve or a spiral\n if (IsEmpty(radius2)) { //if radius2 is empty this is a curve\n radiusStr = \"\" + fontNameSize + RadiusAbbr + \" \" + text(round(radius, DistUnitRounding), NumberFormat) + \"<\/FNT><\/CLR>\";\n }\n else { // it is a spiral\n radiusStr = \"\" + fontNameSize + RadiusAbbr + \" \" + text(round(radius, DistUnitRounding),NumberFormat) + \"<\/FNT><\/CLR>\";\n radius2Str = \"\" + fontNameSize + Radius2Abbr + \" \" + text(round(radius2, DistUnitRounding),NumberFormat) + \"<\/FNT><\/CLR>\";\n if (radius == 0) { //substitute to infinity sign\n radiusStr = \"\" + fontNameSize + RadiusAbbr + \" ∞ \" + \"<\/FNT><\/CLR>\";\n }\n if (radius2 == 0) { //substitute to infinity sign\n radius2Str = \"\" + fontNameSize + Radius2Abbr + \" ∞ \" + \"<\/FNT><\/CLR>\";\n }\n } \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 + \" \" + radius2Str + \" \\n \" + curveStr;\n}"}, "deconflictionStrategy": "static", "priority": -1, "labelPlacement": "esriServerLinePlacementBelowStart", "removeDuplicates": "none", "textLayout": "followFeature", "name": "Direction and Distance", "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 }