{ "layers": [ { "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 0, "name": "PW Streets Serviced - Snow Removal", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPolyline", "sourceSpatialReference": { "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 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "//Streets treated within the last hour\nif (DateDiff(Now(), Date($feature[\"service_snow_all\"]), 'hours') <= 1) \n{\n return \"Treated within the last hour\" \n}\n\n//Streets treated within the last 4 hours\nelse if (DateDiff(Now(), Date($feature[\"service_snow_all\"]), 'hours') <= 4) \n{\n return \"Treated within the last 4 hours\" \n}\n\n//Streets treated within the last 8 hours\nelse if (DateDiff(Now(), Date($feature[\"service_snow_all\"]), 'hours') <= 8)\n{\n return \"Treated within the last 8 hours\" \n}\n\n//Streets treated within the last 24 hours\nelse if (DateDiff(Now(), Date($feature[\"service_snow_all\"]), 'hours') <= 24)\n{\n return \"Treated within the last 24 hours\" \n}\n\n//Streets not treated in the last 24 hours\nelse\n{\n return \"Not treated within the last 24 hours\" \n}", "valueExpressionTitle": "Custom", "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 32, 39, 71, 255 ], "width": 2 }, "value": "Treated within the last hour", "label": "Treated within the last hour" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 36, 18, 202, 255 ], "width": 2 }, "value": "Treated within the last 4 hours", "label": "Treated within the last 4 hours" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 117, 70, 219, 255 ], "width": 2 }, "value": "Treated within the last 8 hours", "label": "Treated within the last 8 hours" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 171, 238, 255 ], "width": 2 }, "value": "Treated within the last 24 hours", "label": "Treated within the last 24 hours" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 247, 250, 255 ], "width": 2 }, "value": "Not treated within the last 24 hours", "label": "Not treated within the last 24 hours" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 192, 252, 212, 255 ], "toColor": [ 192, 252, 212, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 184, 251, 255 ], "toColor": [ 252, 184, 251, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 199, 184, 255 ], "toColor": [ 252, 199, 184, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 216, 252, 255 ], "toColor": [ 179, 216, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 251, 179, 255 ], "toColor": [ 252, 251, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 189, 184, 252, 255 ], "toColor": [ 189, 184, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 215, 239, 255 ], "toColor": [ 252, 215, 239, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 192, 246, 252, 255 ], "toColor": [ 192, 246, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 246, 215, 255 ], "toColor": [ 252, 246, 215, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 179, 196, 255 ], "toColor": [ 252, 179, 196, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 252, 179, 255 ], "toColor": [ 179, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 225, 199, 252, 255 ], "toColor": [ 225, 199, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 227, 252, 197, 255 ], "toColor": [ 227, 252, 197, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": [] }, "defaultVisibility": true, "extent": { "xmin": -9202832.1408, "ymin": 4221317.507600002, "xmax": -9179435.7798, "ymax": 4253225.989200003, "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 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "street_name", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "globalid", "type": "esriFieldTypeGlobalID", "alias": "globalid", "length": 38, "domain": null }, { "name": "created_user", "type": "esriFieldTypeString", "alias": "created_user", "length": 255, "domain": null }, { "name": "created_date", "type": "esriFieldTypeDate", "alias": "created_date", "length": 8, "domain": null }, { "name": "objectid", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "centerline_id", "type": "esriFieldTypeDouble", "alias": "centerline_id", "domain": null }, { "name": "road_class", "type": "esriFieldTypeInteger", "alias": "road_class", "domain": null }, { "name": "street_prefix", "type": "esriFieldTypeString", "alias": "street_prefix", "length": 2, "domain": null }, { "name": "street_name", "type": "esriFieldTypeString", "alias": "street_name", "length": 30, "domain": null }, { "name": "street_type", "type": "esriFieldTypeString", "alias": "street_type", "length": 4, "domain": null }, { "name": "street_postdirection", "type": "esriFieldTypeString", "alias": "street_postdirection", "length": 2, "domain": null }, { "name": "street_dupe", "type": "esriFieldTypeString", "alias": "street_dupe", "length": 1, "domain": null }, { "name": "full_street_name", "type": "esriFieldTypeString", "alias": "full_street_name", "length": 32, "domain": null }, { "name": "speed_limit", "type": "esriFieldTypeInteger", "alias": "speed_limit", "domain": null }, { "name": "lane_count", "type": "esriFieldTypeInteger", "alias": "lane_count", "domain": null }, { "name": "asset_code", "type": "esriFieldTypeString", "alias": "asset_code", "length": 50, "domain": null }, { "name": "location", "type": "esriFieldTypeString", "alias": "location", "length": 250, "domain": null }, { "name": "lifecyclestatus", "type": "esriFieldTypeString", "alias": "lifecyclestatus", "length": 50, "domain": null }, { "name": "pvmtavgwidth", "type": "esriFieldTypeSmallInteger", "alias": "Pavement Avg Width", "domain": null }, { "name": "docrow", "type": "esriFieldTypeSmallInteger", "alias": "docrow", "domain": null }, { "name": "row", "type": "esriFieldTypeSmallInteger", "alias": "row", "domain": null }, { "name": "accepteddate", "type": "esriFieldTypeDate", "alias": "accepted date", "length": 8, "domain": null }, { "name": "acceptedsource", "type": "esriFieldTypeString", "alias": "acceptedsource", "length": 250, "domain": null }, { "name": "plat", "type": "esriFieldTypeString", "alias": "plat", "length": 20, "domain": null }, { "name": "powellbill", "type": "esriFieldTypeString", "alias": "Powell Bill Eligible", "length": 20, "domain": null }, { "name": "maintentity", "type": "esriFieldTypeString", "alias": "Maintenance Entity", "length": 30, "domain": null }, { "name": "snowremovalpriority", "type": "esriFieldTypeString", "alias": "Snow Removal Priority", "length": 250, "domain": null }, { "name": "snowdistrict", "type": "esriFieldTypeString", "alias": "snow district", "length": 20, "domain": null }, { "name": "pavementtype", "type": "esriFieldTypeString", "alias": "pavementtype", "length": 50, "domain": null }, { "name": "trafficvolume", "type": "esriFieldTypeString", "alias": "trafficvolume", "length": 50, "domain": null }, { "name": "oneway", "type": "esriFieldTypeSmallInteger", "alias": "oneway", "domain": null }, { "name": "notrucks", "type": "esriFieldTypeString", "alias": "notrucks", "length": 50, "domain": null }, { "name": "conditiondate", "type": "esriFieldTypeDate", "alias": "conditiondate", "length": 8, "domain": null }, { "name": "lastresurfacedate", "type": "esriFieldTypeDate", "alias": "lastresurfacedate", "length": 8, "domain": null }, { "name": "lastpreservationdate", "type": "esriFieldTypeDate", "alias": "lastpreservationdate", "length": 8, "domain": null }, { "name": "rowmowing", "type": "esriFieldTypeString", "alias": "rowmowing", "length": 5, "domain": null }, { "name": "sanitationservice", "type": "esriFieldTypeString", "alias": "sanitationservice", "length": 5, "domain": null }, { "name": "rowditching", "type": "esriFieldTypeString", "alias": "rowditching", "length": 5, "domain": null }, { "name": "referencefolder", "type": "esriFieldTypeString", "alias": "referencefolder", "length": 255, "domain": null }, { "name": "level", "type": "esriFieldTypeSmallInteger", "alias": "level", "domain": null }, { "name": "comments", "type": "esriFieldTypeString", "alias": "comments", "length": 250, "domain": null }, { "name": "snowtier", "type": "esriFieldTypeString", "alias": "snowtier", "length": 50, "domain": null }, { "name": "floodtier", "type": "esriFieldTypeString", "alias": "floodtier", "length": 50, "domain": null }, { "name": "warrantydate", "type": "esriFieldTypeDate", "alias": "WarrantyDate", "length": 8, "domain": null }, { "name": "pvmtcondcurrent", "type": "esriFieldTypeDouble", "alias": "Pavement Condition Current", "domain": null }, { "name": "lanemiles", "type": "esriFieldTypeDouble", "alias": "lanemiles", "domain": null }, { "name": "length", "type": "esriFieldTypeDouble", "alias": "length", "domain": null }, { "name": "service_swept", "type": "esriFieldTypeDate", "alias": "Last Swept", "length": 8, "domain": null }, { "name": "service_snow_plow", "type": "esriFieldTypeDate", "alias": "Last Plowed", "length": 8, "domain": null }, { "name": "service_snow_spread", "type": "esriFieldTypeDate", "alias": "Last Spread", "length": 8, "domain": null }, { "name": "service_snow_all", "type": "esriFieldTypeDate", "alias": "Last Treated for Snow", "length": 8, "domain": null }, { "name": "service_mowed", "type": "esriFieldTypeDate", "alias": "Last Mowed", "length": 8, "domain": null }, { "name": "service_snow_all_vehiclecode", "type": "esriFieldTypeString", "alias": "Last Treated for Snow - Vehicle Code", "length": 255, "domain": null }, { "name": "service_snow_plow_vehiclecode", "type": "esriFieldTypeString", "alias": "Last Plowed - Vehicle Code", "length": 255, "domain": null }, { "name": "service_swept_vehiclecode", "type": "esriFieldTypeString", "alias": "Last Swept - Vehicle Code", "length": 255, "domain": null }, { "name": "service_mowed_vehiclecode", "type": "esriFieldTypeString", "alias": "Last Mowed - Vehicle Code", "length": 255, "domain": null }, { "name": "service_snow_spread_vehicle_c", "type": "esriFieldTypeString", "alias": "Last Spread - Vehicle Code", "length": 255, "domain": null }, { "name": "edit_date", "type": "esriFieldTypeDate", "alias": "edit_date", "length": 8, "domain": null }, { "name": "edit_by", "type": "esriFieldTypeString", "alias": "edit_by", "length": 100, "domain": null }, { "name": "shape", "type": "esriFieldTypeGeometry", "alias": "shape", "domain": null }, { "name": "curb_present", "type": "esriFieldTypeString", "alias": "Curb Present", "length": 255, "domain": { "type": "codedValue", "name": "YES_NO_DOMAIN", "description": "field indicating Yes or No Generically", "codedValues": [ { "name": "YES", "code": "YES" }, { "name": "NO", "code": "NO" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDuplicate" } }, { "name": "st_length(shape)", "type": "esriFieldTypeDouble", "alias": "st_length(shape)", "domain": null } ], "geometryField": { "name": "shape", "type": "esriFieldTypeGeometry", "alias": "shape" }, "indexes": [ { "name": "r109_sde_rowid_uk", "fields": "objectid", "isAscending": true, "isUnique": false, "description": "" }, { "name": "uuid_109", "fields": "globalid", "isAscending": true, "isUnique": true, "description": "" }, { "name": "a85_ix1", "fields": "shape", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": true, "capabilities": "Map,Query,Data", "maxRecordCount": 2000, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "isDataVersioned": true, "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, "supportsPagination": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true, "supportsTimeRelation": true, "supportsSqlFormat": false, "supportsQueryAnalytic": false }, "supportsDatumTransformation": true, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasGeometryProperties": true, "geometryProperties": { "shapeLengthFieldName": "st_length(shape)", "units": "esriMeters", "mapUnits": {"uwkid": 9001} }, "hasMetadata": true, "isDataArchived": true, "archivingInfo": { "supportsQueryWithHistoricMoment": true, "startArchivingMoment": 1688130590000 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "4c0ace642a6242d79eb80ec1e52a2825" } ], "tables": [] }