{ "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 3, "name": "Gravel Roads", "type": "Feature Layer", "description": "CityWorksView.dbo.vw_insPASER_GRAVEL_GIS", "geometryType": "esriGeometryPolyline", "sourceSpatialReference": { "wkid": 102672, "latestWkid": 3436, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -16150900, "falseY": -46131100, "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 time = 3000\n\nreturn When(\n$feature.CONDSCORE <= 20 && DateDiff(Now(), Date($feature.INSPDATE), 'days') < time, $feature.PASER,\n$feature.CONDSCORE >= 21 && $feature.CONDSCORE <= 40 && DateDiff(Now(), Date($feature.INSPDATE), 'days') < time, $feature.PASER,\n$feature.CONDSCORE >= 41 && $feature.CONDSCORE <= 60 && DateDiff(Now(), Date($feature.INSPDATE), 'days') < time, $feature.PASER,\n$feature.CONDSCORE >= 61 && $feature.CONDSCORE <= 80 && DateDiff(Now(), Date($feature.INSPDATE), 'days') < time, $feature.PASER,\n$feature.CONDSCORE >= 81 && DateDiff(Now(), Date($feature.INSPDATE), 'days') < time, $feature.PASER,\n$feature.CONDSCORE == 0 || IsNaN($feature.CONDSCORE) || DateDiff(Now(), Date($feature.INSPDATE), 'days') >= time, \"No Recent Inspection Data\",\n\"None\")", "valueExpressionTitle": "Custom", "defaultSymbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 92, 230, 255 ], "width": 8 }, "defaultLabel": "", "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 115, 0, 0, 255 ], "width": 8 }, "value": "1 - Failed", "label": "1 - Failed" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 0, 0, 255 ], "width": 8 }, "value": "2 - Poor", "label": "2 - Poor" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 255, 0, 255 ], "width": 8 }, "value": "3 - Fair", "label": "3 - Fair" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 92, 230, 255 ], "width": 8 }, "value": "None", "label": "None" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 225, 182, 255 ], "toColor": [ 252, 225, 182, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 207, 179, 252, 255 ], "toColor": [ 207, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 252, 245, 255 ], "toColor": [ 182, 252, 245, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 184, 197, 255 ], "toColor": [ 252, 184, 197, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 202, 252, 187, 255 ], "toColor": [ 202, 252, 187, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 202, 217, 252, 255 ], "toColor": [ 202, 217, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 179, 234, 255 ], "toColor": [ 252, 179, 234, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 246, 215, 252, 255 ], "toColor": [ 246, 215, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 245, 252, 210, 255 ], "toColor": [ 245, 252, 210, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 217, 210, 255 ], "toColor": [ 252, 217, 210, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 212, 252, 222, 255 ], "toColor": [ 212, 252, 222, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 212, 247, 252, 255 ], "toColor": [ 212, 247, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 192, 194, 252, 255 ], "toColor": [ 192, 194, 252, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": [ { "labelExpressionInfo": { "expression": "var time = 600\nvar noinsp = isempty ($feature.INSPDATE)\nvar label = iif(DateDiff(Now(), Date($feature.INSPDATE), 'days') >= time, \"No Recent Inspection\",$feature.PASER)\n\nIIf(noinsp, 'NO DATA', label)", "title": "Custom" }, "labelPlacement": "esriServerLinePlacementAboveAlong", "textLayout": "straight", "deconflictionStrategy": "dynamic", "allowOverrun": true, "repeatLabel": false, "lineConnection": "minimizeLabels", "offsetDistance": 2, "stackLabel": true, "stackAlignment": "dynamic", "removeDuplicates": "none", "stackRowLength": 24, "useCodedValues": true, "maxScale": 0, "minScale": 0, "name": "Class 1", "priority": -1, "symbol": { "type": "esriTS", "color": [ 0, 0, 0, 255 ], "backgroundColor": null, "borderLineColor": null, "borderLineSize": null, "verticalAlignment": "bottom", "horizontalAlignment": "left", "rightToLeft": false, "angle": 0, "xoffset": 0, "yoffset": 0, "kerning": true, "haloColor": [ 255, 255, 255, 255 ], "haloSize": 2, "font": { "family": "Arial", "size": 10, "style": "normal", "weight": "bold", "decoration": "none" } } } ] }, "defaultVisibility": true, "extent": { "xmin": 2433363.0715569966, "ymin": 1129363.143254742, "xmax": 2448778.1283252463, "ymax": 1154380.0023416579, "spatialReference": { "wkid": 102672, "latestWkid": 3436, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -16150900, "falseY": -46131100, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "SPI_CONST", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null }, { "name": "SPI_CONST", "type": "esriFieldTypeString", "alias": "SPI_CONST", "length": 25, "domain": null }, { "name": "FC", "type": "esriFieldTypeString", "alias": "FC", "length": 1, "domain": null }, { "name": "INSPECTIONID", "type": "esriFieldTypeDouble", "alias": "INSPECTIONID", "domain": null }, { "name": "ENTITYUID", "type": "esriFieldTypeString", "alias": "ENTITYUID", "length": 50, "domain": null }, { "name": "rowNum", "type": "esriFieldTypeDouble", "alias": "rowNum", "domain": null }, { "name": "INSPDATE", "type": "esriFieldTypeDate", "alias": "INSPDATE", "length": 8, "domain": null }, { "name": "INSPECTEDBY", "type": "esriFieldTypeString", "alias": "INSPECTEDBY", "length": 50, "domain": null }, { "name": "CONDSCORE", "type": "esriFieldTypeDouble", "alias": "CONDSCORE", "domain": null }, { "name": "FEATUREUID", "type": "esriFieldTypeString", "alias": "FEATUREUID", "length": 50, "domain": null }, { "name": "MAPPAGE", "type": "esriFieldTypeString", "alias": "MAPPAGE", "length": 100, "domain": null }, { "name": "INSPSTATUS", "type": "esriFieldTypeString", "alias": "INSPSTATUS", "length": 50, "domain": null }, { "name": "YEAR", "type": "esriFieldTypeInteger", "alias": "YEAR", "domain": null }, { "name": "LOCATION", "type": "esriFieldTypeString", "alias": "LOCATION", "length": 256, "domain": null }, { "name": "WORKORDERID", "type": "esriFieldTypeString", "alias": "WORKORDERID", "length": 60, "domain": null }, { "name": "INSPX", "type": "esriFieldTypeDouble", "alias": "INSPX", "domain": null }, { "name": "INSPY", "type": "esriFieldTypeDouble", "alias": "INSPY", "domain": null }, { "name": "QTRSEC", "type": "esriFieldTypeString", "alias": "QTRSEC", "length": 50, "domain": null }, { "name": "PASER_SCORE", "type": "esriFieldTypeDouble", "alias": "PASER_SCORE", "domain": null }, { "name": "PASER", "type": "esriFieldTypeString", "alias": "PASER", "length": 250, "domain": null }, { "name": "CROWN", "type": "esriFieldTypeString", "alias": "CROWN", "length": 250, "domain": null }, { "name": "LAYER", "type": "esriFieldTypeString", "alias": "LAYER", "length": 250, "domain": null }, { "name": "DUST", "type": "esriFieldTypeString", "alias": "DUST", "length": 250, "domain": null }, { "name": "LOOSE", "type": "esriFieldTypeString", "alias": "LOOSE", "length": 250, "domain": null }, { "name": "WASHBOARD", "type": "esriFieldTypeString", "alias": "WASHBOARD", "length": 250, "domain": null }, { "name": "RUTTING", "type": "esriFieldTypeString", "alias": "RUTTING", "length": 250, "domain": null }, { "name": "SETTLING", "type": "esriFieldTypeString", "alias": "SETTLING", "length": 250, "domain": null }, { "name": "TRENCH", "type": "esriFieldTypeString", "alias": "TRENCH", "length": 250, "domain": null }, { "name": "POTHOLES", "type": "esriFieldTypeString", "alias": "POTHOLES", "length": 250, "domain": null }, { "name": "GRADE", "type": "esriFieldTypeString", "alias": "GRADE", "length": 250, "domain": null }, { "name": "STORMSEWER", "type": "esriFieldTypeString", "alias": "STORMSEWER", "length": 250, "domain": null }, { "name": "LENGTH", "type": "esriFieldTypeString", "alias": "LENGTH", "length": 250, "domain": null }, { "name": "GRAVEL", "type": "esriFieldTypeString", "alias": "GRAVEL", "length": 250, "domain": null } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape" }, "indexes": null, "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": 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, "supportsPagination": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true, "supportsTimeRelation": true, "supportsSqlFormat": false, "supportsQueryAnalytic": true }, "supportsDatumTransformation": true, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": false, "supportsPercentileAnalytic": true }, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "f49f4bd99c0f405aa834ee12a1c3d780" }