{ "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 1, "name": "Stormwater Structure", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPoint", "sourceSpatialReference": { "wkid": 102719, "latestWkid": 2264, "xyTolerance": 0.0104166666666667, "zTolerance": 0.0104166666666667, "mTolerance": 2.0E-5, "falseX": -121841900, "falseY": -9.36589999998643E7, "xyUnits": 3072, "falseZ": -5592405.325520853, "zUnits": 768, "falseM": 0, "mUnits": 1599999.9999999998 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "//Drains serviced in the last 30 days\nif (DateDiff(Now(), Date($feature.service_date), 'days') <= 30) \n{\n return \"Serviced within the last 30 days\" \n}\n\n//Drains serviced in the last 6 months\nelse if (DateDiff(Now(), Date($feature.service_date), 'months') <= 6) \n{\n return \"Serviced within the last 6 months\" \n}\n\n//Drains serviced in the last 12 months\nelse if (DateDiff(Now(), Date($feature.service_date), 'months') <= 12)\n{\n return \"Serviced within the last 12 months\" \n}\n\n//Drains serviced in the last 18 months\nelse if (DateDiff(Now(), Date($feature.service_date), 'months') <= 18)\n{\n return \"Serviced within the last 18 months\"\n}\n\n//Drains serviced in the last 2 years\nelse if (DateDiff(Now(), Date($feature.service_date), 'years') <= 2)\n{\n return \"Serviced within the last 2 years\" \n}\n\n//No service date\nelse if (isempty($feature.service_date))\n{\n return \"No recorded service date\" \n}\n\n//Drains not serviced in the last 2 years\nelse\n{\n return \"Not serviced in the last 2 years\"\n}", "valueExpressionTitle": "Drains Serviced", "uniqueValueInfos": [ { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 0, 246, 255, 255 ], "size": 8, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 112, 255, 255 ], "width": 1.5 } }, "value": "Serviced within the last 30 days", "label": "Serviced within the last 30 days" }, { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 0, 171, 230, 255 ], "size": 8, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 112, 255, 255 ], "width": 1.5 } }, "value": "Serviced within the last 6 months", "label": "Serviced within the last 6 months" }, { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 88, 240, 0, 255 ], "size": 8, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 112, 255, 255 ], "width": 1.5 } }, "value": "Serviced within the last 12 months", "label": "Serviced within the last 12 months" }, { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 255, 255, 0, 255 ], "size": 8, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 112, 255, 255 ], "width": 1.5 } }, "value": "Serviced within the last 18 months", "label": "Serviced within the last 18 months" }, { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 255, 170, 0, 255 ], "size": 8, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 112, 255, 255 ], "width": 1.5 } }, "value": "Serviced within the last 2 years", "label": "Serviced within the last 2 years" }, { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 255, 0, 0, 255 ], "size": 8, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 112, 255, 255 ], "width": 1 } }, "value": "Not serviced in the last 2 years", "label": "Not serviced in the last 2 years" }, { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 204, 204, 204, 255 ], "size": 8, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 112, 255, 255 ], "width": 1.5 } }, "value": "No recorded service date", "label": "No recorded service date" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 237, 81, 81, 255 ], "toColor": [ 237, 81, 81, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 21, 160, 207, 255 ], "toColor": [ 21, 160, 207, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 167, 199, 54, 255 ], "toColor": [ 167, 199, 54, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 158, 85, 156, 255 ], "toColor": [ 158, 85, 156, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 145, 30, 255 ], "toColor": [ 252, 145, 30, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 255, 223, 61, 255 ], "toColor": [ 255, 223, 61, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 247, 136, 216, 255 ], "toColor": [ 247, 136, 216, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 184, 129, 73, 255 ], "toColor": [ 184, 129, 73, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 60, 176, 155, 255 ], "toColor": [ 60, 176, 155, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 107, 107, 214, 255 ], "toColor": [ 107, 107, 214, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": false, "extent": { "xmin": 908673.625, "ymin": 628498.2397190332, "xmax": 971462.7044270784, "ymax": 712138.771294564, "spatialReference": { "wkid": 102719, "latestWkid": 2264, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -121841900, "falseY": -93659000, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "shotplace", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "objectid", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "assetid", "type": "esriFieldTypeString", "alias": "AssetID", "length": 255, "domain": null }, { "name": "location", "type": "esriFieldTypeString", "alias": "Location", "length": 250, "domain": null }, { "name": "district", "type": "esriFieldTypeString", "alias": "District", "length": 50, "domain": null }, { "name": "lifecyclestatus", "type": "esriFieldTypeString", "alias": "LifeCycleStatus", "length": 255, "domain": null }, { "name": "maintenanceentity", "type": "esriFieldTypeString", "alias": "MaintenanceEntity", "length": 50, "domain": null }, { "name": "condition", "type": "esriFieldTypeSmallInteger", "alias": "Condition", "domain": null }, { "name": "condition_disc", "type": "esriFieldTypeString", "alias": "ConditionDescription", "length": 255, "domain": null }, { "name": "conditiondate", "type": "esriFieldTypeDate", "alias": "ConditionDate", "length": 8, "domain": null }, { "name": "service_date", "type": "esriFieldTypeDate", "alias": "Last Service Date", "length": 8, "domain": null }, { "name": "structype", "type": "esriFieldTypeString", "alias": "StructureType", "length": 255, "domain": null }, { "name": "strucmat", "type": "esriFieldTypeString", "alias": "StructureMaterial", "length": 75, "domain": null }, { "name": "accesslid", "type": "esriFieldTypeString", "alias": "AccessLid", "length": 20, "domain": null }, { "name": "shotplace", "type": "esriFieldTypeString", "alias": "shotplace", "length": 50, "domain": null }, { "name": "tup", "type": "esriFieldTypeDouble", "alias": "tup", "domain": null }, { "name": "tdown", "type": "esriFieldTypeDouble", "alias": "tdown", "domain": null }, { "name": "telev", "type": "esriFieldTypeDouble", "alias": "telev", "domain": null }, { "name": "belev", "type": "esriFieldTypeDouble", "alias": "belev", "domain": null }, { "name": "inletelev", "type": "esriFieldTypeDouble", "alias": "inletelev", "domain": null }, { "name": "invout", "type": "esriFieldTypeDouble", "alias": "invout", "domain": null }, { "name": "tmpsid", "type": "esriFieldTypeString", "alias": "tmpsid", "length": 255, "domain": null }, { "name": "vdatum", "type": "esriFieldTypeString", "alias": "vdatum", "length": 10, "domain": null }, { "name": "epoch", "type": "esriFieldTypeString", "alias": "epoch", "length": 10, "domain": null }, { "name": "infosourc", "type": "esriFieldTypeString", "alias": "InfoSource", "length": 255, "domain": null }, { "name": "infodate", "type": "esriFieldTypeDate", "alias": "InfoDate", "length": 8, "domain": null }, { "name": "collmeth", "type": "esriFieldTypeString", "alias": "CollectionMethod", "length": 255, "domain": null }, { "name": "comments", "type": "esriFieldTypeString", "alias": "Comments", "length": 500, "domain": null }, { "name": "shape", "type": "esriFieldTypeGeometry", "alias": "shape", "domain": null } ], "geometryField": { "name": "shape", "type": "esriFieldTypeGeometry", "alias": "shape" }, "indexes": [ { "name": "r258_sde_rowid_uk", "fields": "objectid", "isAscending": true, "isUnique": true, "description": "" }, { "name": "a161_ix1", "fields": "shape", "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, "hasZ": 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, "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": false }, "dateFieldsTimeReference": { "timeZone": "Eastern Standard Time", "respectsDaylightSaving": true }, "preferredTimeReference": { "timeZone": "Eastern Standard Time", "respectsDaylightSaving": true }, "datesInUnknownTimezone": false, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "18dcc52cb3484bc1b258ef8e7b951fdc" }