{ "layers": [ { "currentVersion": 10.81, "cimVersion": "2.6.0", "id": 0, "name": "Sewer Pipes", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPolyline", "sourceSpatialReference": { "wkid": 102729, "latestWkid": 2272, "vcsWkid": 105703, "latestVcsWkid": 6360, "xyTolerance": 0.003280833333333333, "zTolerance": 0.003280833333333333, "mTolerance": 0.001, "falseX": -119214200, "falseY": -96198500, "xyUnits": 3048.0060960121928, "falseZ": 0, "zUnits": 1, "falseM": 0, "mUnits": 1 }, "sourceHeightModelInfo": { "heightModel": "gravity_related_height", "vertCRS": "NAVD_1988_Foot_US", "heightUnit": "us-foot" }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "// pipes inspected in the last year\nif(DateDiff(Now(), Date($feature.Last_Insp), 'years') <=1)\n{\n return \"Inspected in Last Year\"\n}\n\n// pipes inspected 2 years ago\nelse if(DateDiff(Now(), Date($feature.Last_Insp), 'years') >=2 &&\nDateDiff(Now(), Date($feature.Last_Insp), 'years') <3)\n{\n return \"Inspected 2 Years Ago\"\n}\n\n// pipes inspected in the last 3-5 years\nelse if(DateDiff(Now(), Date($feature.Last_Insp), 'years') >=3 &&\nDateDiff(Now(), Date($feature.Last_Insp), 'years') <=5)\n{\n return \"Inspected 3-5 Years Ago\"\n}\n\n// pipes inspected more than 5 years ago\nelse if(DateDiff(Now(), Date($feature.Last_Insp), 'years') >5)\n{\n return \"Inspected More Than 5 Years Ago\"\n}", "valueExpressionTitle": "Custom", "defaultSymbol": { "type": "esriSLS", "style": "esriSLSDash", "color": [ 130, 130, 130, 255 ], "width": 2 }, "defaultLabel": "", "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 76, 230, 0, 255 ], "width": 2 }, "value": "Inspected in Last Year", "label": "Inspected in Last Year" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 255, 0, 255 ], "width": 2 }, "value": "Inspected 2 Years Ago", "label": "Inspected 2 Years Ago" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 0, 0, 255 ], "width": 2 }, "value": "Inspected 3-5 Years Ago", "label": "Inspected 3-5 Years Ago" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 168, 0, 230, 255 ], "width": 2 }, "value": "Inspected More Than 5 Years Ago", "label": "Inspected More Than 5 Years Ago" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 242, 212, 252, 255 ], "toColor": [ 242, 212, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 196, 252, 179, 255 ], "toColor": [ 196, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 209, 182, 255 ], "toColor": [ 252, 209, 182, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 202, 252, 252, 255 ], "toColor": [ 202, 252, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 252, 202, 255 ], "toColor": [ 252, 252, 202, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 183, 179, 252, 255 ], "toColor": [ 183, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 182, 195, 255 ], "toColor": [ 252, 182, 195, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 222, 252, 255 ], "toColor": [ 179, 222, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 204, 252, 216, 255 ], "toColor": [ 204, 252, 216, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 230, 179, 252, 255 ], "toColor": [ 230, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 215, 221, 255 ], "toColor": [ 252, 215, 221, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 179, 222, 255 ], "toColor": [ 252, 179, 222, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 204, 208, 252, 255 ], "toColor": [ 204, 208, 252, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": 2253950.1914945543, "ymin": 204680.32120648026, "xmax": 2287110.6533887237, "ymax": 230197.31118288636, "spatialReference": { "wkid": 102729, "latestWkid": 2272, "vcsWkid": 105703, "latestVcsWkid": 6360, "xyTolerance": 0.003280833333333333, "zTolerance": 0.003280833333333333, "mTolerance": 0.001, "falseX": -119214200, "falseY": -96198500, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 3048.006096012192, "falseM": -100000, "mUnits": 10000 } }, "heightModelInfo": { "heightModel": "gravity_related_height", "vertCRS": "NAVD88_height_(ftUS)", "heightUnit": "us-foot" }, "supportsVCSProjection": true, "hasAttachments": true, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "PRESSURE", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "PRESSURE", "type": "esriFieldTypeDouble", "alias": "PRESSURE", "domain": null }, { "name": "DRNG_AREA", "type": "esriFieldTypeString", "alias": "DRNG_AREA", "length": 6, "domain": { "type": "codedValue", "name": "Drng_Area", "description": "Drainage Area", "codedValues": [ { "name": "Mill Creek", "code": "MC" }, { "name": "Tyler Run", "code": "TR" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "UP_MH_B", "type": "esriFieldTypeString", "alias": "UP_MH_B", "length": 8, "domain": null }, { "name": "UP_MH", "type": "esriFieldTypeString", "alias": "UP_MH", "length": 8, "domain": null }, { "name": "DWN_MH_B", "type": "esriFieldTypeString", "alias": "DWN_MH_B", "length": 8, "domain": null }, { "name": "DWN_MH", "type": "esriFieldTypeString", "alias": "DWN_MH", "length": 8, "domain": null }, { "name": "UP_INVERT", "type": "esriFieldTypeDouble", "alias": "UP_INVERT", "domain": null }, { "name": "DWN_INVERT", "type": "esriFieldTypeDouble", "alias": "DWN_INVERT", "domain": null }, { "name": "LOCATION", "type": "esriFieldTypeString", "alias": "LOCATION", "length": 30, "domain": null }, { "name": "STREET_ROW", "type": "esriFieldTypeString", "alias": "STREET_ROW", "length": 1, "domain": { "type": "codedValue", "name": "Street or ROW (text)", "description": "Y or N", "codedValues": [ { "name": "Street", "code": "Y" }, { "name": "ROW", "code": "N" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "PUB_PRIV", "type": "esriFieldTypeString", "alias": "PUB_PRIV", "length": 1, "domain": { "type": "codedValue", "name": "Pub_Priv", "description": "Public/Private", "codedValues": [ { "name": "Public", "code": "1" }, { "name": "Private", "code": "0" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "YR_CONST", "type": "esriFieldTypeDouble", "alias": "YR_CONST", "domain": null }, { "name": "LN_TYP_COD", "type": "esriFieldTypeDouble", "alias": "LN_TYP_COD", "domain": { "type": "codedValue", "name": "SWR Pipe Codes (dbl)", "description": "double integer fields", "codedValues": [ { "name": "VCP: Vitrified Clay Pipe", "code": 1 }, { "name": "AC: Asbestos-Cement", "code": 2 }, { "name": "CIP: Cast Iron Pipe", "code": 3 }, { "name": "DI: Ductile Iron", "code": 4 }, { "name": "PVC: polyvinyl chloride", "code": 5 }, { "name": "HDPE: high-density polyethylene", "code": 6 } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "LN_SIZE", "type": "esriFieldTypeDouble", "alias": "LN_SIZE", "domain": null }, { "name": "LN_LEN", "type": "esriFieldTypeDouble", "alias": "LN_LEN", "domain": null }, { "name": "NUM_LAT", "type": "esriFieldTypeDouble", "alias": "NUM_LAT", "domain": null }, { "name": "SLOPE", "type": "esriFieldTypeDouble", "alias": "SLOPE", "domain": null }, { "name": "CON_ENCASE", "type": "esriFieldTypeString", "alias": "CON_ENCASE", "length": 1, "domain": { "type": "codedValue", "name": "Y_N", "description": "Y/N", "codedValues": [ { "name": "Yes", "code": "Y" }, { "name": "No", "code": "N" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "LIN_ID", "type": "esriFieldTypeString", "alias": "LIN_ID", "length": 54, "domain": null }, { "name": "DATA_UPDT", "type": "esriFieldTypeDate", "alias": "DATA_UPDT", "length": 8, "domain": null }, { "name": "MANNING", "type": "esriFieldTypeDouble", "alias": "MANNING", "domain": null }, { "name": "Image1", "type": "esriFieldTypeString", "alias": "Image1", "length": 75, "domain": null }, { "name": "Image2", "type": "esriFieldTypeString", "alias": "Image2", "length": 75, "domain": null }, { "name": "RECORD_DRA", "type": "esriFieldTypeString", "alias": "RECORD_DRA", "length": 50, "domain": null }, { "name": "Lined", "type": "esriFieldTypeString", "alias": "Lined", "length": 3, "domain": { "type": "codedValue", "name": "Yes_No", "description": "Yes/No", "codedValues": [ { "name": "Yes", "code": "Yes" }, { "name": "No", "code": "No" }, { "name": "Unknown", "code": "Unk" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "Year_Lined", "type": "esriFieldTypeSmallInteger", "alias": "Year_Lined", "domain": null }, { "name": "Shape_1", "type": "esriFieldTypeGeometry", "alias": "Shape_1", "domain": null }, { "name": "IsLatestInspection", "type": "esriFieldTypeSmallInteger", "alias": "IsLatestInspection", "domain": null }, { "name": "Date", "type": "esriFieldTypeDate", "alias": "Date", "length": 8, "domain": null }, { "name": "IsLatestInspection_1", "type": "esriFieldTypeSmallInteger", "alias": "IsLatestInspection_1", "domain": null }, { "name": "Custom5", "type": "esriFieldTypeString", "alias": "Custom5", "length": 255, "domain": null }, { "name": "Last_Insp", "type": "esriFieldTypeDate", "alias": "Last Inspection", "length": 8, "domain": null }, { "name": "Last_Rating", "type": "esriFieldTypeInteger", "alias": "Last Rating", "domain": null }, { "name": "Last_Insp_Year", "type": "esriFieldTypeInteger", "alias": "Last Inspection Year", "domain": null }, { "name": "Shape_1.STLength()", "type": "esriFieldTypeDouble", "alias": "Shape_1.STLength()", "domain": null } ], "geometryField": { "name": "Shape_1", "type": "esriFieldTypeGeometry", "alias": "Shape_1" }, "indexes": [ { "name": "R111_pk", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "S94_idx", "fields": "Shape_1", "isAscending": true, "isUnique": true, "description": "" } ], "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": true, "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true}, "useStandardizedQueries": true, "advancedQueryCapabilities": { "useStandardizedQueries": true, "supportsStatistics": true, "supportsPercentileStatistics": true, "supportsHavingClause": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsCountDistinct": true, "supportsPagination": true, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true, "supportsQueryAttachments": true, "supportsQueryAttachmentsWithReturnUrl": true }, "supportsDatumTransformation": true, "dateFieldsTimeReference": null, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true } ], "tables": [] }