{ "layers": [ { "currentVersion": 11.2, "cimVersion": "3.2.0", "id": 1, "name": "Pavement Moratorium", "type": "Feature Layer", "parentLayer": null, "defaultVisibility": true, "minScale": 0, "maxScale": 0, "canScaleSymbols": false, "geometryType": "esriGeometryPolyline", "description": "", "copyrightText": "", "editFieldsInfo": { "creationDateField": "created_date", "creatorField": "created_user", "editDateField": "last_edited_date", "editorField": "last_edited_user" }, "ownershipBasedAccessControlForFeatures": null, "syncCanReturnChanges": true, "relationships": [], "isDataVersioned": true, "isDataArchived": true, "infoInEstimates": [ "extent" ], "isDataBranchVersioned": false, "isDataReplicaTracked": false, "isCoGoEnabled": false, "supportsRollbackOnFailureParameter": false, "archivingInfo": { "supportsQueryWithHistoricMoment": true, "startArchivingMoment": 1790878165000 }, "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": false, "supportsPercentileAnalytic": true }, "advancedEditingCapabilities": { "supportedSqlFormatsInCalculate": [ "standard" ], "supportsAsyncApplyEdits": true, "supportsApplyEditsbyUploadID": true, "supportedApplyEditsUploadIDFormats": "JSON" }, "hasGeometryProperties": true, "geometryProperties": { "shapeLengthFieldName": "Shape__Length", "units": "esriMeters" }, "hasMetadata": true, "extent": { "xmin": -1.3342818839835785E7, "ymin": 4081815.646058447, "xmax": -1.3318161568330158E7, "ymax": 4091458.4024784, "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 } }, "sourceSpatialReference": { "wkid": 102645, "latestWkid": 2229, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -117608900, "falseY": -91881400, "xyUnits": 3048.0060960121928, "falseZ": 0, "zUnits": 1, "falseM": 0, "mUnits": 1 }, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "var activity = Upper(Trim($feature.lastPavementActivity));\nvar baseDate = $feature.lastPavementDate;\n\n// Handle null dates\nif (IsEmpty(baseDate)) {\n return \"No Date\";\n}\n\n// Determine how many years to add\nvar yearsToAdd = IIF(activity == \"SLURRY SEAL\", 2, 4);\n\n// Calculate moratorium end date\nvar moratoriumEndDate = DateAdd(baseDate, yearsToAdd, 'years');\nvar today = Now();\n\n// Days remaining\nvar daysRemaining = DateDiff(moratoriumEndDate, today, \"days\");\n\n// Classify based on time remaining\nif (daysRemaining <= 0) {\n return \"Moratorium Ended\";\n} else if (daysRemaining <= 183) { // ~6 months\n return \"Less than 6 months\";\n} else if (daysRemaining <= 365) {\n return \"6 months to 1 year\";\n} else {\n return \"More than 1 year\";\n}", "valueExpressionTitle": "Custom", "uniqueValueGroups": [ { "heading": "Moratorium Time Remaining", "classes": [ { "label": "6 months to 1 year", "description": "6 months to 1 year", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 204, 102, 119, 255 ], "width": 3 }, "values": [ [ "6 months to 1 year" ] ] }, { "label": "Less than 6 months", "description": "Less than 6 months", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 51, 34, 135, 255 ], "width": 3 }, "values": [ [ "Less than 6 months" ] ] }, { "label": "More than 1 year", "description": "More than 1 year", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 138, 204, 237, 255 ], "width": 3 }, "values": [ [ "More than 1 year" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 204, 102, 119, 255 ], "width": 3 }, "value": "6 months to 1 year", "label": "6 months to 1 year" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 51, 34, 135, 255 ], "width": 3 }, "value": "Less than 6 months", "label": "Less than 6 months" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 138, 204, 237, 255 ], "width": 3 }, "value": "More than 1 year", "label": "More than 1 year" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 202, 247, 252, 255 ], "toColor": [ 202, 247, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 249, 182, 252, 255 ], "toColor": [ 249, 182, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 194, 182, 255 ], "toColor": [ 252, 194, 182, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 195, 252, 179, 255 ], "toColor": [ 195, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 187, 197, 252, 255 ], "toColor": [ 187, 197, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 247, 212, 255 ], "toColor": [ 252, 247, 212, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 212, 239, 255 ], "toColor": [ 252, 212, 239, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 194, 252, 222, 255 ], "toColor": [ 194, 252, 222, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 179, 210, 255 ], "toColor": [ 252, 179, 210, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 215, 225, 252, 255 ], "toColor": [ 215, 225, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 230, 199, 252, 255 ], "toColor": [ 230, 199, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 240, 252, 184, 255 ], "toColor": [ 240, 252, 184, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 202, 179, 252, 255 ], "toColor": [ 202, 179, 252, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "hasM": false, "hasZ": false, "allowGeometryUpdates": true, "allowTrueCurvesUpdates": true, "onlyAllowTrueCurveUpdatesByTrueCurveClients": true, "hasAttachments": false, "supportsApplyEditsWithGlobalIds": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "objectIdField": "OBJECTID", "globalIdField": "GlobalID", "displayField": "nameAlf", "typeIdField": "", "subtypeField": "", "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null, "editable": false, "nullable": false, "defaultValue": null, "modelName": "OBJECTID" }, { "name": "adlf", "type": "esriFieldTypeDouble", "alias": "Address Left From", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "adlf" }, { "name": "adlt", "type": "esriFieldTypeDouble", "alias": "Address Left To", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "adlt" }, { "name": "adrf", "type": "esriFieldTypeDouble", "alias": "Address Right From", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "adrf" }, { "name": "adrt", "type": "esriFieldTypeDouble", "alias": "Address Right To", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "adrt" }, { "name": "begLocation", "type": "esriFieldTypeString", "alias": "Beginning Location", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "begLocation" }, { "name": "endLocation", "type": "esriFieldTypeString", "alias": "Ending Location", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "endLocation" }, { "name": "functClass", "type": "esriFieldTypeString", "alias": "Functional Classification (OMS)", "domain": { "type": "codedValue", "name": "PavementFunctionalClassifications", "description": "PavementFunctionalClassifications", "codedValues": [ { "name": "Rural Arterial", "code": "Rural Arterial" }, { "name": "Rural Collector", "code": "Rural Collector" }, { "name": "Rural Local", "code": "Rural Local" }, { "name": "Urban Arterial", "code": "Urban Arterial" }, { "name": "Urban Collector", "code": "Urban Collector" }, { "name": "Urban Local", "code": "Urban Local" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 25, "defaultValue": null, "modelName": "functClass" }, { "name": "lastPavementActivity", "type": "esriFieldTypeString", "alias": "Last Pavement Activity (OMS)", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "lastPavementActivity" }, { "name": "lastPavementDate", "type": "esriFieldTypeDate", "alias": "Last Pavement Date (OMS)", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "lastPavementDate" }, { "name": "length", "type": "esriFieldTypeDouble", "alias": "Length", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "length" }, { "name": "nameAlf", "type": "esriFieldTypeString", "alias": "Street Name and Type (OMS)", "domain": null, "editable": true, "nullable": true, "length": 254, "defaultValue": null, "modelName": "nameAlf" }, { "name": "numLanes", "type": "esriFieldTypeString", "alias": "Number of Lanes", "domain": { "type": "codedValue", "name": "LaneCount", "description": "LaneCount", "codedValues": [ { "name": "1", "code": "1" }, { "name": "2", "code": "2" }, { "name": "3", "code": "3" }, { "name": "4", "code": "4" }, { "name": "5", "code": "5" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 5, "defaultValue": null, "modelName": "numLanes" }, { "name": "ownership", "type": "esriFieldTypeString", "alias": "Ownership (OMS)", "domain": { "type": "codedValue", "name": "PWJurisdictions", "description": "PWJurisdictions", "codedValues": [ { "name": "AMD", "code": "AMD" }, { "name": "Cachuma Operation and Maintenance Board", "code": "Cachuma Operation and Maintenance Board" }, { "name": "Cal Trans", "code": "Cal Trans" }, { "name": "CALTRANS", "code": "CALTRANS" }, { "name": "City", "code": "City" }, { "name": "City of Carpenteria", "code": "City of Carpenteria" }, { "name": "City of Goleta", "code": "City of Goleta" }, { "name": "City of Santa Barbara", "code": "City of Santa Barbara" }, { "name": "County", "code": "County" }, { "name": "County of Santa Barbara", "code": "County of Santa Barbara" }, { "name": "Goleta", "code": "Goleta" }, { "name": "Goleta Sanitary District", "code": "Goleta Sanitary District" }, { "name": "Goleta Water District", "code": "Goleta Water District" }, { "name": "La Cumbre Water District", "code": "La Cumbre Water District" }, { "name": "Montecito Sanitary District", "code": "Montecito Sanitary District" }, { "name": "Montecito Water District", "code": "Montecito Water District" }, { "name": "Other", "code": "Other" }, { "name": "Private", "code": "Private" }, { "name": "Private Property", "code": "Private Property" }, { "name": "SCHOOL", "code": "SCHOOL" }, { "name": "STATE", "code": "STATE" }, { "name": "Union Pacific RailRoad", "code": "Union Pacific RailRoad" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 50, "defaultValue": null, "modelName": "ownership" }, { "name": "paveClass", "type": "esriFieldTypeString", "alias": "Pavement Classification (OMS)", "domain": { "type": "codedValue", "name": "PavementClassifications", "description": "PavementClassifications", "codedValues": [ { "name": "Asphalt", "code": "Asphalt" }, { "name": "Brick and Block", "code": "Brick and Block" }, { "name": "Concrete", "code": "Concrete" }, { "name": "Earth", "code": "Earth" }, { "name": "Gravel", "code": "Gravel" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 25, "defaultValue": null, "modelName": "paveClass" }, { "name": "rowWidth", "type": "esriFieldTypeDouble", "alias": "ROW Width (OMS)", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "rowWidth" }, { "name": "sbcntrID", "type": "esriFieldTypeString", "alias": "Santa Barbara Center ID", "domain": null, "editable": true, "nullable": true, "length": 10, "defaultValue": null, "modelName": "sbcntrID" }, { "name": "speedZone", "type": "esriFieldTypeString", "alias": "Speed Zone", "domain": { "type": "codedValue", "name": "SpeedZone", "description": "SpeedZone", "codedValues": [ { "name": "5", "code": "5" }, { "name": "10", "code": "10" }, { "name": "15", "code": "15" }, { "name": "20", "code": "20" }, { "name": "25", "code": "25" }, { "name": "30", "code": "30" }, { "name": "35", "code": "35" }, { "name": "40", "code": "40" }, { "name": "45", "code": "45" }, { "name": "50", "code": "50" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 4, "defaultValue": null, "modelName": "speedZone" }, { "name": "width", "type": "esriFieldTypeDouble", "alias": "Width", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "width" }, { "name": "GlobalID", "type": "esriFieldTypeGlobalID", "alias": "GlobalID", "domain": null, "editable": false, "nullable": false, "length": 38, "defaultValue": null, "modelName": "GlobalID" }, { "name": "created_user", "type": "esriFieldTypeString", "alias": "created_user", "domain": null, "editable": false, "nullable": true, "length": 255, "defaultValue": null, "modelName": "created_user" }, { "name": "created_date", "type": "esriFieldTypeDate", "alias": "created_date", "domain": null, "editable": false, "nullable": true, "length": 8, "defaultValue": null, "modelName": "created_date" }, { "name": "last_edited_user", "type": "esriFieldTypeString", "alias": "last_edited_user", "domain": null, "editable": false, "nullable": true, "length": 255, "defaultValue": null, "modelName": "last_edited_user" }, { "name": "last_edited_date", "type": "esriFieldTypeDate", "alias": "last_edited_date", "domain": null, "editable": false, "nullable": true, "length": 8, "defaultValue": null, "modelName": "last_edited_date" }, { "name": "GIS.Pavement.area", "type": "esriFieldTypeDouble", "alias": "GIS.Pavement.area", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "GIS.Pavement.area" }, { "name": "omsID", "type": "esriFieldTypeString", "alias": "OMS Segment ID (OMS)", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "omsID" }, { "name": "Shape__Length", "type": "esriFieldTypeDouble", "alias": "Shape.STLength()", "domain": null, "editable": false, "required": true, "nullable": true, "defaultValue": null, "modelName": "Shape.STLength()" } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "Shape" }, "indexes": [ { "name": "R1773_pk", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "UUID_1773", "fields": "GlobalID", "isAscending": true, "isUnique": false, "description": "" }, { "name": "UUID_OID_1773", "fields": "GlobalID,OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "S1666_idx", "fields": "Shape", "isAscending": true, "isUnique": true, "description": "" } ], "datesInUnknownTimezone": false, "dateFieldsTimeReference": { "timeZone": "UTC", "respectsDaylightSaving": false }, "preferredTimeReference": null, "types": [], "templates": [ { "name": "Pavement Moratorium", "description": "", "prototype": { "attributes": { "omsID": null, "adlf": null, "adlt": null, "adrf": null, "adrt": null, "begLocation": null, "endLocation": null, "functClass": null, "lastPavementActivity": null, "lastPavementDate": null, "length": null, "nameAlf": null, "numLanes": null, "ownership": null, "paveClass": null, "rowWidth": null, "sbcntrID": null, "speedZone": null, "width": null, "GIS.Pavement.area": null } }, "drawingTool": "esriFeatureEditToolLine" } ], "maxRecordCount": 2000, "supportedQueryFormats": "JSON, geoJSON, PBF", "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson", "capabilities": "Query,Create,Update,Delete,Uploads,Editing,Extract", "useStandardizedQueries": true, "bigIntegerRestrictedTo53Bits": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelIndexIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin", "esriSpatialRelRelation" ], "standardMaxRecordCount": 8000, "tileMaxRecordCount": 4000, "standardMaxRecordCountNoGeometry": 32000, "maxRecordCountFactor": 1, "serviceItemId": "95f780540d6b47d2b085b0ab9ea809b9" } ], "tables": [] }