{ "layers": [ { "currentVersion": 11.2, "cimVersion": "3.2.0", "id": 1, "name": "Route Status", "type": "Feature Layer", "description": "cotbase.DBO.Route Status", "geometryType": "esriGeometryPolyline", "sourceSpatialReference": { "wkid": 102677, "latestWkid": 3419, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -120389200, "falseY": -95723100, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "var a;\nvar b;\na = DateDiff(Now(), $feature.LASTUPDATE, 'hours')\nb=When(a <= 1, '<1 Hour'\n , a <= 2, '<2 Hours'\n , a <= 3, '<3 Hours'\n , a <= 6, '<6 Hours'\n , a <= 12, '<12 Hours'\n , a <= 24, '<24 Hours'\n , '>24 Hours');\n\nreturn b;", "valueExpressionTitle": "Custom", "uniqueValueGroups": [ { "heading": "", "classes": [ { "label": "<1 Hour", "description": "<1 Hour", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 88, 19, 252, 255 ], "width": 4 }, "values": [ [ "<1 Hour" ] ] }, { "label": "<2 Hours", "description": "<2 Hours", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 103, 147, 255, 255 ], "width": 4 }, "values": [ [ "<2 Hours" ] ] }, { "label": "<3 Hours", "description": "<3 Hours", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 8, 252, 253, 255 ], "width": 4 }, "values": [ [ "<3 Hours" ] ] }, { "label": "<6 Hours", "description": "<6 Hours", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 179, 253, 163, 255 ], "width": 4 }, "values": [ [ "<6 Hours" ] ] }, { "label": "<12 Hours", "description": "<12 Hours", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 242, 253, 41, 255 ], "width": 4 }, "values": [ [ "<12 Hours" ] ] }, { "label": "<24 Hours", "description": "<24 Hours", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 254, 167, 20, 255 ], "width": 4 }, "values": [ [ "<24 Hours" ] ] }, { "label": "No Recent Updates", "description": "No Recent Updates", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 254, 43, 23, 255 ], "width": 4 }, "values": [ [ ">24 Hours" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 88, 19, 252, 255 ], "width": 4 }, "value": "<1 Hour", "label": "<1 Hour" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 103, 147, 255, 255 ], "width": 4 }, "value": "<2 Hours", "label": "<2 Hours" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 8, 252, 253, 255 ], "width": 4 }, "value": "<3 Hours", "label": "<3 Hours" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 179, 253, 163, 255 ], "width": 4 }, "value": "<6 Hours", "label": "<6 Hours" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 242, 253, 41, 255 ], "width": 4 }, "value": "<12 Hours", "label": "<12 Hours" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 254, 167, 20, 255 ], "width": 4 }, "value": "<24 Hours", "label": "<24 Hours" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 254, 43, 23, 255 ], "width": 4 }, "value": ">24 Hours", "label": "No Recent Updates" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 90, 10, 250, 255 ], "toColor": [ 23, 255, 255, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 23, 255, 255, 255 ], "toColor": [ 241, 252, 30, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 241, 252, 30, 255 ], "toColor": [ 252, 34, 10, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": -1.2038881008873963E8, "ymin": -9.57227196719928E7, "xmax": 1.230134767554063E8, "ymax": 7.526253666395052E7, "spatialReference": { "wkid": 102677, "latestWkid": 3419, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -120389200, "falseY": -95723100, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "NAME", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "TYPE", "type": "esriFieldTypeString", "alias": "TYPE", "length": 25, "domain": null }, { "name": "NAME", "type": "esriFieldTypeString", "alias": "NAME", "length": 50, "domain": null }, { "name": "PRIMARY_NO", "type": "esriFieldTypeString", "alias": "PRIMARY_NO", "length": 13, "domain": null }, { "name": "AREA_NUM", "type": "esriFieldTypeString", "alias": "AREA_NUM", "length": 50, "domain": null }, { "name": "SECOND_NO", "type": "esriFieldTypeString", "alias": "SECOND_NO", "length": 12, "domain": null }, { "name": "ROUTEID", "type": "esriFieldTypeString", "alias": "ROUTEID", "length": 20, "domain": null }, { "name": "LASTUPDATE", "type": "esriFieldTypeDate", "alias": "LASTUPDATE", "length": 8, "domain": null }, { "name": "AREA_PRIORITY", "type": "esriFieldTypeSmallInteger", "alias": "AREA_PRIORITY", "domain": null }, { "name": "PLOW_PASS", "type": "esriFieldTypeSmallInteger", "alias": "PLOW_PASS", "domain": null }, { "name": "TREAT_PASS", "type": "esriFieldTypeSmallInteger", "alias": "TREAT_PASS", "domain": null }, { "name": "EVENTID", "type": "esriFieldTypeString", "alias": "EVENTID", "length": 20, "domain": null }, { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "SHAPE", "domain": null }, { "name": "LNMILE", "type": "esriFieldTypeDouble", "alias": "LNMILE", "domain": null }, { "name": "STATUS", "type": "esriFieldTypeString", "alias": "STATUS", "length": 20, "domain": null }, { "name": "plowLnMile", "type": "esriFieldTypeDouble", "alias": "plowLnMile", "domain": null }, { "name": "treatLnMile", "type": "esriFieldTypeDouble", "alias": "treatLnMile", "domain": null } ], "geometryField": { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "SHAPE" }, "indexes": null, "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": false, "capabilities": "Map,Query,Data", "maxRecordCount": 2000, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "isDataVersioned": false, "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true}, "useStandardizedQueries": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelIndexIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin", "esriSpatialRelRelation" ], "advancedQueryCapabilities": { "useStandardizedQueries": true, "supportsStatistics": true, "supportsPercentileStatistics": true, "supportsHavingClause": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsCountDistinct": true, "supportsAdvancedQueryRelated": true, "supportsQueryRelatedPagination": true, "supportsPagination": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true, "supportsTimeRelation": true, "supportsSqlFormat": false, "supportsQueryAnalytic": true, "supportsCurrentUserQueries": true }, "supportsDatumTransformation": true, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": false, "supportsPercentileAnalytic": true }, "dateFieldsTimeReference": { "timeZone": "Central Standard Time", "respectsDaylightSaving": true }, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "eb264f9604c34671adcc7be7fa49e332" }, { "currentVersion": 11.2, "cimVersion": "3.2.0", "id": 2, "name": "Local Zones", "type": "Feature Layer", "description": "cotbase.DBO.Local Zones", "geometryType": "esriGeometryPolygon", "sourceSpatialReference": { "wkid": 102677, "latestWkid": 3419, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -120389200, "falseY": -95723100, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "var a;\nvar b;\na = DateDiff(Now(), $feature.LASTUPDATE, 'hours')\nb=When(a <= 1, '<1 Hour'\n , a <= 2, '<2 Hours'\n , a <= 3, '<3 Hours'\n , a <= 6, '<6 Hours'\n , a <= 12, '<12 Hours'\n , a <= 24, '<24 Hours'\n , '>24 Hours');\n\nreturn b;", "valueExpressionTitle": "Custom", "uniqueValueGroups": [ { "heading": "", "classes": [ { "label": "<1 Hour", "description": "<1 Hour", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 88, 19, 252, 127 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 3 } }, "values": [ [ "<1 Hour" ] ] }, { "label": "<2 Hours", "description": "<2 Hours", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 103, 147, 255, 127 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 3 } }, "values": [ [ "<2 Hours" ] ] }, { "label": "<3 Hours", "description": "<3 Hours", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 8, 252, 253, 127 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 3 } }, "values": [ [ "<3 Hours" ] ] }, { "label": "<6 Hours", "description": "<6 Hours", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 179, 253, 163, 127 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 3 } }, "values": [ [ "<6 Hours" ] ] }, { "label": "<12 Hours", "description": "<12 Hours", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 242, 253, 41, 127 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 3 } }, "values": [ [ "<12 Hours" ] ] }, { "label": "<24 Hours", "description": "<24 Hours", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 254, 167, 20, 127 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 3 } }, "values": [ [ "<24 Hours" ] ] }, { "label": "No Recent Updates", "description": "No Recent Updates", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 254, 43, 23, 127 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 3 } }, "values": [ [ ">24 Hours" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 88, 19, 252, 127 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 3 } }, "value": "<1 Hour", "label": "<1 Hour" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 103, 147, 255, 127 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 3 } }, "value": "<2 Hours", "label": "<2 Hours" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 8, 252, 253, 127 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 3 } }, "value": "<3 Hours", "label": "<3 Hours" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 179, 253, 163, 127 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 3 } }, "value": "<6 Hours", "label": "<6 Hours" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 242, 253, 41, 127 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 3 } }, "value": "<12 Hours", "label": "<12 Hours" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 254, 167, 20, 127 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 3 } }, "value": "<24 Hours", "label": "<24 Hours" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 254, 43, 23, 127 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 3 } }, "value": ">24 Hours", "label": "No Recent Updates" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 90, 10, 250, 255 ], "toColor": [ 23, 255, 255, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 23, 255, 255, 255 ], "toColor": [ 241, 252, 30, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 241, 252, 30, 255 ], "toColor": [ 252, 34, 10, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": false, "extent": { "xmin": -1.2038881008873963E8, "ymin": -9.57227196719928E7, "xmax": 1.230134767554063E8, "ymax": 7.526253666395052E7, "spatialReference": { "wkid": 102677, "latestWkid": 3419, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -120389200, "falseY": -95723100, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "Area_Num", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "Area_Num", "type": "esriFieldTypeString", "alias": "Area_Num", "length": 15, "domain": null }, { "name": "LASTUPDATE", "type": "esriFieldTypeDate", "alias": "LASTUPDATE", "length": 8, "domain": null }, { "name": "PLOW_PASS", "type": "esriFieldTypeSmallInteger", "alias": "PLOW_PASS", "domain": null }, { "name": "TREAT_PASS", "type": "esriFieldTypeSmallInteger", "alias": "TREAT_PASS", "domain": null }, { "name": "STATUS", "type": "esriFieldTypeString", "alias": "STATUS", "length": 20, "domain": null }, { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "SHAPE", "domain": null }, { "name": "EVENTID", "type": "esriFieldTypeString", "alias": "EVENTID", "length": 20, "domain": null }, { "name": "lnmile", "type": "esriFieldTypeDouble", "alias": "lnmile", "domain": null }, { "name": "plow_lnmi", "type": "esriFieldTypeDouble", "alias": "plow_lnmi", "domain": null }, { "name": "treat_lnmi", "type": "esriFieldTypeDouble", "alias": "treat_lnmi", "domain": null } ], "geometryField": { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "SHAPE" }, "indexes": null, "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": false, "capabilities": "Map,Query,Data", "maxRecordCount": 2000, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "isDataVersioned": false, "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true}, "useStandardizedQueries": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelIndexIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin", "esriSpatialRelRelation" ], "advancedQueryCapabilities": { "useStandardizedQueries": true, "supportsStatistics": true, "supportsPercentileStatistics": true, "supportsHavingClause": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsCountDistinct": true, "supportsAdvancedQueryRelated": true, "supportsQueryRelatedPagination": true, "supportsPagination": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true, "supportsTimeRelation": true, "supportsSqlFormat": false, "supportsQueryAnalytic": true, "supportsCurrentUserQueries": true }, "supportsDatumTransformation": true, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": false, "supportsPercentileAnalytic": true }, "dateFieldsTimeReference": { "timeZone": "Central Standard Time", "respectsDaylightSaving": true }, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "eb264f9604c34671adcc7be7fa49e332" } ], "tables": [] }