{ "currentVersion": 11.3, "cimVersion": "3.3.0", "id": 1, "name": "Current Closures", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPolyline", "sourceSpatialReference": { "wkid": 26917, "latestWkid": 26917, "xyTolerance": 2.0E-4, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -5120899.99997529, "falseY": -9998099.99997139, "xyUnits": 10000, "falseZ": 0, "zUnits": 1, "falseM": 0, "mUnits": 1 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "var closureType = $feature.CLOSURE_TYPE\nvar status = $feature.STATUS\n\nif (closureType == 'Intersection' && status == 'Closed'){\nreturn \"Intersection, Closed\"\n} else if\n(closureType == 'Road' && (status == 'Closed' )){\nreturn 'Road, Closed'\n} else if\n(closureType == 'Intersection' && (status == 'Local Access Only' || status == 'Partially Closed' || status == 'Lane Reduced' || status == 'No Through Traffic')){\nreturn 'Intersection, Restrictions'\n} else if\n(closureType == 'Road' && (status == 'Local Access Only' || status == 'Partially Closed' || status == 'Lane Reduced' || status == 'No Through Traffic')){\nreturn 'Road, Restrictions'\n}\nelse if\n(closureType == 'Sidewalk' ){\nreturn 'Sidewalk, Closed'\n}\nelse if\n(closureType == 'Trail' ){\nreturn 'Trail, Closed'\n}\n", "valueExpressionTitle": "Custom", "uniqueValueGroups": [ { "heading": "", "classes": [ { "label": "Intersection, Closed", "description": "Intersection, Closed", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 230, 0, 0, 255 ], "width": 2.5 }, "values": [ [ "Intersection, Closed" ] ] }, { "label": "Road, Closed", "description": "Road, Closed", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 230, 0, 0, 255 ], "width": 4 }, "values": [ [ "Road, Closed" ] ] }, { "label": "Intersection, Restrictions", "description": "Intersection, Restrictions", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 255, 0, 255 ], "width": 2.5 }, "values": [ [ "Intersection, Restrictions" ] ] }, { "label": "Road, Restrictions", "description": "Road, Restrictions", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 255, 0, 255 ], "width": 4 }, "values": [ [ "Road, Restrictions" ] ] }, { "label": "Sidewalk, Closed", "description": "Sidewalk, Closed", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 112, 255, 255 ], "width": 4 }, "values": [ [ "Sidewalk, Closed" ] ] }, { "label": "Trail, Closed", "description": "Trail, Closed", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 197, 0, 255, 255 ], "width": 4 }, "values": [ [ "Trail, Closed" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 230, 0, 0, 255 ], "width": 2.5 }, "value": "Intersection, Closed", "label": "Intersection, Closed" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 230, 0, 0, 255 ], "width": 4 }, "value": "Road, Closed", "label": "Road, Closed" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 255, 0, 255 ], "width": 2.5 }, "value": "Intersection, Restrictions", "label": "Intersection, Restrictions" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 255, 0, 255 ], "width": 4 }, "value": "Road, Restrictions", "label": "Road, Restrictions" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 112, 255, 255 ], "width": 4 }, "value": "Sidewalk, Closed", "label": "Sidewalk, Closed" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 197, 0, 255, 255 ], "width": 4 }, "value": "Trail, Closed", "label": "Trail, Closed" } ], "fieldDelimiter": ";", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 100, 245, 170, 255 ], "toColor": [ 100, 245, 170, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 147, 58, 153, 255 ], "toColor": [ 147, 58, 153, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 245, 161, 88, 255 ], "toColor": [ 245, 161, 88, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 56, 125, 148, 255 ], "toColor": [ 56, 125, 148, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 231, 250, 107, 255 ], "toColor": [ 231, 250, 107, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 143, 93, 94, 255 ], "toColor": [ 143, 93, 94, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 129, 143, 71, 255 ], "toColor": [ 129, 143, 71, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 250, 100, 110, 255 ], "toColor": [ 250, 100, 110, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 94, 120, 224, 255 ], "toColor": [ 94, 120, 224, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 141, 224, 227, 255 ], "toColor": [ 141, 224, 227, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 106, 217, 76, 255 ], "toColor": [ 106, 217, 76, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 155, 86, 240, 255 ], "toColor": [ 155, 86, 240, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 250, 232, 167, 255 ], "toColor": [ 250, 232, 167, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": 530249.01902471, "ymin": 4809517.91062861, "xmax": 543311.20732471, "ymax": 4819865.81882861, "spatialReference": { "wkid": 26917, "latestWkid": 26917, "xyTolerance": 2.0E-4, "zTolerance": 2, "mTolerance": 0.001, "falseX": -5120900, "falseY": -9998100, "xyUnits": 4.504455473910538E8, "falseZ": 0, "zUnits": 1, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "STREET_NAME", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "CLOSURE_TYPE", "type": "esriFieldTypeString", "alias": "Closure_Type", "length": 12, "domain": { "type": "codedValue", "name": "ClosureType", "description": "Traffic Closure Type", "codedValues": [ { "name": "Road", "code": "Road" }, { "name": "Intersection", "code": "Intersection" }, { "name": "Sidewalk", "code": "Sidewalk" }, { "name": "Trail", "code": "Trail" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "STREET_NAME", "type": "esriFieldTypeString", "alias": "STREET_NAME", "length": 50, "domain": null }, { "name": "STREET_FROM", "type": "esriFieldTypeString", "alias": "STREET_FROM", "length": 50, "domain": null }, { "name": "STREET_TO", "type": "esriFieldTypeString", "alias": "STREET_TO", "length": 50, "domain": null }, { "name": "DATE_FROM", "type": "esriFieldTypeDate", "alias": "DATE_FROM", "length": 8, "domain": null }, { "name": "DATE_TO", "type": "esriFieldTypeDate", "alias": "DATE_TO", "length": 8, "domain": null }, { "name": "DETAILS", "type": "esriFieldTypeString", "alias": "DETAILS", "length": 2000, "domain": null }, { "name": "DETOUR", "type": "esriFieldTypeString", "alias": "DETOUR", "length": 2000, "domain": null }, { "name": "CREATE_DATE", "type": "esriFieldTypeDate", "alias": "CREATE_DATE", "length": 8, "domain": null }, { "name": "CREATE_USER", "type": "esriFieldTypeString", "alias": "CREATE_USER", "length": 32, "domain": null }, { "name": "UPDATE_DATE", "type": "esriFieldTypeDate", "alias": "UPDATE_DATE", "length": 8, "domain": null }, { "name": "UPDATE_USER", "type": "esriFieldTypeString", "alias": "UPDATE_USER", "length": 32, "domain": null }, { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "SHAPE", "domain": null }, { "name": "SHAPE.LEN", "type": "esriFieldTypeDouble", "alias": "SHAPE.LEN", "domain": null }, { "name": "CLOSURE_ID", "type": "esriFieldTypeInteger", "alias": "CLOSURE_ID", "domain": null }, { "name": "REASON", "type": "esriFieldTypeString", "alias": "Reason", "length": 30, "domain": { "type": "codedValue", "name": "ClosureReason", "description": "Traffic Closure Reason", "codedValues": [ { "name": "Annual Species Migration (MNR)", "code": "Annual Species Migration (MNR)" }, { "name": "Bridge Reconstruction", "code": "Bridge Reconstruction" }, { "name": "Bridge Work", "code": "Bridge Work" }, { "name": "Catchbasin Work", "code": "Catchbasin Work" }, { "name": "Concrete Replacement", "code": "Concrete Replacement" }, { "name": "Curb Maintenance", "code": "Curb Maintenance" }, { "name": "Emergency", "code": "Emergency" }, { "name": "ION Construction Work", "code": "ION Construction Work" }, { "name": "Manhole Work", "code": "Manhole Work" }, { "name": "Road Repair", "code": "Road Repair" }, { "name": "Road Reconstruction", "code": "Road Reconstruction" }, { "name": "Road Resurfacing", "code": "Road Resurfacing" }, { "name": "Sewer Work", "code": "Sewer Work" }, { "name": "Site Servicing", "code": "Site Servicing" }, { "name": "Special Event", "code": "Special Event" }, { "name": "Trail Maintenance", "code": "Trail Maintenance" }, { "name": "Tree Removal", "code": "Tree Removal" }, { "name": "Utility Work", "code": "Utility Work" }, { "name": "Water Repair", "code": "Water Repair" }, { "name": "Watermain Break", "code": "Watermain Break" }, { "name": "Other", "code": "Other" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "STATUS", "type": "esriFieldTypeString", "alias": "Status", "length": 20, "domain": { "type": "codedValue", "name": "ClosureStatus", "description": "Traffic Closure Status", "codedValues": [ { "name": "Closed", "code": "Closed" }, { "name": "Lane Reduced", "code": "Lane Reduced" }, { "name": "Local Access Only", "code": "Local Access Only" }, { "name": "No Through Traffic", "code": "No Through Traffic" }, { "name": "Partially Closed", "code": "Partially Closed" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "CLOSURE_SCHEDULED", "type": "esriFieldTypeString", "alias": "CLOSURE_SCHEDULED", "length": 20, "domain": { "type": "codedValue", "name": "ClosureScheduled", "description": "Traffic Closure Scheduling Status", "codedValues": [ { "name": "New", "code": "New" }, { "name": "Emergency", "code": "Emergency" }, { "name": "Existing", "code": "Existing" }, { "name": "Future", "code": "Future" }, { "name": "Tentative", "code": "Tentative" }, { "name": "Completed", "code": "Completed" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "ORGANIZATION", "type": "esriFieldTypeString", "alias": "ORGANIZATION", "length": 30, "domain": { "type": "codedValue", "name": "ClosureOrg", "description": "Traffic Closure Organization", "codedValues": [ { "name": "Cambridge", "code": "Cambridge" }, { "name": "Kitchener", "code": "Kitchener" }, { "name": "Waterloo", "code": "Waterloo" }, { "name": "Region of Waterloo", "code": "Region of Waterloo" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "CONTACT", "type": "esriFieldTypeString", "alias": "CONTACT", "length": 70, "domain": { "type": "codedValue", "name": "ClosureContact", "description": "Traffic Closure Contact Info", "codedValues": [ { "name": "Traffic Operations - 519-886-2310", "code": "Traffic Operations - 519-886-2310" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } } ], "geometryField": { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "SHAPE" }, "indexes": [ { "name": "R1070_SDE_ROWID_UK", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "A873_IX1", "fields": "SHAPE", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": false, "capabilities": "Query,Map,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": "Eastern Standard Time", "respectsDaylightSaving": true }, "preferredTimeReference": { "timeZone": "Eastern Standard Time", "respectsDaylightSaving": true }, "datesInUnknownTimezone": false, "hasGeometryProperties": true, "geometryProperties": { "shapeLengthFieldName": "SHAPE.LEN", "units": "esriMeters", "mapUnits": {"uwkid": 9001} }, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "70bf294de7024314831303ca2558e57d" }