{ "currentVersion": 10.81, "cimVersion": "2.6.0", "serviceDescription": "", "mapName": "SewerPipes_LastInspected", "description": "
Arcade expression to symbolize based on last inspected date:<\/SPAN><\/P> // pipes inspected in the last year<\/SPAN><\/P> if(DateDiff(Now(), Date($feature[\"Last_Insp\"]), 'years') <=1)<\/SPAN><\/P> {<\/SPAN><\/P> return \"Inspected in Last Year\"<\/SPAN><\/P> }<\/SPAN><\/P> <\/P> // pipes inspected 2 years ago<\/SPAN><\/P> else if(DateDiff(Now(), Date($feature[\"Last_Insp\"]), 'years') >=2 &&<\/SPAN><\/P> DateDiff(Now(), Date($feature[\"Last_Insp\"]), 'years') <3)<\/SPAN><\/P> {<\/SPAN><\/P> return \"Inspected 2 Years Ago\"<\/SPAN><\/P> }<\/SPAN><\/P> <\/P> // pipes inspected in the last 3-5 years<\/SPAN><\/P> else if(DateDiff(Now(), Date($feature[\"Last_Insp\"]), 'years') >=3 &&<\/SPAN><\/P> DateDiff(Now(), Date($feature[\"Last_Insp\"]), 'years') <=5)<\/SPAN><\/P> {<\/SPAN><\/P> return \"Inspected 3-5 Years Ago\"<\/SPAN><\/P> }<\/SPAN><\/P> <\/P> // pipes inspected more than 5 years ago<\/SPAN><\/P> else if(DateDiff(Now(), Date($feature[\"Last_Insp\"]), 'years') >5)<\/SPAN><\/P> {<\/SPAN><\/P> return \"Inspected More Than 5 Years Ago\"<\/SPAN><\/P> }<\/SPAN><\/P><\/DIV><\/DIV>",
"copyrightText": "",
"supportsDynamicLayers": true,
"layers": [
{
"id": 0,
"name": "Sewer Pipes",
"parentLayerId": -1,
"defaultVisibility": true,
"subLayerIds": null,
"minScale": 0,
"maxScale": 0,
"type": "Feature Layer",
"geometryType": "esriGeometryPolyline",
"supportsDynamicLegends": true
}
],
"tables": [],
"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
},
"singleFusedMapCache": false,
"initialExtent": {
"xmin": 2246498.5294894194,
"ymin": 196820.71301877484,
"xmax": 2297111.0277648596,
"ymax": 237505.1782654636,
"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
}
},
"fullExtent": {
"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
}
},
"minScale": 0,
"maxScale": 0,
"units": "esriFeet",
"supportedImageFormatTypes": "PNG32,PNG24,PNG,JPG,DIB,TIFF,EMF,PS,PDF,GIF,SVG,SVGZ,BMP",
"documentInfo": {
"Title": "SewerPipes_LastInspected",
"Author": "",
"Comments": " Arcade expression to symbolize based on last inspected date:<\/SPAN><\/P> // pipes inspected in the last year<\/SPAN><\/P> if(DateDiff(Now(), Date($feature[\"Last_Insp\"]), 'years') <=1)<\/SPAN><\/P> {<\/SPAN><\/P> return \"Inspected in Last Year\"<\/SPAN><\/P> }<\/SPAN><\/P> <\/P> // pipes inspected 2 years ago<\/SPAN><\/P> else if(DateDiff(Now(), Date($feature[\"Last_Insp\"]), 'years') >=2 &&<\/SPAN><\/P> DateDiff(Now(), Date($feature[\"Last_Insp\"]), 'years') <3)<\/SPAN><\/P> {<\/SPAN><\/P> return \"Inspected 2 Years Ago\"<\/SPAN><\/P> }<\/SPAN><\/P> <\/P> // pipes inspected in the last 3-5 years<\/SPAN><\/P> else if(DateDiff(Now(), Date($feature[\"Last_Insp\"]), 'years') >=3 &&<\/SPAN><\/P> DateDiff(Now(), Date($feature[\"Last_Insp\"]), 'years') <=5)<\/SPAN><\/P> {<\/SPAN><\/P> return \"Inspected 3-5 Years Ago\"<\/SPAN><\/P> }<\/SPAN><\/P> <\/P> // pipes inspected more than 5 years ago<\/SPAN><\/P> else if(DateDiff(Now(), Date($feature[\"Last_Insp\"]), 'years') >5)<\/SPAN><\/P> {<\/SPAN><\/P> return \"Inspected More Than 5 Years Ago\"<\/SPAN><\/P> }<\/SPAN><\/P><\/DIV><\/DIV>",
"Subject": "Sewer lines symbolized by last inspected date ranges.",
"Category": "",
"AntialiasingMode": "None",
"TextAntialiasingMode": "Force",
"Keywords": "Sewer,Inspection Date"
},
"capabilities": "Map,Query,Data",
"supportedQueryFormats": "JSON, geoJSON, PBF",
"hasVersionedData": true,
"exportTilesAllowed": false,
"referenceScale": 0.0,
"datumTransformations": [
{
"geoTransforms": [
{
"wkid": 108190,
"latestWkid": 108190,
"transformForward": true,
"name": "WGS_1984_(ITRF00)_To_NAD_1983"
}
]
},
{
"geoTransforms": [
{
"wkid": 108190,
"latestWkid": 108190,
"transformForward": false,
"name": "WGS_1984_(ITRF00)_To_NAD_1983"
}
]
}
],
"supportsDatumTransformation": true,
"heightModelInfo": {
"heightModel": "gravity_related_height",
"vertCRS": "NAVD88_height_(ftUS)",
"heightUnit": "us-foot"
},
"supportsVCSProjection": true,
"archivingInfo": {"supportsHistoricMoment": false},
"supportsClipping": true,
"supportsSpatialFilter": true,
"supportsQueryDataElements": true,
"maxRecordCount": 2000,
"maxImageHeight": 4096,
"maxImageWidth": 4096,
"supportedExtensions": "FeatureServer",
"resampling": false
}