{ "currentVersion": 11.2, "cimVersion": "3.2.0", "id": 0, "name": "Water_Pipes", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPolyline", "sourceSpatialReference": { "wkid": 28355, "latestWkid": 28355, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -5120900, "falseY": 1900, "xyUnits": 4.504455473910538E8, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "// Write a script that returns a value that will be used to draw features.\n// For example, find the percentage of males:\n// Round(($feature.MalePop / $feature.TotalPop) * 100, 2)\n\nwhen(($feature.POTABILITY == 'Potable' && $feature.STATUS == 'On Standby' || $feature.STATUS == 'Abandoned'),('Potable (inactive)'),($feature.POTABILITY == 'Potable' && $feature.STATUS == 'Active'),('Potable (active)'),($feature.POTABILITY == 'Non-Potable' && $feature.STATUS == 'On Standby' || $feature.STATUS == 'Abandoned'),('Non-Potable (inactive)'),($feature.POTABILITY == 'Non-Potable' && $feature.STATUS == 'Active'),('Non-Potable (active)'),('no data'));", "valueExpressionTitle": "Water Pipe Status", "uniqueValueGroups": [ { "heading": "", "classes": [ { "label": "Potable (active)", "description": "Potable (active)", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 112, 255, 255 ], "width": 1.5 }, "values": [ [ "Potable (active)" ] ] }, { "label": "Potable (inactive)", "description": "Potable (inactive)", "symbol": { "type": "esriSLS", "style": "esriSLSDash", "color": [ 0, 112, 255, 255 ], "width": 1.5 }, "values": [ [ "Potable (inactive)" ] ] }, { "label": "Non-Potable (active)", "description": "Non-Potable (active)", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 183, 129, 74, 255 ], "width": 1.5 }, "values": [ [ "Non-Potable (active)" ] ] }, { "label": "Non-Potable (inactive)", "description": "Non-Potable (inactive)", "symbol": { "type": "esriSLS", "style": "esriSLSDash", "color": [ 183, 129, 74, 255 ], "width": 1.5 }, "values": [ [ "Non-Potable (inactive)" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 112, 255, 255 ], "width": 1.5 }, "value": "Potable (active)", "label": "Potable (active)" }, { "symbol": { "type": "esriSLS", "style": "esriSLSDash", "color": [ 0, 112, 255, 255 ], "width": 1.5 }, "value": "Potable (inactive)", "label": "Potable (inactive)" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 183, 129, 74, 255 ], "width": 1.5 }, "value": "Non-Potable (active)", "label": "Non-Potable (active)" }, { "symbol": { "type": "esriSLS", "style": "esriSLSDash", "color": [ 183, 129, 74, 255 ], "width": 1.5 }, "value": "Non-Potable (inactive)", "label": "Non-Potable (inactive)" } ], "fieldDelimiter": "," }, "scaleSymbols": true, "transparency": 0, "labelingInfo": [ { "labelExpressionInfo": {"expression": "when (($feature.MATERIAL == 'AC' && $feature.COMMENT == 'VICROADS NAPIER ST'),\n('CAUTION: abandoned Asbestos Cement may exist in approx. vicinity'),\n($feature.MATERIAL == 'AC' && $feature.STATUS == 'Abandoned'),\n('WARNING: CRUSHED ASBESTOS CEMENT PRESENT'),\n($feature.MATERIAL == 'AC' && ($feature.STATUS == 'Active' || $feature.STATUS == 'On Standby')),\n('CAUTION: '+ $feature.NOM_DIAM +'mm' +' Asbestos Cement'),\n($feature.OWNER == 'Private' && ($feature.STATUS == 'Active' || $feature.STATUS == 'Abandoned' || $feature.STATUS == 'On Standby')),('private'),\n($feature.NOM_DIAM +'mm ' + $feature.MATERIAL));\n"}, "labelPlacement": "esriServerLinePlacementCenterAlong", "textLayout": "straight", "deconflictionStrategy": "dynamic", "allowOverrun": false, "repeatLabel": false, "lineConnection": "minimizeLabels", "useClippedGeometry": true, "stackLabel": false, "removeDuplicates": "all", "removeDuplicatesDistance": 0, "useCodedValues": true, "maxScale": 0, "minScale": 895, "name": "Mains Material", "priority": 0, "symbol": { "type": "esriTS", "color": [ 105, 105, 105, 255 ], "backgroundColor": null, "borderLineColor": null, "borderLineSize": null, "verticalAlignment": "baseline", "horizontalAlignment": "center", "rightToLeft": false, "angle": 0, "xoffset": 0, "yoffset": 0, "kerning": true, "haloColor": [ 255, 255, 255, 255 ], "haloSize": 1.5, "font": { "family": "Arial", "size": 8, "style": "normal", "weight": "normal", "decoration": "none" } } } ] }, "defaultVisibility": true, "extent": { "xmin": 143.51651926069408, "ymin": -37.418259478533884, "xmax": 144.83948003876554, "ymax": -35.66693275103292, "spatialReference": { "wkid": 7844, "latestWkid": 7844, "xyTolerance": 8.983152841195215E-9, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -400, "falseY": -400, "xyUnits": 9.999999999999999E8, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "ASSET_CODE", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "FID", "type": "esriFieldTypeOID", "alias": "FID", "domain": null }, { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null }, { "name": "ASSET_CODE", "type": "esriFieldTypeString", "alias": "ASSET_CODE", "length": 30, "domain": null }, { "name": "COMPKEY", "type": "esriFieldTypeInteger", "alias": "COMPKEY", "domain": null }, { "name": "DATE_ABAND", "type": "esriFieldTypeDate", "alias": "DATE_ABAND", "length": 8, "domain": null }, { "name": "DATE_INSTA", "type": "esriFieldTypeDate", "alias": "DATE_INSTA", "length": 8, "domain": null }, { "name": "DATE_REMOV", "type": "esriFieldTypeDate", "alias": "DATE_REMOV", "length": 8, "domain": null }, { "name": "MATERIAL", "type": "esriFieldTypeString", "alias": "MATERIAL", "length": 254, "domain": null }, { "name": "NOM_DIAM", "type": "esriFieldTypeInteger", "alias": "NOM_DIAM", "domain": null }, { "name": "OPERATOR", "type": "esriFieldTypeString", "alias": "OPERATOR", "length": 254, "domain": null }, { "name": "OWNER", "type": "esriFieldTypeString", "alias": "OWNER", "length": 254, "domain": null }, { "name": "POTABILITY", "type": "esriFieldTypeString", "alias": "POTABILITY", "length": 254, "domain": null }, { "name": "PRESSURE_Z", "type": "esriFieldTypeString", "alias": "PRESSURE_Z", "length": 50, "domain": null }, { "name": "STATUS", "type": "esriFieldTypeString", "alias": "STATUS", "length": 254, "domain": null }, { "name": "UFI_1", "type": "esriFieldTypeString", "alias": "UFI_1", "length": 10, "domain": null }, { "name": "UFI_2", "type": "esriFieldTypeString", "alias": "UFI_2", "length": 10, "domain": null } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape" }, "indexes": [ { "name": "Shape", "fields": "Shape", "isAscending": true, "isUnique": false, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": true, "capabilities": "Query,Map,Data", "maxRecordCount": 2000, "supportsStatistics": false, "supportsExceedsLimitStatistics": false, "supportsAdvancedQueries": false, "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": false, "supportsPercentileStatistics": false, "supportsHavingClause": false, "supportsOrderBy": false, "supportsDistinct": false, "supportsCountDistinct": false, "supportsAdvancedQueryRelated": true, "supportsQueryRelatedPagination": true, "supportsPagination": false, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": false, "supportsTimeRelation": true, "supportsSqlFormat": false, "supportsQueryAnalytic": false, "supportsCurrentUserQueries": true }, "supportsDatumTransformation": true, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true }