{ "currentVersion": 11.3, "cimVersion": "3.3.0", "id": 10, "name": "Tax Lines", "type": "Feature Layer", "parentLayer": null, "defaultVisibility": true, "minScale": 565, "maxScale": 0, "canScaleSymbols": false, "geometryType": "esriGeometryPolyline", "description": "", "copyrightText": "", "editFieldsInfo": null, "ownershipBasedAccessControlForFeatures": null, "syncCanReturnChanges": false, "relationships": [], "isDataVersioned": false, "isDataArchived": false, "infoInEstimates": [ "extent", "count" ], "isDataBranchVersioned": false, "isDataReplicaTracked": false, "isCoGoEnabled": false, "supportsRollbackOnFailureParameter": true, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "supportsValidateSQL": true, "supportsCoordinatesQuantization": true, "supportsQuantizationEditMode": true, "supportsCalculate": true, "supportsASyncCalculate": true, "supportsDatumTransformation": true, "advancedQueryCapabilities": { "supportsPagination": true, "supportsTrueCurve": true, "supportsQueryWithDistance": true, "supportsReturningQueryExtent": true, "supportsStatistics": true, "supportsPercentileStatistics": true, "supportsHavingClause": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsCountDistinct": true, "supportsAdvancedQueryRelated": true, "supportsQueryRelatedPagination": true, "supportsCurrentUserQueries": true, "supportsQueryWithResultType": true, "supportsReturningGeometryCentroid": false, "supportsSqlExpression": true, "supportsQueryWithDatumTransformation": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsQueryAnalytic": true }, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": true, "supportsPercentileAnalytic": true }, "advancedEditingCapabilities": { "supportedSqlFormatsInCalculate": [ "standard" ], "supportsAsyncApplyEdits": true, "supportsApplyEditsbyUploadID": true, "supportedApplyEditsUploadIDFormats": "JSON" }, "hasGeometryProperties": true, "geometryProperties": { "shapeLengthFieldName": "Shape__Length", "units": "esriFeet" }, "hasMetadata": true, "extent": { "xmin": 2462736.5249536335, "ymin": 518687.95060297847, "xmax": 2496198.850089222, "ymax": 538589.2710364759, "spatialReference": { "wkid": 102749, "latestWkid": 2286, "vcsWkid": 105703, "latestVcsWkid": 6360, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -117498300, "falseY": -98850300, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 3048.006096012192, "falseM": -100000, "mUnits": 10000 } }, "heightModelInfo": { "heightModel": "gravity_related_height", "vertCRS": "NAVD88_height_(ftUS)", "heightUnit": "us-foot" }, "sourceSpatialReference": { "wkid": 102749, "latestWkid": 2286, "vcsWkid": 105703, "latestVcsWkid": 6360, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -117498300, "falseY": -98850300, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": 0, "mUnits": 1 }, "sourceHeightModelInfo": { "heightModel": "gravity_related_height", "vertCRS": "NAVD88_height_(ftUS)", "heightUnit": "us-foot" }, "drawingInfo": { "renderer": { "type": "simple", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 178, 178, 178, 0 ], "width": 1 } }, "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 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 = \"red='156' green ='194' blue='223'\"; //direction color: red, green, blue, cyan, magenta, yellow, black. You can also use RGB or CYMK combinations.\nvar distanceColor = \"red='166' green ='166' blue='166'\"; //distance color: red, green, blue, cyan, magenta, yellow, black. You can also use RGB or CYMK combinations.\nvar radiusColor = \"red='156' green ='194' blue='223'\"; //radius color: red, green, blue, cyan, magenta, yellow, black. You can also use RGB or CYMK combinations.\nvar curveParamColor = \"red='166' green ='166' blue='166'\"; //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 = NorthAzimuth2Quadbearing(direction);\n }\n else { //using north azimuth format\n directionStr = DMS(direction);\n }\n }\n}\n\n// Distance string\nif (ShowDistance) {\n if (IsEmpty(distance)==false) {\n distanceStr = text(round(distance,DistUnitRounding), NumberFormat);\n }\n}\n\n//Radius String\nif (ShowRadius) {\n if (!IsEmpty(radius)) { //it can be a curve or a spiral\n if (IsEmpty(radius2)) { //if radius2 is empty this is a curve\n radiusStr = RadiusAbbr + \" \" + text(round(radius, DistUnitRounding), NumberFormat);\n }\n else { // it is a spiral\n radiusStr = RadiusAbbr + \" \" + text(round(radius, DistUnitRounding),NumberFormat);\n radius2Str = Radius2Abbr + \" \" + text(round(radius2, DistUnitRounding),NumberFormat);\n if (radius == 0) { //substitute to infinity sign\n radiusStr = RadiusAbbr + \" ∞ \";\n }\n if (radius2 == 0) { //substitute to infinity sign\n radius2Str = Radius2Abbr + \" ∞ \";\n }\n } \n \n }\n}\n\n// Curve Parameter\nif (ShowCurveParemater) {\n if (!IsEmpty(arclength)) {\n if (CurveParameter == 'ArcLength') {\n curveStr = ArclengthAbrr + text(round(arclength, DistUnitRounding), NumberFormat); //return Arc length \n }\n angleRad = arclength/(abs(radius)) //calculate angle in radians\n if (CurveParameter == 'Angle') {\n curveStr = AngleAbbr + DMS(angleRad * 180 / pi); // convert radian to degrees and show as DMS\n }\n if (CurveParameter == 'Chord') {\n curveStr = ChordAbbr + text(round((2 * abs(radius) * Sin(angleRad/2)),DistUnitRounding), NumberFormat); //calculate chord length\n } \n }\n}\n \n// Assemble label string\nif (IsEmpty(radius)) { //if its empty it is not a curve\n return directionStr + \" \" + distanceStr\n}\nelse { //it's a curve\n return radiusStr + \" \" + radius2Str + \" \" + curveStr;\n}", "title": "Custom" }, "lineOrientation": "direction", "labelPlacement": "esriServerLinePlacementBelowStart", "textLayout": "followFeature", "deconflictionStrategy": "static", "lineConnection": "none", "multiPart": "labelPerFeature", "useClippedGeometry": true, "offsetDistance": 3, "stackLabel": false, "removeDuplicates": "all", "removeDuplicatesDistance": 0, "useCodedValues": false, "maxScale": 0, "minScale": 564.248588, "name": "Direction and Distance", "priority": -1, "symbol": { "type": "esriTS", "color": [ 156, 156, 156, 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, 127 ], "haloSize": 1, "font": { "family": "Lucida Sans", "size": 10, "style": "normal", "weight": "normal", "decoration": "none" } } } ] }, "hasM": false, "hasZ": true, "enableZDefaults": true, "zDefault": 0, "supportsVCSProjection": true, "allowGeometryUpdates": true, "allowTrueCurvesUpdates": true, "onlyAllowTrueCurveUpdatesByTrueCurveClients": true, "hasAttachments": false, "supportsApplyEditsWithGlobalIds": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "objectIdField": "OBJECTID", "globalIdField": "", "displayField": "created_user", "typeIdField": "", "subtypeField": "", "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null, "editable": false, "nullable": false, "defaultValue": null, "modelName": "OBJECTID" }, { "name": "CreatedByRecord", "type": "esriFieldTypeGUID", "alias": "CreatedByRecord", "domain": null, "editable": true, "nullable": true, "length": 38, "defaultValue": null, "modelName": "CreatedByRecord" }, { "name": "RetiredByRecord", "type": "esriFieldTypeGUID", "alias": "RetiredByRecord", "domain": null, "editable": true, "nullable": true, "length": 38, "defaultValue": null, "modelName": "RetiredByRecord" }, { "name": "ParentLineID", "type": "esriFieldTypeGUID", "alias": "ParentLineID", "domain": null, "editable": true, "nullable": true, "length": 38, "defaultValue": null, "modelName": "ParentLineID" }, { "name": "Direction", "type": "esriFieldTypeDouble", "alias": "Direction", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "Direction" }, { "name": "Distance", "type": "esriFieldTypeDouble", "alias": "Distance", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "Distance" }, { "name": "Radius", "type": "esriFieldTypeDouble", "alias": "Radius", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "Radius" }, { "name": "ArcLength", "type": "esriFieldTypeDouble", "alias": "ArcLength", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "ArcLength" }, { "name": "Radius2", "type": "esriFieldTypeDouble", "alias": "Radius2", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "Radius2" }, { "name": "COGOType", "type": "esriFieldTypeInteger", "alias": "COGOType", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "COGOType" }, { "name": "IsCOGOGround", "type": "esriFieldTypeInteger", "alias": "IsCOGOGround", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "IsCOGOGround" }, { "name": "Rotation", "type": "esriFieldTypeDouble", "alias": "Rotation", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "Rotation" }, { "name": "Scale", "type": "esriFieldTypeDouble", "alias": "Scale", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "Scale" }, { "name": "DirectionAccuracy", "type": "esriFieldTypeDouble", "alias": "DirectionAccuracy", "domain": null, "editable": true, "nullable": true, "defaultValue": 30, "modelName": "DirectionAccuracy" }, { "name": "DistanceAccuracy", "type": "esriFieldTypeDouble", "alias": "DistanceAccuracy", "domain": null, "editable": true, "nullable": true, "defaultValue": 0.4921249999999999, "modelName": "DistanceAccuracy" }, { "name": "created_user", "type": "esriFieldTypeString", "alias": "created_user", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "created_user" }, { "name": "created_date", "type": "esriFieldTypeDate", "alias": "created_date", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "created_date" }, { "name": "last_edited_user", "type": "esriFieldTypeString", "alias": "last_edited_user", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "last_edited_user" }, { "name": "last_edited_date", "type": "esriFieldTypeDate", "alias": "last_edited_date", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "last_edited_date" }, { "name": "LabelPosition", "type": "esriFieldTypeInteger", "alias": "LabelPosition", "domain": null, "editable": true, "nullable": true, "defaultValue": 1, "modelName": "LabelPosition" }, { "name": "Shape__Length", "type": "esriFieldTypeDouble", "alias": "Shape.STLength()", "domain": null, "editable": false, "nullable": true, "defaultValue": null, "modelName": "Shape.STLength()", "required": true } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "Shape" }, "indexes": [ { "name": "R219_pk", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "S114_idx", "fields": "Shape", "isAscending": true, "isUnique": true, "description": "" } ], "datesInUnknownTimezone": false, "dateFieldsTimeReference": { "timeZone": "UTC", "respectsDaylightSaving": true }, "preferredTimeReference": { "timeZone": "Pacific Standard Time", "respectsDaylightSaving": true }, "types": [], "templates": [ { "name": "Tax Lines", "description": "", "prototype": { "attributes": { "LabelPosition": 1, "CreatedByRecord": null, "RetiredByRecord": null, "ParentLineID": null, "Direction": null, "Distance": null, "Radius": null, "ArcLength": null, "Radius2": null, "COGOType": null, "IsCOGOGround": null, "Rotation": null, "Scale": null, "DirectionAccuracy": 30, "DistanceAccuracy": 0.4921249999999999, "created_user": null, "created_date": null, "last_edited_user": null, "last_edited_date": null } }, "drawingTool": "esriFeatureEditToolLine" } ], "maxRecordCount": 2000, "supportedQueryFormats": "JSON, geoJSON, PBF", "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson", "capabilities": "Query,Extract", "useStandardizedQueries": true, "bigIntegerRestrictedTo53Bits": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelIndexIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin", "esriSpatialRelRelation" ], "standardMaxRecordCount": 8000, "tileMaxRecordCount": 4000, "standardMaxRecordCountNoGeometry": 32000, "maxRecordCountFactor": 1, "serviceItemId": "9a925b99cb1c49aa9ca5e66f31b26af7" }