{ "layers": [ { "currentVersion": 11.2, "cimVersion": "3.2.0", "id": 0, "name": "Street Sweep Status", "type": "Feature Layer", "description": "cotbase.dbo.stStreetSweepStatus", "geometryType": "esriGeometryPolyline", "sourceSpatialReference": { "wkid": 102677, "latestWkid": 3419, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -120389200, "falseY": -95723100, "xyUnits": 3048.0060960121928, "falseZ": 0, "zUnits": 1, "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.LastSweepDate, 'hours')\nb=When(a <= 24, 'Swept in the Past 24 Hours'\n , a <= 168, 'Swept in the Past Week'\n , a <= 720, 'Swept in the Past Month'\n , a <= 2190, 'Swept in the Past 3 Months'\n , a <= 4380, 'Swept in the Past 6 Months'\n , a <= 8760, 'Swept in the Past Year'\n , a > 8760, 'Swept More than 1 Year Ago'\n , 'No Sweeping Data Collected');\n\nreturn b;", "valueExpressionTitle": "Custom", "uniqueValueGroups": [ { "heading": "Sweep Status", "classes": [ { "label": "Swept in the Past 24 Hours", "description": "Swept in the Past 24 Hours", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 94, 79, 162, 255 ], "width": 1.5 }, "values": [ [ "Swept in the Past 24 Hours" ] ] }, { "label": "Swept in the Past Week", "description": "Swept in the Past Week", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 50, 136, 189, 255 ], "width": 1.5 }, "values": [ [ "Swept in the Past Week" ] ] }, { "label": "Swept in the Past Month", "description": "Swept in the Past Month", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 171, 221, 164, 255 ], "width": 1.5 }, "values": [ [ "Swept in the Past Month" ] ] }, { "label": "Swept in the Past 3 Months", "description": "Swept in the Past 3 Months", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 230, 245, 152, 255 ], "width": 1.5 }, "values": [ [ "Swept in the Past 3 Months" ] ] }, { "label": "Swept in the Past 6 Months", "description": "Swept in the Past 6 Months", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 254, 224, 139, 255 ], "width": 1.5 }, "values": [ [ "Swept in the Past 6 Months" ] ] }, { "label": "Swept in the Past Year", "description": "Swept in the Past Year", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 253, 174, 97, 255 ], "width": 1.5 }, "values": [ [ "Swept in the Past Year" ] ] }, { "label": "Swept More than 1 Year Ago", "description": "Swept More than 1 Year Ago", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 213, 62, 79, 255 ], "width": 1.5 }, "values": [ [ "Swept More than 1 Year Ago" ] ] }, { "label": "No Sweeping Data Collected", "description": "No Sweeping Data Collected", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 178, 178, 178, 255 ], "width": 1 }, "values": [ [ "No Sweeping Data Collected" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 94, 79, 162, 255 ], "width": 1.5 }, "value": "Swept in the Past 24 Hours", "label": "Swept in the Past 24 Hours" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 50, 136, 189, 255 ], "width": 1.5 }, "value": "Swept in the Past Week", "label": "Swept in the Past Week" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 171, 221, 164, 255 ], "width": 1.5 }, "value": "Swept in the Past Month", "label": "Swept in the Past Month" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 230, 245, 152, 255 ], "width": 1.5 }, "value": "Swept in the Past 3 Months", "label": "Swept in the Past 3 Months" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 254, 224, 139, 255 ], "width": 1.5 }, "value": "Swept in the Past 6 Months", "label": "Swept in the Past 6 Months" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 253, 174, 97, 255 ], "width": 1.5 }, "value": "Swept in the Past Year", "label": "Swept in the Past Year" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 213, 62, 79, 255 ], "width": 1.5 }, "value": "Swept More than 1 Year Ago", "label": "Swept More than 1 Year Ago" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 178, 178, 178, 255 ], "width": 1 }, "value": "No Sweeping Data Collected", "label": "No Sweeping Data Collected" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 158, 2, 67, 255 ], "toColor": [ 158, 2, 67, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 214, 62, 80, 255 ], "toColor": [ 214, 62, 80, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 245, 108, 66, 255 ], "toColor": [ 245, 108, 66, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 174, 96, 255 ], "toColor": [ 252, 174, 96, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 255, 224, 140, 255 ], "toColor": [ 255, 224, 140, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 229, 245, 152, 255 ], "toColor": [ 229, 245, 152, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 171, 222, 164, 255 ], "toColor": [ 171, 222, 164, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 103, 194, 165, 255 ], "toColor": [ 103, 194, 165, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 49, 135, 189, 255 ], "toColor": [ 49, 135, 189, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 95, 80, 163, 255 ], "toColor": [ 95, 80, 163, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": 1934467.6517160535, "ymin": 221200.18844364583, "xmax": 1991498.1180354655, "ymax": 291003.0006093979, "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": "RDCLASS", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "RDCLASS", "type": "esriFieldTypeString", "alias": "RDCLASS", "length": 15, "domain": null }, { "name": "LABEL", "type": "esriFieldTypeString", "alias": "LABEL", "length": 50, "domain": null }, { "name": "MAP_RANGE", "type": "esriFieldTypeString", "alias": "MAP_RANGE", "length": 16, "domain": null }, { "name": "FACILITYID", "type": "esriFieldTypeString", "alias": "FACILITYID", "length": 20, "domain": null }, { "name": "TO_FT", "type": "esriFieldTypeDouble", "alias": "TO_FT", "domain": null }, { "name": "Heading", "type": "esriFieldTypeDouble", "alias": "Heading", "domain": null }, { "name": "Sinuosity", "type": "esriFieldTypeDouble", "alias": "Sinuosity", "domain": null }, { "name": "LastSweepDate", "type": "esriFieldTypeDate", "alias": "LastSweepDate", "length": 8, "domain": null }, { "name": "Pass", "type": "esriFieldTypeSmallInteger", "alias": "Pass", "domain": null }, { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null }, { "name": "Shape.STLength()", "type": "esriFieldTypeDouble", "alias": "Shape.STLength()", "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, "hasM": 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, "hasGeometryProperties": true, "geometryProperties": { "shapeLengthFieldName": "Shape.STLength()", "units": "esriFeet", "mapUnits": {"uwkid": 9003} }, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "420ab56fd8ab47f7bb19b4b1662d0c1f" } ], "tables": [] }