{
 "currentVersion": 11.1,
 "cimVersion": "3.1.0",
 "id": 24,
 "name": "Surface Water Take Metering",
 "type": "Feature Layer",
 "description": "Metered and un-metered surface water point of takes as at May 2013.",
 "geometryType": "esriGeometryPoint",
 "sourceSpatialReference": {
  "wkid": 2193,
  "latestWkid": 2193,
  "xyTolerance": 0.001,
  "zTolerance": 0.001,
  "mTolerance": 0.001,
  "falseX": -4020900,
  "falseY": 1900,
  "xyUnits": 10000,
  "falseZ": -100000,
  "zUnits": 10000,
  "falseM": -100000,
  "mUnits": 10000
 },
 "copyrightText": "",
 "parentLayer": null,
 "subLayers": [],
 "minScale": 25001,
 "maxScale": 500,
 "referenceScale": 0.0,
 "drawingInfo": {
  "renderer": {
   "type": "uniqueValue",
   "field1": "METER_STATUS",
   "uniqueValueInfos": [
    {
     "symbol": {
      "type": "esriPMS",
      "url": "10c2c194bd51bbc3da7a32d4cbca7117",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAVElEQVQokWNhIBOwUK5Rj8GJgYtBAK/qFwznGB4wPEDVWMxQzhDH4IZXYxpDNsNshmlUciqJgIVUDSNT412G1wxrGS7hVf2H4S2mxiaGGPJsJBEAAPFpDdehkBA5AAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 10,
      "height": 10,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     },
     "value": "No Meter",
     "label": "No Meter"
    },
    {
     "symbol": {
      "type": "esriPMS",
      "url": "74da64ad5d9986857bbd6f8e68008f41",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAW0lEQVQokWNhIBOwUKxRj4HBiYuBQQCf4hcMDOceMDA8QNFYzMBQHsfA4IZPYxoDQ/ZsBoZp1HEqqYCFZB0jUeNdBobXaxkYLuFT/IeB4S2GxiYGhhiybCQVAAD4Qw3X4SfKaQAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 10,
      "height": 10,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     },
     "value": "Metered",
     "label": "Metered"
    }
   ],
   "fieldDelimiter": ",",
   "authoringInfo": {
    "colorRamp": {
     "type": "multipart",
     "colorRamps": [
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        64,
        153,
        72,
        255
       ],
       "toColor": [
        64,
        153,
        72,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        230,
        103,
        202,
        255
       ],
       "toColor": [
        230,
        103,
        202,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        242,
        160,
        92,
        255
       ],
       "toColor": [
        242,
        160,
        92,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        75,
        153,
        201,
        255
       ],
       "toColor": [
        75,
        153,
        201,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        60,
        66,
        163,
        255
       ],
       "toColor": [
        60,
        66,
        163,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        133,
        90,
        81,
        255
       ],
       "toColor": [
        133,
        90,
        81,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        197,
        245,
        93,
        255
       ],
       "toColor": [
        197,
        245,
        93,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        147,
        230,
        210,
        255
       ],
       "toColor": [
        147,
        230,
        210,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        172,
        153,
        247,
        255
       ],
       "toColor": [
        172,
        153,
        247,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        247,
        114,
        143,
        255
       ],
       "toColor": [
        247,
        114,
        143,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        148,
        139,
        55,
        255
       ],
       "toColor": [
        148,
        139,
        55,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        114,
        78,
        130,
        255
       ],
       "toColor": [
        114,
        78,
        130,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        56,
        130,
        114,
        255
       ],
       "toColor": [
        56,
        130,
        114,
        255
       ]
      }
     ]
    }
   }
  },
  "scaleSymbols": true,
  "transparency": 0,
  "labelingInfo": [
   {
    "labelExpression": "[WABNO]",
    "labelPlacement": "esriServerPointLabelPlacementAboveRight",
    "deconflictionStrategy": "dynamic",
    "stackLabel": true,
    "stackAlignment": "dynamic",
    "removeDuplicates": "none",
    "stackRowLength": 24,
    "where": "METER_STATUS = 'Metered'",
    "useCodedValues": true,
    "maxScale": 0,
    "minScale": 0,
    "name": "Default",
    "priority": 40,
    "symbol": {
     "type": "esriTS",
     "color": [
      0,
      77,
      168,
      255
     ],
     "backgroundColor": null,
     "borderLineColor": null,
     "borderLineSize": null,
     "verticalAlignment": "bottom",
     "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": "bold",
      "decoration": "none"
     }
    }
   },
   {
    "labelExpression": "[WABNO]",
    "labelPlacement": "esriServerPointLabelPlacementAboveRight",
    "deconflictionStrategy": "dynamic",
    "stackLabel": true,
    "stackAlignment": "dynamic",
    "removeDuplicates": "none",
    "stackRowLength": 24,
    "where": "METER_STATUS = 'Metered'",
    "useCodedValues": true,
    "maxScale": 0,
    "minScale": 0,
    "name": "Metered",
    "priority": 41,
    "symbol": {
     "type": "esriTS",
     "color": [
      56,
      168,
      0,
      255
     ],
     "backgroundColor": null,
     "borderLineColor": null,
     "borderLineSize": null,
     "verticalAlignment": "bottom",
     "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": "bold",
      "decoration": "none"
     }
    }
   },
   {
    "labelExpression": "[WABNO]",
    "labelPlacement": "esriServerPointLabelPlacementAboveRight",
    "deconflictionStrategy": "dynamic",
    "stackLabel": true,
    "stackAlignment": "dynamic",
    "removeDuplicates": "none",
    "stackRowLength": 24,
    "where": "METER_STATUS = 'No Meter'",
    "useCodedValues": true,
    "maxScale": 0,
    "minScale": 0,
    "name": "UnMetered",
    "priority": 42,
    "symbol": {
     "type": "esriTS",
     "color": [
      255,
      0,
      0,
      255
     ],
     "backgroundColor": null,
     "borderLineColor": null,
     "borderLineSize": null,
     "verticalAlignment": "bottom",
     "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": "bold",
      "decoration": "none"
     }
    }
   }
  ]
 },
 "defaultVisibility": false,
 "extent": {
  "xmin": 1342924.8103999998,
  "ymin": 5022981.5722,
  "xmax": 1676327.4244,
  "ymax": 5342067.8531,
  "spatialReference": {
   "wkid": 2193,
   "latestWkid": 2193,
   "xyTolerance": 0.001,
   "zTolerance": 0.001,
   "mTolerance": 0.001,
   "falseX": -4020900,
   "falseY": 1900,
   "xyUnits": 4.504455473910538E8,
   "falseZ": -100000,
   "zUnits": 10000,
   "falseM": -100000,
   "mUnits": 10000
  }
 },
 "hasAttachments": false,
 "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
 "displayField": "WABNO",
 "typeIdField": null,
 "subtypeFieldName": null,
 "subtypeField": null,
 "defaultSubtypeCode": null,
 "fields": [
  {
   "name": "OBJECTID",
   "type": "esriFieldTypeOID",
   "alias": "OBJECTID",
   "domain": null
  },
  {
   "name": "WABNO",
   "type": "esriFieldTypeString",
   "alias": "WABNO",
   "length": 255,
   "domain": null
  },
  {
   "name": "NO_OF_METERS",
   "type": "esriFieldTypeDouble",
   "alias": "NO_OF_METERS",
   "domain": null
  },
  {
   "name": "ACTIVITY_CODE",
   "type": "esriFieldTypeString",
   "alias": "ACTIVITY_CODE",
   "length": 255,
   "domain": null
  },
  {
   "name": "WELL_TYPE",
   "type": "esriFieldTypeString",
   "alias": "WELL_TYPE",
   "length": 255,
   "domain": null
  },
  {
   "name": "WELL_TYPE_DECRIPTION",
   "type": "esriFieldTypeString",
   "alias": "WELL_TYPE_DECRIPTION",
   "length": 255,
   "domain": null
  },
  {
   "name": "ROAD_OR_STREET",
   "type": "esriFieldTypeString",
   "alias": "ROAD_OR_STREET",
   "length": 255,
   "domain": null
  },
  {
   "name": "LOCALITY",
   "type": "esriFieldTypeString",
   "alias": "LOCALITY",
   "length": 255,
   "domain": null
  },
  {
   "name": "LINK",
   "type": "esriFieldTypeString",
   "alias": "LINK",
   "length": 255,
   "domain": null
  },
  {
   "name": "METER_STATUS",
   "type": "esriFieldTypeString",
   "alias": "METER_STATUS",
   "length": 8,
   "domain": null
  },
  {
   "name": "SOURCECODE",
   "type": "esriFieldTypeString",
   "alias": "SOURCECODE",
   "length": 6,
   "domain": {
    "type": "codedValue",
    "name": "WS3_QA_SourceCode",
    "description": "Source of record shapes for QA purposes",
    "codedValues": [
     {
      "name": "Derived from a NZMS 260 Grid Reference.",
      "code": "NZMSGR"
     },
     {
      "name": "Derived from a NZTM Grid Reference",
      "code": "NZTMGR"
     },
     {
      "name": "Direct input from a GPS device",
      "code": "GPS"
     },
     {
      "name": "Derived from cadastral dataset",
      "code": "PARCEL"
     },
     {
      "name": "Manually derived by a user from a GIS application",
      "code": "MANCAP"
     },
     {
      "name": "Derivation unknown",
      "code": "UNKNWN"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   }
  },
  {
   "name": "QARCODE",
   "type": "esriFieldTypeSmallInteger",
   "alias": "QARCODE",
   "domain": {
    "type": "codedValue",
    "name": "WS3_QA_QARCode",
    "description": "Description code for the accuracy of the GIS record.",
    "codedValues": [
     {
      "name": "Differential GPS (advanced) or Geodetic Land Survey.",
      "code": 1
     },
     {
      "name": "Standard handheld GPS OR accurate location sketch, confirmed by GIS.",
      "code": 2
     },
     {
      "name": "Site visit OR dillers GPS OR checked location sketch using GIS.",
      "code": 3
     },
     {
      "name": "Old Gridref ±100m, no location sketch, Location not checked.",
      "code": 4
     },
     {
      "name": "Proposed Location, should be within 50m of final location.",
      "code": 5
     },
     {
      "name": "Cadastral Accuracy, (1:10,000 scale accuracy)",
      "code": 6
     },
     {
      "name": "Unknown",
      "code": 0
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   }
  },
  {
   "name": "CREATEDBY",
   "type": "esriFieldTypeString",
   "alias": "CREATEDBY",
   "length": 30,
   "domain": null
  },
  {
   "name": "CREATEDDATE",
   "type": "esriFieldTypeDate",
   "alias": "CREATEDDATE",
   "length": 8,
   "domain": null
  },
  {
   "name": "MODIFIEDBY",
   "type": "esriFieldTypeString",
   "alias": "MODIFIEDBY",
   "length": 30,
   "domain": null
  },
  {
   "name": "MODIFIEDDATE",
   "type": "esriFieldTypeDate",
   "alias": "MODIFIEDDATE",
   "length": 8,
   "domain": null
  },
  {
   "name": "NZTMX",
   "type": "esriFieldTypeDouble",
   "alias": "NZTMX",
   "domain": null
  },
  {
   "name": "NZTMY",
   "type": "esriFieldTypeDouble",
   "alias": "NZTMY",
   "domain": null
  },
  {
   "name": "Shape",
   "type": "esriFieldTypeGeometry",
   "alias": "Shape",
   "domain": null
  }
 ],
 "geometryField": {
  "name": "Shape",
  "type": "esriFieldTypeGeometry",
  "alias": "Shape"
 },
 "indexes": [
  {
   "name": "FDO_OBJECTID",
   "fields": "OBJECTID",
   "isAscending": true,
   "isUnique": true,
   "description": ""
  },
  {
   "name": "FDO_Shape",
   "fields": "Shape",
   "isAscending": true,
   "isUnique": false,
   "description": ""
  }
 ],
 "subtypes": [],
 "relationships": [],
 "canModifyLayer": true,
 "canScaleSymbols": false,
 "hasLabels": true,
 "capabilities": "Map,Query,Data",
 "maxRecordCount": 3000,
 "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": false
 },
 "supportsDatumTransformation": true,
 "dateFieldsTimeReference": null,
 "preferredTimeReference": null,
 "datesInUnknownTimezone": false,
 "hasMetadata": true,
 "isDataArchived": false,
 "archivingInfo": {
  "supportsQueryWithHistoricMoment": false,
  "startArchivingMoment": -1
 },
 "supportsCoordinatesQuantization": true,
 "supportsDynamicLegends": true
}