{
 "layers": [
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 124,
   "name": "Water Quality Sampling Site",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "acae18564acc2e13c5c87480c56dee6e",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABuUlEQVQ4jdXUS0hUURzH8c8tpxYJReWQIBEtgl6bHlsLaplJLaJFIUFBZNCuxEJDzax1beyFzEQton3RQ2nVojYWZCAETS2cHqBFga84eAIdvJNCi/rBXZz//97v/T9Phb+siv8aWFXNuTH2D5OdxFKGcK9IJ4pzBlZz+Cs3KskcwuZo76cmx6kRGis58onbfwSupqHArTaSJizEWPTtw1mSLjIt5LIkQ+TLAauKXG8nacZbnMTj6NyNK1PQoKSDm3gwPf0ZwA10TVBxBm+wDd+n+R9iC14iRN9DZgGdAxybFThM3fGYZmMJ7Le+xahDWKG+3eyVBvzM8o0YRa90PYp1Dc36wopyNZSYn5KS8wzgKkZesaweO/A0BbIrftiPLMPv0oBreZanLhT8KrbiRwlsSez0uKl5WUNfKnCcEwX2XIpj8yI2py/6d8YfrcMFfGRi5VSPZgf2UjhIWwut4RzG50lsUlAmRhb2LrxQT+t9PqQCg+5yvoFFF2nKkYTR2ISwy69jmgUmD9B+h4457XIPzafpGeRanu3vWRzsNfxcz/NajnYzOK/b5jIDqJ1uC4bwlNO/f8H+Ai04b0vjckQmAAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 15,
      "height": 15,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "\"Water Quality Sampling Site\"",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 10,
      "symbol": {
       "type": "esriTS",
       "color": [
        255,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1274228.6635154265,
    "ymin": 5004186.043116277,
    "xmax": 2465123.084202461,
    "ymax": 5355773.07481546,
    "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": "SITE_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "SITE_ID",
     "type": "esriFieldTypeString",
     "alias": "SITE_ID",
     "length": 12,
     "domain": null
    },
    {
     "name": "SITE_NAME",
     "type": "esriFieldTypeString",
     "alias": "SITE_NAME",
     "length": 150,
     "domain": null
    },
    {
     "name": "SOURCE",
     "type": "esriFieldTypeString",
     "alias": "SOURCE",
     "length": 50,
     "domain": null
    },
    {
     "name": "SITE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "SITE_TYPE",
     "length": 25,
     "domain": null
    },
    {
     "name": "SPRING_NO",
     "type": "esriFieldTypeString",
     "alias": "SPRING_NO",
     "length": 9,
     "domain": null
    },
    {
     "name": "WQ_SAMPLE_COUNT",
     "type": "esriFieldTypeSmallInteger",
     "alias": "WQ_SAMPLE_COUNT",
     "domain": null
    },
    {
     "name": "FIRST_SAMPLE_DATE",
     "type": "esriFieldTypeDate",
     "alias": "FIRST_SAMPLE_DATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "LAST_SAMPLE_DATE",
     "type": "esriFieldTypeDate",
     "alias": "LAST_SAMPLE_DATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "GAUGING_SITE_INDEX",
     "type": "esriFieldTypeInteger",
     "alias": "GAUGING_SITE_INDEX",
     "domain": null
    },
    {
     "name": "ALTITUDE",
     "type": "esriFieldTypeInteger",
     "alias": "ALTITUDE",
     "domain": null
    },
    {
     "name": "QAR_CODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QAR_CODE",
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 16,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "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": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 155,
   "name": "Ecological water sampling sites",
   "type": "Feature Layer",
   "description": "",
   "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": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "Name",
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriPMS",
        "url": "aca7fa514d4fd3c1d7c8b483178164ed",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAAQCAYAAAAbBi9cAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA7ElEQVQ4jb3TMSvEcRjA8c+vjoTNRlmMFmWSUgY3WCS5BRltN+EVuHTEYrIy+f83g4FB3oHX4C2wiHrkUuju+N+5fKff8/zq23d5SnpE6d9EEZJLw2nJ49+KcpuSSex0LYozQ6gJI5E5SRUP3RUN2MVo453UsNGxKDJj2P5cWIvMUaq477RoH4Nf5oQDlAuLIjON9RZfC5Erp1XXRYuOPwqaCfUINymJH0VxYQVz2jMlb9SetxVFph91v7MXV7K06Ll1UahKJgqIxj2p4rBJFKf6JLO4KyB6ZyZuldK812+itOUFywUlTfTs+t8AWdU3UzUbr+kAAAAASUVORK5CYII=",
        "contentType": "image/png",
        "width": 13,
        "height": 12,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "Charteris",
       "label": "Sampled July 1992 - June - 2008"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "aca7fa514d4fd3c1d7c8b483178164ed",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAAQCAYAAAAbBi9cAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA7ElEQVQ4jb3TMSvEcRjA8c+vjoTNRlmMFmWSUgY3WCS5BRltN+EVuHTEYrIy+f83g4FB3oHX4C2wiHrkUuju+N+5fKff8/zq23d5SnpE6d9EEZJLw2nJ49+KcpuSSex0LYozQ6gJI5E5SRUP3RUN2MVo453UsNGxKDJj2P5cWIvMUaq477RoH4Nf5oQDlAuLIjON9RZfC5Erp1XXRYuOPwqaCfUINymJH0VxYQVz2jMlb9SetxVFph91v7MXV7K06Ll1UahKJgqIxj2p4rBJFKf6JLO4KyB6ZyZuldK812+itOUFywUlTfTs+t8AWdU3UzUbr+kAAAAASUVORK5CYII=",
        "contentType": "image/png",
        "width": 13,
        "height": 12,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "Corsair",
       "label": "Sampled July 1992 - June - 2008"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "aca7fa514d4fd3c1d7c8b483178164ed",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAAQCAYAAAAbBi9cAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA7ElEQVQ4jb3TMSvEcRjA8c+vjoTNRlmMFmWSUgY3WCS5BRltN+EVuHTEYrIy+f83g4FB3oHX4C2wiHrkUuju+N+5fKff8/zq23d5SnpE6d9EEZJLw2nJ49+KcpuSSex0LYozQ6gJI5E5SRUP3RUN2MVo453UsNGxKDJj2P5cWIvMUaq477RoH4Nf5oQDlAuLIjON9RZfC5Erp1XXRYuOPwqaCfUINymJH0VxYQVz2jMlb9SetxVFph91v7MXV7K06Ll1UahKJgqIxj2p4rBJFKf6JLO4KyB6ZyZuldK812+itOUFywUlTfTs+t8AWdU3UzUbr+kAAAAASUVORK5CYII=",
        "contentType": "image/png",
        "width": 13,
        "height": 12,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "Governors",
       "label": "Sampled July 1992 - June - 2008"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "aca7fa514d4fd3c1d7c8b483178164ed",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAAQCAYAAAAbBi9cAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA7ElEQVQ4jb3TMSvEcRjA8c+vjoTNRlmMFmWSUgY3WCS5BRltN+EVuHTEYrIy+f83g4FB3oHX4C2wiHrkUuju+N+5fKff8/zq23d5SnpE6d9EEZJLw2nJ49+KcpuSSex0LYozQ6gJI5E5SRUP3RUN2MVo453UsNGxKDJj2P5cWIvMUaq477RoH4Nf5oQDlAuLIjON9RZfC5Erp1XXRYuOPwqaCfUINymJH0VxYQVz2jMlb9SetxVFph91v7MXV7K06Ll1UahKJgqIxj2p4rBJFKf6JLO4KyB6ZyZuldK812+itOUFywUlTfTs+t8AWdU3UzUbr+kAAAAASUVORK5CYII=",
        "contentType": "image/png",
        "width": 13,
        "height": 12,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "Harbour entrance",
       "label": "Sampled July 1992 - June - 2008"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "aca7fa514d4fd3c1d7c8b483178164ed",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAAQCAYAAAAbBi9cAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA7ElEQVQ4jb3TMSvEcRjA8c+vjoTNRlmMFmWSUgY3WCS5BRltN+EVuHTEYrIy+f83g4FB3oHX4C2wiHrkUuju+N+5fKff8/zq23d5SnpE6d9EEZJLw2nJ49+KcpuSSex0LYozQ6gJI5E5SRUP3RUN2MVo453UsNGxKDJj2P5cWIvMUaq477RoH4Nf5oQDlAuLIjON9RZfC5Erp1XXRYuOPwqaCfUINymJH0VxYQVz2jMlb9SetxVFph91v7MXV7K06Ll1UahKJgqIxj2p4rBJFKf6JLO4KyB6ZyZuldK812+itOUFywUlTfTs+t8AWdU3UzUbr+kAAAAASUVORK5CYII=",
        "contentType": "image/png",
        "width": 13,
        "height": 12,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "Port entrance",
       "label": "Sampled July 1992 - June - 2008"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "aca7fa514d4fd3c1d7c8b483178164ed",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAAQCAYAAAAbBi9cAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA7ElEQVQ4jb3TMSvEcRjA8c+vjoTNRlmMFmWSUgY3WCS5BRltN+EVuHTEYrIy+f83g4FB3oHX4C2wiHrkUuju+N+5fKff8/zq23d5SnpE6d9EEZJLw2nJ49+KcpuSSex0LYozQ6gJI5E5SRUP3RUN2MVo453UsNGxKDJj2P5cWIvMUaq477RoH4Nf5oQDlAuLIjON9RZfC5Erp1XXRYuOPwqaCfUINymJH0VxYQVz2jMlb9SetxVFph91v7MXV7K06Ll1UahKJgqIxj2p4rBJFKf6JLO4KyB6ZyZuldK812+itOUFywUlTfTs+t8AWdU3UzUbr+kAAAAASUVORK5CYII=",
        "contentType": "image/png",
        "width": 13,
        "height": 12,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "Purau",
       "label": "Sampled July 1992 - June - 2008"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "2677028002fad1bf481d51b984653659",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAAQCAYAAAAbBi9cAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA0ElEQVQ4jb3TPy5EURhA8d+XvFGg05FolBqJSiQ604sSsQMVVkAEmWlmCTpLoLIDa7AFlZB88uQVIzOPO2PiVPdfzj25ya3MiOrfRElgMXj9a9Ex1nE2tShZwCWWkkHwMm3ROZabcS08mliUrOB0aOkg6QXPkxZdYX5oXj/6DbrFomQTh2O2dpNu8FBa1G8KxnGdPMbXfT+Ikn3saGejqb1rFSVz9Y1+5yK5D97aik6wViBabc7ejoiSDrbxVCCq2Uqq4OObKHjHXqFkhJn9/k/IaCS47TvcuQAAAABJRU5ErkJggg==",
        "contentType": "image/png",
        "width": 13,
        "height": 12,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "Church",
       "label": "Sampled July 2007 - June 2008"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "2677028002fad1bf481d51b984653659",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAAQCAYAAAAbBi9cAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA0ElEQVQ4jb3TPy5EURhA8d+XvFGg05FolBqJSiQ604sSsQMVVkAEmWlmCTpLoLIDa7AFlZB88uQVIzOPO2PiVPdfzj25ya3MiOrfRElgMXj9a9Ex1nE2tShZwCWWkkHwMm3ROZabcS08mliUrOB0aOkg6QXPkxZdYX5oXj/6DbrFomQTh2O2dpNu8FBa1G8KxnGdPMbXfT+Ikn3saGejqb1rFSVz9Y1+5yK5D97aik6wViBabc7ejoiSDrbxVCCq2Uqq4OObKHjHXqFkhJn9/k/IaCS47TvcuQAAAABJRU5ErkJggg==",
        "contentType": "image/png",
        "width": 13,
        "height": 12,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "Quail-Rapaki",
       "label": "Sampled July 2007 - June 2008"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "2677028002fad1bf481d51b984653659",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAAQCAYAAAAbBi9cAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA0ElEQVQ4jb3TPy5EURhA8d+XvFGg05FolBqJSiQ604sSsQMVVkAEmWlmCTpLoLIDa7AFlZB88uQVIzOPO2PiVPdfzj25ya3MiOrfRElgMXj9a9Ex1nE2tShZwCWWkkHwMm3ROZabcS08mliUrOB0aOkg6QXPkxZdYX5oXj/6DbrFomQTh2O2dpNu8FBa1G8KxnGdPMbXfT+Ikn3saGejqb1rFSVz9Y1+5yK5D97aik6wViBabc7ejoiSDrbxVCCq2Uqq4OObKHjHXqFkhJn9/k/IaCS47TvcuQAAAABJRU5ErkJggg==",
        "contentType": "image/png",
        "width": 13,
        "height": 12,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "Ripapa-Battery",
       "label": "Sampled July 2007 - June 2008"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "72f576b42cc02aea2546463035f9c707",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAAQCAYAAAAbBi9cAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA70lEQVQ4jb3TvUrDUByG8ecfooO6uSm4dHQRnERwM7s4tuLWzTaF2jmDIlbUSDdXNy+hnbwDr6FXUOikprwlQaSSfpzW4jOdL37nLMdnSfn/CMlosEHT+n+DQs75ZBe4XByqa52Ea2CTqlo8WXcxaEAD2MrGXgaezQ/VtI2o/8xFkVD3xPY+HyRugLWRFQOaQOAOVbQPlMbsHFNTwKO13SCPh+8X5BO3oA6YpkNVnQJHTG6PkBIxL5OhSKv00htndsWFXmnZx3ioRwUoOEA7eNnZuzxU1gpwCLw5QGkHRPKJLPkNPdsXcOKI5Fra7x8Cvm84PycWj2YAAAAASUVORK5CYII=",
        "contentType": "image/png",
        "width": 13,
        "height": 12,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "Ripapa",
       "label": "Sampled July 1992 - June 2003"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          201,
          60,
          65,
          255
         ],
         "toColor": [
          201,
          60,
          65,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          56,
          194,
          61,
          255
         ],
         "toColor": [
          56,
          194,
          61,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          50,
          42,
          199,
          255
         ],
         "toColor": [
          50,
          42,
          199,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          48,
          156,
          201,
          255
         ],
         "toColor": [
          48,
          156,
          201,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          184,
          154,
          57,
          255
         ],
         "toColor": [
          184,
          154,
          57,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          166,
          45,
          144,
          255
         ],
         "toColor": [
          166,
          45,
          144,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          70,
          176,
          137,
          255
         ],
         "toColor": [
          70,
          176,
          137,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          52,
          71,
          153,
          255
         ],
         "toColor": [
          52,
          71,
          153,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          173,
          199,
          44,
          255
         ],
         "toColor": [
          173,
          199,
          44,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          199,
          115,
          66,
          255
         ],
         "toColor": [
          199,
          115,
          66,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          181,
          69,
          110,
          255
         ],
         "toColor": [
          181,
          69,
          110,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          135,
          69,
          196,
          255
         ],
         "toColor": [
          135,
          69,
          196,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          37,
          153,
          72,
          255
         ],
         "toColor": [
          37,
          153,
          72,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[Name]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 2,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1572327.4139999999,
    "ymin": 5168071.9004,
    "xmax": 1584667.6053999998,
    "ymax": 5172411.0758,
    "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": "Name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OID",
     "type": "esriFieldTypeOID",
     "alias": "OID",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Name",
     "type": "esriFieldTypeString",
     "alias": "Name",
     "length": 60,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OID",
     "fields": "OID",
     "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": 1000,
   "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
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 157,
   "name": " Residential discharge",
   "type": "Feature Layer",
   "description": "Features tied to an activity consented under the Resource Management Act by Environment Canterbury.  \n\nThis layer contains a summary for all recorded features.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 250000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "dee5977ea6059c4cba4ad871af9d4784",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABz0lEQVQ4jdXUvWtUURDG4eeswa9ewdZUCWn8KwKaoEV2s2rsgmKQNFrY2FoqBjGIioWg2XuDIBEbQQyC+EG0iRGLCNbpLAwW7si9rmu+Nkaw0IEDB97hx5mZ90yXvxxd/y8wMnuEcckg9iNhUZiRTKSapS0DIzOESdxTccoX86WwW59vjmMhMqdTzfRvgS1YJpxNwy6vkV8WJ3KfhCwytbXQrnVlck1yEhcjM59qHq/KyQ0I5yVnhMnIzK4sf/ULf/Tsbqq6GbkPwv3IDKeaJ6XccES4ITmcqp5HrlfTOC5sDCwGUDFaXqueRa4q5K02FK+f1DSY6l608u9IrncG0m2HhTa/6mnk6sVL0cShVPeqnV0Ma6fuTYeyLpr2SqJ1r2yQEZsBFy3rwVyZmTmGK+iX7FMxE9MG0lA5bbbrxcfOwMK0ldJnc9Ewgkua+lPdm1LOjWp6GFMOprrXZW6Y6QxMJoR30fBZMqaiP9W8bctVDyK3TcWjaDiHo5K+jsDCT5EZk2QYSUO/YCughZV6JLcpjb206VAK5xc/AFcjd0CYssv7UvyqVzghyt6u+yUdp9yCzpamTW5Zblvj53Lo/aPloFV+y7Bt024l/v0F+x1AMqsvXV4AagAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 15,
      "height": 15,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1067061,
    "ymin": 470137,
    "xmax": 2523320,
    "ymax": 6242131,
    "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": "HolderName",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ActivityNo",
     "type": "esriFieldTypeString",
     "alias": "ActivityNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ActivityRecordType",
     "type": "esriFieldTypeString",
     "alias": "ActivityRecordType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ActivityRecordNo",
     "type": "esriFieldTypeString",
     "alias": "ActivityRecordNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 4000,
     "domain": null
    },
    {
     "name": "FeatureID",
     "type": "esriFieldTypeInteger",
     "alias": "FeatureID",
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 30,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 30,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "CaptureScale",
     "type": "esriFieldTypeInteger",
     "alias": "CaptureScale",
     "domain": null
    },
    {
     "name": "SharedLocation",
     "type": "esriFieldTypeString",
     "alias": "SharedLocation",
     "length": 3,
     "domain": null
    },
    {
     "name": "SpecialLocationType",
     "type": "esriFieldTypeString",
     "alias": "SpecialLocationType",
     "length": 250,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 117,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeOID",
     "alias": "FTID",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "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": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 159,
   "name": "Contaminated water discharge",
   "type": "Feature Layer",
   "description": "Features tied to an activity consented under the Resource Management Act by Environment Canterbury.  \n\nThis layer contains a summary for all recorded features.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 250000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "85ac143ceeeaf1f52ee7b7fde40770cd",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABiUlEQVQ4jdXUT6tNYRTH8c/DeQtXmTJyMvEqFG4M/HfNRCQTBiamhuQmEjJQCKnbkYmSm5I/XSYHGVDGd+YFWFr2c7Q7ztmuMmDVrr1b6/nuZ/3W73l6/nL0/l9gMIMTmMU6FHzCAPOF5RUDg524jNs4gmFNbcQBvA+OFu7/Flhhd3GycH4s/TKf4EvWBLvHob0JbV7CYZwNhoXHYzXbcBrHs4tgsd3++A5Ts1uFa8FHPAj2FJ5U2A5cxfbC86Bf15yZBswBHMqXwrNgF+5VGWaqrrOFF7X+Jq50Aden4KOPwtNgb+4U37C18KpVP6xrJms4JdY03f6IVRPy0QVMn23AUq3cjwvYjLXpwRxKaaad0cfnLuCg+mwpmMO5hBXe1B+kvg+DLYXXtXbQBZzHu+ArjlXY21GysBCsxqPgFPZVs08Gpp+iAaWx59qwVk1aKWW5oTH2cudQ0vl5AnAx2IQ7+NDS7KBG219OydQpV+hiNe31ljVGl0P/jy4Htf1q2J+mXUn8+xfsd8VXbzVtUpXwAAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 15,
      "height": 15,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1067061,
    "ymin": 470137,
    "xmax": 2523320,
    "ymax": 6242131,
    "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": "HolderName",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ActivityNo",
     "type": "esriFieldTypeString",
     "alias": "ActivityNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ActivityRecordType",
     "type": "esriFieldTypeString",
     "alias": "ActivityRecordType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ActivityRecordNo",
     "type": "esriFieldTypeString",
     "alias": "ActivityRecordNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 4000,
     "domain": null
    },
    {
     "name": "FeatureID",
     "type": "esriFieldTypeInteger",
     "alias": "FeatureID",
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 30,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 30,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "CaptureScale",
     "type": "esriFieldTypeInteger",
     "alias": "CaptureScale",
     "domain": null
    },
    {
     "name": "SharedLocation",
     "type": "esriFieldTypeString",
     "alias": "SharedLocation",
     "length": 3,
     "domain": null
    },
    {
     "name": "SpecialLocationType",
     "type": "esriFieldTypeString",
     "alias": "SpecialLocationType",
     "length": 250,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 117,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeOID",
     "alias": "FTID",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "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": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 156,
   "name": "Industrial discharge",
   "type": "Feature Layer",
   "description": "Features tied to an activity consented under the Resource Management Act by Environment Canterbury.  \n\nThis layer contains a summary for all recorded features.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 250000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "a1b4cec58ee2acaff75f424d097e1fc2",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACR0lEQVQ4jdWUUUhTURjHf3eNTRRnOl0bLZEUbWMvWVYESoVCuHS5CvagSKBQEYVBIRIkJSJRbxG0fNCaZSShpZEh0RChQIhA7jZpFFgELi+1UU7JGddb6GqzHnqoPxw45/t/53fOd87hqPnLUv/XwBzSTGeJfXUyHzbAImgypoE+ZkPtQOjPgWmmOuYjbgoOaLHUCuhtSnxmwozPcwKx6whrUhqIfuj5PTA9t57IVBdll6G4Kd4zbpebCl1eCqOnPaQYBKLTntWAOcx9vEa5G8ZaINsGuRXxGa8HYbwDdl+BseZOYHhl+fFAvbWD3AottgbILIJBJ1TegQ17FD/YDyONUD0App0giVqmRtqRAo2JgXPhKjbVKv31pWC/C0OHwN4HsyF4chSqH4Bph5JjqZMXqQaSAKMzWeity2PzLqjsVXYqqMAxBMZtKyqyQVTSr3aGv+qL/FIEpb8YS5AgkByYaowg+dZi2KKM/bfAexKcw/D5PdyvAsegctuyJBFSDWHCb5IAMzaO4u+pWgL6PeA9BTXDYChW/PJOGNgH+x/CuhLw94Auz5scqF04hnjDjkan4uXV77DNy36+AxYXoL8SSi+Bz7NAduHx5CW/evqWQtcFnp0/x15PPOyHCpwg+eDxYcivaSV4711yoKzJ3las9Rq8Tc2EXggUuSDLongzIvhuyscRo9DVxuTttp+nJ75lsbuFrWe6+RS8zqPaEiJT2qV4ujlKpuU5BQcbmHAHE01VJwTKGr8YAMriYlJAaavo3/9gvwFGhrJSdvW/5AAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 15,
      "height": 15,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1067061,
    "ymin": 470137,
    "xmax": 2523320,
    "ymax": 6242131,
    "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": "HolderName",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ActivityNo",
     "type": "esriFieldTypeString",
     "alias": "ActivityNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ActivityRecordType",
     "type": "esriFieldTypeString",
     "alias": "ActivityRecordType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ActivityRecordNo",
     "type": "esriFieldTypeString",
     "alias": "ActivityRecordNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 4000,
     "domain": null
    },
    {
     "name": "FeatureID",
     "type": "esriFieldTypeInteger",
     "alias": "FeatureID",
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 30,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 30,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "CaptureScale",
     "type": "esriFieldTypeInteger",
     "alias": "CaptureScale",
     "domain": null
    },
    {
     "name": "SharedLocation",
     "type": "esriFieldTypeString",
     "alias": "SharedLocation",
     "length": 3,
     "domain": null
    },
    {
     "name": "SpecialLocationType",
     "type": "esriFieldTypeString",
     "alias": "SpecialLocationType",
     "length": 250,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 117,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeOID",
     "alias": "FTID",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "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": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 123,
   "name": "Effluent Human",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "5ece493fc28aa8aef6191a9621309366",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACVUlEQVQ4jdWUXUiTURjHf69ZE4TKxqSF2PLCsVWEySwCU0RJrBWtol1MJJhQkYWWpSvK/MJSKaRPE9KcpSSyyJYzLyzpQgi6CWWENdMQpuWcIV3kjPelxNmrddFF/eGBc57/Ob/znPPACeUvK/S/BqqUqM8F+Gb6gj8SZghnhRdo9TFaDoz+MVCJOnOKydpk9inSsQgxbJDy73gT1YH9uJP6w0sJs/oZa/otUEV01hhD9TlUc5DcIE/PFjFC1GjCrpNvjyBSGMdrXwyomsJ3+wy13MKGWJmBtKAFL2mnkQryuMZNCuoA19zrBwE16CsSSFMYsRKNlkJMlNBCPCmS/wIHFWRziUdsZBse+hSv6CofxJ0tC5zCb9yBRRpvIpEyHnKWA5TRio9RKjlCJY9Zz1ZpTTqZ9ODYDcgDJ/i0SoN+dh5HMsU0Y8OEQAhVPEFPwqwvPskEn5WLNmW+xvEiIEjjGQK/+MIPTxaoZPXkIP0rtcRL807uc5UTXMHFGCPkY6SKdqnbot7TRwSR/hE88sA1xPS4aDKKQBd2asiTYFo2owUKqeMUu6jGiQ4DnTShRvN8QeASpo8+5d7OcJaHtHFDgsUSN+snsocA05wkgxyqxEOnNcQeW/DKvXQPp2IuuUvxhfPYg2A/lYQJD/2UcYgk9hZ10/ZxQaCoLpqLMshaVkNuwVteC6mYWYtO8jz00UGjWFkgFXPpMx6Uzt8v22UnDTYLpxuGGbhzEYvBy5BCzKuI+roOXW8K+60Oagfk9obKJUXZuewGts/NfcAtxWL69z/Y73vEsyNrw942AAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 15,
      "height": 15,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "\"Human effluent outfall\"",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 11,
      "symbol": {
       "type": "esriTS",
       "color": [
        197,
        0,
        255,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1067061,
    "ymin": 470137,
    "xmax": 2523320,
    "ymax": 6242131,
    "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": "HolderName",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ActivityNo",
     "type": "esriFieldTypeString",
     "alias": "ActivityNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ActivityRecordType",
     "type": "esriFieldTypeString",
     "alias": "ActivityRecordType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ActivityRecordNo",
     "type": "esriFieldTypeString",
     "alias": "ActivityRecordNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 4000,
     "domain": null
    },
    {
     "name": "FeatureID",
     "type": "esriFieldTypeInteger",
     "alias": "FeatureID",
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 30,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 30,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "CaptureScale",
     "type": "esriFieldTypeInteger",
     "alias": "CaptureScale",
     "domain": null
    },
    {
     "name": "SharedLocation",
     "type": "esriFieldTypeString",
     "alias": "SharedLocation",
     "length": 3,
     "domain": null
    },
    {
     "name": "SpecialLocationType",
     "type": "esriFieldTypeString",
     "alias": "SpecialLocationType",
     "length": 250,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 117,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeOID",
     "alias": "FTID",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "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": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 95,
   "name": "Lyttelton label",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "c233fc3fbcb79fc89595e7801bab614f",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAK0lEQVRIie3QIQEAAAjAMAT9M1NgFvcFuPjOoy0ubaG2UFuoLdQWagu9bjmZegBdoQprrAAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 17,
      "height": 17,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 16,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 10,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1577497.1495000003,
    "ymin": 5172391.5229,
    "xmax": 1577497.1495000003,
    "ymax": 5172391.5229,
    "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": "PLACENAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "PLACENAME",
     "type": "esriFieldTypeString",
     "alias": "PLACENAME",
     "length": 80,
     "domain": null
    },
    {
     "name": "FEATURE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_TYPE",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_DESCRIPTION",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_DESCRIPTION",
     "length": 100,
     "domain": null
    },
    {
     "name": "LAND_DISTRICT",
     "type": "esriFieldTypeString",
     "alias": "LAND_DISTRICT",
     "length": 50,
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeDouble",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeDouble",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 16,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": null
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": null
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "REGION",
     "type": "esriFieldTypeString",
     "alias": "REGION",
     "length": 50,
     "domain": null
    },
    {
     "name": "DISPLAYCLASS",
     "type": "esriFieldTypeSmallInteger",
     "alias": "DISPLAYCLASS",
     "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": 1000,
   "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
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 148,
   "name": "Lyttelton label",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "c233fc3fbcb79fc89595e7801bab614f",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAK0lEQVRIie3QIQEAAAjAMAT9M1NgFvcFuPjOoy0ubaG2UFuoLdQWagu9bjmZegBdoQprrAAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 17,
      "height": 17,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 15,
      "symbol": {
       "type": "esriTS",
       "color": [
        255,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 10,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1577497.1495000003,
    "ymin": 5172391.5229,
    "xmax": 1577497.1495000003,
    "ymax": 5172391.5229,
    "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": "PLACENAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "PLACENAME",
     "type": "esriFieldTypeString",
     "alias": "PLACENAME",
     "length": 80,
     "domain": null
    },
    {
     "name": "FEATURE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_TYPE",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_DESCRIPTION",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_DESCRIPTION",
     "length": 100,
     "domain": null
    },
    {
     "name": "LAND_DISTRICT",
     "type": "esriFieldTypeString",
     "alias": "LAND_DISTRICT",
     "length": 50,
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeDouble",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeDouble",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 16,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": null
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": null
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "REGION",
     "type": "esriFieldTypeString",
     "alias": "REGION",
     "length": 50,
     "domain": null
    },
    {
     "name": "DISPLAYCLASS",
     "type": "esriFieldTypeSmallInteger",
     "alias": "DISPLAYCLASS",
     "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": 1000,
   "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
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 147,
   "name": "Communities",
   "type": "Feature Layer",
   "description": "Gazetter of placenames in Canterbury including; main centres, towns, populated areas & significant local land marks sourced from LINZ.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Land information New Zealand",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 4000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "3d4fea18e1764bc46eac56c84c383b0e",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAD0lEQVQImWNhQAMspAsAAALsABGvxex8AAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 3,
      "height": 3,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementCenterCenter",
      "deconflictionStrategy": "static",
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 100000,
      "name": "Suburbs <100,000",
      "priority": 18,
      "symbol": {
       "type": "esriTS",
       "color": [
        255,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.2,
       "font": {
        "family": "Arial",
        "size": 10,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1571533.8808000004,
    "ymin": 5164584.6632,
    "xmax": 1579520.7066000002,
    "ymax": 5172083.6547,
    "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": "esriServerHTMLPopupTypeNone",
   "displayField": "PLACENAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "PLACENAME",
     "type": "esriFieldTypeString",
     "alias": "PLACENAME",
     "length": 250,
     "domain": null
    },
    {
     "name": "FEATURE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_TYPE",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_DESCRIPTION",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_DESCRIPTION",
     "length": 250,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "TOPO50",
     "type": "esriFieldTypeString",
     "alias": "TOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "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": 1000,
   "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
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 93,
   "name": "Population center and locality labels",
   "type": "Feature Layer",
   "description": "Gazetter of placenames in Canterbury including; main centres, towns, populated areas & significant local land marks sourced from LINZ.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Land information New Zealand",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 4000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "3d4fea18e1764bc46eac56c84c383b0e",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAD0lEQVQImWNhQAMspAsAAALsABGvxex8AAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 3,
      "height": 3,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementCenterCenter",
      "deconflictionStrategy": "static",
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 100000,
      "name": "Suburbs <100,000",
      "priority": 19,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.2,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1571533.8808000004,
    "ymin": 5164584.6632,
    "xmax": 1579520.7066000002,
    "ymax": 5172083.6547,
    "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": "esriServerHTMLPopupTypeNone",
   "displayField": "PLACENAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "PLACENAME",
     "type": "esriFieldTypeString",
     "alias": "PLACENAME",
     "length": 250,
     "domain": null
    },
    {
     "name": "FEATURE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_TYPE",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_DESCRIPTION",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_DESCRIPTION",
     "length": 250,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "TOPO50",
     "type": "esriFieldTypeString",
     "alias": "TOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "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": 1000,
   "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
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 96,
   "name": "Bay/Inlet Labels",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "c233fc3fbcb79fc89595e7801bab614f",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAK0lEQVRIie3QIQEAAAjAMAT9M1NgFvcFuPjOoy0ubaG2UFuoLdQWagu9bjmZegBdoQprrAAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 17,
      "height": 17,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 36113,
      "name": "Default",
      "priority": 14,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        77,
        168,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "italic",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1572103.7303999998,
    "ymin": 5167000.988,
    "xmax": 1585146.1662999997,
    "ymax": 5173244.0073,
    "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": "PLACENAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "PLACENAME",
     "type": "esriFieldTypeString",
     "alias": "PLACENAME",
     "length": 250,
     "domain": null
    },
    {
     "name": "FEATURE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_TYPE",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_DESCRIPTION",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_DESCRIPTION",
     "length": 250,
     "domain": null
    },
    {
     "name": "REGION",
     "type": "esriFieldTypeString",
     "alias": "REGION",
     "length": 50,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "TOPO50",
     "type": "esriFieldTypeString",
     "alias": "TOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "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": 1000,
   "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
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 150,
   "name": "Swimming Locations",
   "type": "Feature Layer",
   "description": "Sites where water quality is (or has been) monitored as part of the summer swimming water quality monitoring program.  The results of chemical and biological tests are accessible from the location listed inthe LINK field.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 125000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "5a067fe8b889a86ea73061d4696cb197",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAACXBIWXMAAA7EAAAOxAGVKw4bAAACMklEQVQ4jdWUW0gUURjHf3uptbbtQlohki8h9NAWlSjVUkI3X7IU6qHAloKKkiAqDN1VCoPQHqwIoisFidhF2dJIMi1KyihtpyWL6MKWI1hEEkE2bRxOy67tDM1CPvSHwzfnO8NvvtscOyMk+/8N3lwX8QVCVPQPYksGMtWFtnYOh44WWcp0wY0KFQNfk4MKiUAaeigFdMCVEfvAZ2Po7HTo+WAMV79gNV1jmxUK3bBrCeRmQuEZuBo0l4Uu2G4Fb46EPu+H0gD4V0BNAVwPwXct9u6YUfBtyCQ41QnNITjZGfOduA/1xbBzMVS3Sd9lL6yZBXsDUHPbBFgdHL4fnwLudPlcvgzOd4H2U2YktGWBSXBULgeUeGB3HkwaG/vIgXzY2gCPwzA3A272kiBdsHM07PDAnjyY7Ew835QLx+/BoiMwIxUU1QS4xAO+5bIp4xyyMdEGxdvKlbD6NAT79ELTAT9T4XA7nHsI2xbChUewMRvquyF/JrT2QvZ0eBLWBxqCO15B28vfUd0Ahx18LdIqfbLG3e/leXTWhUQz/1qKzjeyYeXNsG8pHLsr57oxKH+Wsw8gawq8/SRn+spTiBttffDrj7B+Hmy/BNWroKpVwmvvwIb54G+BnEy49QKy0mBCCgz9SR1+V1h+pJVFtCYFW5MiXcUXpfXWSStKINT1TlqRWVQZE9HCRhEXuPFfU9ivJnltTnOhFbmpqjUCn1pnOQiIlZTEGMdDE8D/UiMG/gUBwqdqpyaDUAAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 16,
      "height": 16,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[SiteName]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "allowOverlapOfFeatureInterior": "avoid",
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 13,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        245,
        245,
        245,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 9,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1274228.6635154265,
    "ymin": 5004186.043116277,
    "xmax": 2465123.084202461,
    "ymax": 5355773.07481546,
    "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": "esriServerHTMLPopupTypeNone",
   "displayField": "SiteID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "SiteID",
     "type": "esriFieldTypeString",
     "alias": "SiteID",
     "length": 12,
     "domain": null
    },
    {
     "name": "SiteName",
     "type": "esriFieldTypeString",
     "alias": "SiteName",
     "length": 50,
     "domain": null
    },
    {
     "name": "AreaCode",
     "type": "esriFieldTypeString",
     "alias": "AreaCode",
     "length": 3,
     "domain": null
    },
    {
     "name": "AreaName",
     "type": "esriFieldTypeString",
     "alias": "AreaName",
     "length": 50,
     "domain": null
    },
    {
     "name": "SiteGrade",
     "type": "esriFieldTypeString",
     "alias": "SiteGrade",
     "length": 46,
     "domain": null
    },
    {
     "name": "SampleTypeName",
     "type": "esriFieldTypeString",
     "alias": "SampleTypeName",
     "length": 32,
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "Link",
     "type": "esriFieldTypeString",
     "alias": "Link",
     "length": 83,
     "domain": null
    },
    {
     "name": "NotSampled",
     "type": "esriFieldTypeString",
     "alias": "NotSampled",
     "length": 3,
     "domain": null
    },
    {
     "name": "Warnings",
     "type": "esriFieldTypeString",
     "alias": "Warnings",
     "length": 256,
     "domain": null
    },
    {
     "name": "Legend",
     "type": "esriFieldTypeString",
     "alias": "Legend",
     "length": 256,
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 16,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "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": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 153,
   "name": "Dredged channel and dumping grounds",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolyline",
   "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": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       137,
       68,
       68,
       255
      ],
      "width": 2
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1576948.0673000002,
    "ymin": 5170885.1241,
    "xmax": 1584930.2901999997,
    "ymax": 5173326.704,
    "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": "Name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OID",
     "type": "esriFieldTypeOID",
     "alias": "OID",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Name",
     "type": "esriFieldTypeString",
     "alias": "Name",
     "length": 60,
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Length",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OID",
     "fields": "OID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "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,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "Shape_Length",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 154,
   "name": "Compartments",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolyline",
   "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": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       130,
       130,
       130,
       255
      ],
      "width": 2
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1576336.6841000002,
    "ymin": 5169394.7623,
    "xmax": 1578749.6889000004,
    "ymax": 5171574.9333,
    "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": "Name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OID",
     "type": "esriFieldTypeOID",
     "alias": "OID",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Name",
     "type": "esriFieldTypeString",
     "alias": "Name",
     "length": 60,
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Length",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OID",
     "fields": "OID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "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,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "Shape_Length",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 98,
   "name": "Whakaraupo catchment",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolyline",
   "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": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       0,
       0,
       255
      ],
      "width": 2
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1569335.9924999997,
    "ymin": 5160491.947,
    "xmax": 1586073.7863999996,
    "ymax": 5174010.2968999995,
    "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": "SHAPE_Length",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE_Length",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Length",
     "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": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "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,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "SHAPE_Length",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 85,
   "name": "Rapaki mataitai",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "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": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       255,
       190,
       232,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        255,
        0,
        197,
        255
       ],
       "width": 2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[CATCHMENT_NAME]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "multiPart": "labelPerPart",
      "allowOverrun": true,
      "deconflictionStrategy": "dynamic",
      "repeatLabel": false,
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 36113,
      "name": "Default",
      "priority": 21,
      "symbol": {
       "type": "esriTS",
       "color": [
        255,
        0,
        197,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1573319.0272000004,
    "ymin": 5170958.011,
    "xmax": 1574757.0058000004,
    "ymax": 5171689.1684,
    "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": "CATCHMENT_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "CATCHMENT_NUMBER",
     "type": "esriFieldTypeString",
     "alias": "CATCHMENT_NUMBER",
     "length": 20,
     "domain": null
    },
    {
     "name": "CATCHMENT_NAME",
     "type": "esriFieldTypeString",
     "alias": "CATCHMENT_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": null
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": null
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Length",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Area",
     "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": 1000,
   "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,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 86,
   "name": "Whakaraupo mataitai",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "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": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSBackwardDiagonal",
      "color": [
       0,
       112,
       255,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        92,
        230,
        255
       ],
       "width": 2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[Name]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "multiPart": "labelPerPart",
      "allowOverrun": true,
      "deconflictionStrategy": "dynamic",
      "repeatLabel": false,
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 20,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        92,
        230,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 10,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1571524.6661,
    "ymin": 5165119.9388,
    "xmax": 1581389.4837,
    "ymax": 5172773.9111,
    "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": "Shape_Length",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Length",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Area",
     "domain": null
    },
    {
     "name": "Name",
     "type": "esriFieldTypeString",
     "alias": "Name",
     "length": 100,
     "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": 1000,
   "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,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 91,
   "name": "Current Land Use Classes (LUCAS) Fill",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "Current_Land_Use_Class",
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         114,
         137,
         68,
         255
        ],
        "outline": null
       },
       "value": "71",
       "label": "Natural Forest"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         56,
         168,
         0,
         255
        ],
        "outline": null
       },
       "value": "72",
       "label": "Planted Forest - Pre 1990"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         163,
         255,
         115,
         255
        ],
        "outline": null
       },
       "value": "73",
       "label": "Post 1989 Forest"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         230,
         76,
         0,
         255
        ],
        "outline": null
       },
       "value": "78",
       "label": "Cropland - Annual"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         197,
         0,
         255,
         255
        ],
        "outline": null
       },
       "value": "77",
       "label": "Cropland - Orchards and vineyards (perennial)"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         247,
         255,
         190,
         255
        ],
        "outline": null
       },
       "value": "75",
       "label": "Grassland - High producing"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         211,
         127,
         255
        ],
        "outline": null
       },
       "value": "76",
       "label": "Grassland - Low Producing"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         199,
         215,
         158,
         255
        ],
        "outline": null
       },
       "value": "74",
       "label": "Grassland - With woody biomass"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         190,
         232,
         255,
         255
        ],
        "outline": null
       },
       "value": "79",
       "label": "Wetland - Open water"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         132,
         168,
         255
        ],
        "outline": null
       },
       "value": "80",
       "label": "Wetland - Vegetated non forest"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         52,
         52,
         52,
         255
        ],
        "outline": null
       },
       "value": "81",
       "label": "Settlements"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         215,
         215,
         158,
         255
        ],
        "outline": null
       },
       "value": "82",
       "label": "Other land"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          202,
          204,
          255
         ],
         "toColor": [
          252,
          202,
          204,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          194,
          252,
          179,
          255
         ],
         "toColor": [
          194,
          252,
          179,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          182,
          184,
          252,
          255
         ],
         "toColor": [
          182,
          184,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          184,
          249,
          252,
          255
         ],
         "toColor": [
          184,
          249,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          237,
          182,
          255
         ],
         "toColor": [
          252,
          237,
          182,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          179,
          244,
          255
         ],
         "toColor": [
          252,
          179,
          244,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          194,
          221,
          252,
          255
         ],
         "toColor": [
          194,
          221,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          223,
          252,
          215,
          255
         ],
         "toColor": [
          223,
          252,
          215,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          212,
          252,
          255
         ],
         "toColor": [
          252,
          212,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          234,
          212,
          255
         ],
         "toColor": [
          252,
          234,
          212,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          179,
          252,
          222,
          255
         ],
         "toColor": [
          179,
          252,
          222,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          229,
          252,
          179,
          255
         ],
         "toColor": [
          229,
          252,
          179,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          189,
          221,
          255
         ],
         "toColor": [
          252,
          189,
          221,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1501305.5900999997,
    "ymin": 5138987.7891,
    "xmax": 1598606.0488999998,
    "ymax": 5203084.4868,
    "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": "Region_Name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Mapping_Year",
     "type": "esriFieldTypeDouble",
     "alias": "Mapping Year",
     "domain": null
    },
    {
     "name": "Island",
     "type": "esriFieldTypeDouble",
     "alias": "Island",
     "domain": null
    },
    {
     "name": "Region",
     "type": "esriFieldTypeDouble",
     "alias": "Region",
     "domain": null
    },
    {
     "name": "Region_Name",
     "type": "esriFieldTypeString",
     "alias": "Region Name",
     "length": 20,
     "domain": null
    },
    {
     "name": "Current_Land_Use_Class",
     "type": "esriFieldTypeDouble",
     "alias": "Current Land Use Classification",
     "domain": null
    },
    {
     "name": "Current_Land_Use_Class_Name",
     "type": "esriFieldTypeString",
     "alias": "Current Land Use Class Name",
     "length": 32,
     "domain": null
    },
    {
     "name": "Previous_Land_Use_Class",
     "type": "esriFieldTypeDouble",
     "alias": "Previous Land Use Classification",
     "domain": null
    },
    {
     "name": "Previous_Land_Use_Class_Nam_9",
     "type": "esriFieldTypeString",
     "alias": "Previous Land Use Class Name",
     "length": 32,
     "domain": null
    },
    {
     "name": "Improved_Land_Use_Class",
     "type": "esriFieldTypeDouble",
     "alias": "Improved Land Use Classification",
     "domain": null
    },
    {
     "name": "Improved_Land_Use_Class_Nam_11",
     "type": "esriFieldTypeString",
     "alias": "Improved Land Use Class Name",
     "length": 32,
     "domain": null
    },
    {
     "name": "Area_HA",
     "type": "esriFieldTypeDouble",
     "alias": "Area (Ha)",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": null
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": null
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Length",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Area",
     "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": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "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,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 144,
   "name": "Population Counts - NZ Census",
   "type": "Feature Layer",
   "description": "This dataset is the definitive set of area unit boundaries for 2013 as defined by Statistics New Zealand.Area units are aggregations of adjacent meshblocks with coterminous boundaries to form a single unbroken surface area (land and/or water). Exceptions to this rule are some area units comprising collections of geographically related inlets and marinas. Area units are non-administrative areas intermediate in size between meshblocks and territorial authorities. In an urban situation area units are often a collection of city blocks while in rural situations area units may be equated to localities or communities. Area Units must either define or aggregate to define urban areas, rural centres, statistical areas, territorial authorities and regional councils. Each area unit must be a single geographic entity with a unique name. The area unit pattern is revised once each five years in the year immediately prior to the taking of a Census of Population and Dwellings. There may also be changes in other years, in conjunction with local body boundary changes. Statistics New Zealand maintains a concordance file to ensure that boundaries relating to earlier area unit patterns can also be generated.YearArea Unit Totals1991 1717199217171993172119941722 19951722199617751997177519981775199917762000178620011860200218602003186020041860200518602006192720071927200819272009192720101927201120132012201320132020As at 1stJuly 2007, Digital Boundary data became freely available.Deriving output filesArea units are based on the meshblock pattern. Once all changes are prepared, Statistics NZ then passes the requests for changes to the meshblock pattern onto LINZ for the electronic changes to take place. Non-alignment of meshblock and cadastral boundaries are one of a number of reasons for meshblock boundary adjustments. Other reasons include requests from local authorities, Local Government Commission, Electoral Representation Commission and to make Census of Population and Dwellings enumeration processes easier.From the meshblock pattern, higher geographies, including the 2013area unit pattern were dissolved using the dissolve tool in the Arc GIS suite to create multiple output datasets.To Derive the area unit boundaries clipped to the coastline, meshblock polygons were dissolved to include or exclude land/water attributes attached to each meshblock. These were then dissolved to higher geographies, including the 2013 are unit pattern using the dissolve tool in the ArcGIS suite. The original vertices delineating the meshblock boundary pattern were digitised in 1991 from 1:5,000 scale urban maps and 1:50,000 scale rural maps. The magnitude of error of the original digital points would have been in the range of +/- 10 metres in urban areas and +/- 25 metres in rural areas. Where meshblock boundaries coincide with cadastral boundaries the magnitude of error will be within the range of 1\u20135 metres in urban areas and 5 - 20 metres in rural areas. This being the estimated magnitude of error of Landonline.The creation of high definition and generalised meshblock boundaries for the 2013 digital pattern and the dissolving of these meshblocks into other geographies/boundaries were completed within Statistics New Zealand using ESRI's ArcGIS desktop suite and the Data Interoperability extension with the following process: 1) Import data and all attribute fields into an ESRI File Geodatabase from LINZ as a shapefile2) Run geometry checks and repairs.3) Run Topology Checks on all data (Must Not Have Gaps, Must Not Overlap), detailed below.4) Generalise the meshblock layers to a 1m tolerance to create generalised dataset. 5) Clip the high definition and generalised meshblock layers to the coastline using land water codes.6) Dissolve all four meshblock datasets (clipped and unclipped, for both generalised and high definition versions) to higher geographies to create the following output data layers: Area Unit, Territorial Authorities, Regional Council, Urban Areas, Community Boards, Territorial Authority Subdivisions, Wards Constituencies and Maori Constituencies for the four datasets. 7) Complete a frequency analysis to determine that each code only has a single record.8) Re-run topology checks for overlaps and gaps.9) Export all created datasets into MapInfo and Shapefile format using the Data Interoperability extension to create 3 output formats for each file. 10) Quality Assurance and rechecking of delivery files.The High Definition version is similar to how the layer exists in Landonline with a couple of changes to fix topology errors identified in topology checking. The following quality checks and steps were applied to the meshblock pattern:Translation of ESRI Shapefiles to ESRI geodatabase datasetThe meshblock dataset was imported into the ESRI File Geodatabase format, required to run the ESRI topology checks. Topology rules were set for each of the layers. Topology ChecksA tolerance of 0.1 cm was applied to the data, which meant that the topology engine validating the data saw any vertex closer than this distance as the same location. A default topology rule of \u201cMust Be Larger than Cluster Tolerance\u201d is applied to all data \u2013 this would highlight where any features with a width less than 0.1cm exist. No errors were found for this rule.Three additional topology rules were applied specifically within each of the layers in the ESRI geodatabase \u2013 namely \u201cMust Not Overlap\u201d, \u201cMust Not Have Gaps\u201d and \u201c\"Area Boundary Must Be Covered By Boundary Of (Meshblock)\u201d. These check that a layer forms a continuous coverage over a surface, that any given point on that surface is only assigned to a single category, and that the dissolved boundaries are identical to the parent meshblock boundaries.Topology Checks Results: There were no errors in either the gap or overlap checks.GeneralisingTo create the generalised Meshblock layer the \u201cSimplify Polygon\u201d geoprocessing tool was used in ArcGIS, with the following parameters:Simplification Algorithm: POINT_REMOVEMaximum Allowable Offset: 1 metreMinimum Area: 1 square metreHandling Topological Errors: RESOLVE_ERRORSClipping of Layers to CoastlineThe processed feature class was then clipped to the coastline. The coastline was defined as features within the supplied Land2013 with codes and descriptions as follows:11- Island \u2013 Included12- Mainland \u2013 Included21- Inland Water \u2013 Included22- Inlet \u2013 Excluded23- Oceanic \u2013Excluded33- Other \u2013 Included.Features were clipped using the Data Interoperability extension, attribute filter tool. The attribute filter was used on both the generalised and high definition meshblock datasets creating four meshblock layers. Each meshblock dataset also contained all higher geographies and land-water data as attributes. Note: Meshblock 0017001 which is classified as island, was excluded from the clipped meshblock layers, as most of this meshblock is oceanic. Dissolve meshblocks to higher geographiesStatistics New Zealand then dissolved the ESRI meshblock feature classes to the higher geographies, for both the full and clipped dataset, generalised and high definition datasets. To dissolve the higher geographies, a model was built using the dissolver, aggregator and sorter tools, with each output set to include geography code and names within the Data Interoperability extension. Export to MapInfo Format and ShapfilesThe data was exported to MapInfo and Shapefile format using ESRI's Data Interoperability extension Translation tool. Quality Assurance and rechecking of delivery filesThe feature counts of all files were checked to ensure all layers had the correct number of features. This included checking that all multipart features had translated correctly in the new file.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "vcsWkid": 105792,
    "latestVcsWkid": 4440,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": 0,
    "mUnits": 1
   },
   "sourceHeightModelInfo": {
    "heightModel": "gravity_related_height",
    "vertCRS": "NZVD2009_height",
    "heightUnit": "meter"
   },
   "copyrightText": "Statisitcs New Zealand",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "AU2013_NAM",
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         190,
         190,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          255,
          255
         ],
         "width": 1
        }
       },
       "value": "Diamond Harbour",
       "label": "Diamond Harbour"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         190,
         232,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          255,
          255
         ],
         "width": 1
        }
       },
       "value": "Governors Bay",
       "label": "Governors Bay"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         211,
         255,
         190,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          255,
          255
         ],
         "width": 1
        }
       },
       "value": "Lyttelton",
       "label": "Lyttelton"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         232,
         190,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          255,
          255
         ],
         "width": 1
        }
       },
       "value": "Quail Island",
       "label": "Quail Island"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          176,
          53,
          57,
          255
         ],
         "toColor": [
          176,
          53,
          57,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          43,
          173,
          54,
          255
         ],
         "toColor": [
          43,
          173,
          54,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          53,
          37,
          176,
          255
         ],
         "toColor": [
          53,
          37,
          176,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          55,
          142,
          173,
          255
         ],
         "toColor": [
          55,
          142,
          173,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          128,
          113,
          38,
          255
         ],
         "toColor": [
          128,
          113,
          38,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          156,
          65,
          138,
          255
         ],
         "toColor": [
          156,
          65,
          138,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          47,
          173,
          138,
          255
         ],
         "toColor": [
          47,
          173,
          138,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          40,
          71,
          143,
          255
         ],
         "toColor": [
          40,
          71,
          143,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          133,
          88,
          65,
          255
         ],
         "toColor": [
          133,
          88,
          65,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          81,
          133,
          57,
          255
         ],
         "toColor": [
          81,
          133,
          57,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          148,
          176,
          56,
          255
         ],
         "toColor": [
          148,
          176,
          56,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          133,
          48,
          68,
          255
         ],
         "toColor": [
          133,
          48,
          68,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          108,
          42,
          145,
          255
         ],
         "toColor": [
          108,
          42,
          145,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1569350.9194999998,
    "ymin": 5161945.7735,
    "xmax": 1582616.6891000003,
    "ymax": 5173937.3679,
    "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": "AU2013",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "AU2013",
     "type": "esriFieldTypeString",
     "alias": "AU2013",
     "length": 6,
     "domain": null
    },
    {
     "name": "LAND_AREA_",
     "type": "esriFieldTypeDouble",
     "alias": "LAND_AREA_",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": null
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": null
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE_Length",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Length",
     "domain": null
    },
    {
     "name": "SHAPE_Area",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Area",
     "domain": null
    },
    {
     "name": "AU2013_NAM",
     "type": "esriFieldTypeString",
     "alias": "AU2013_NAM",
     "length": 254,
     "domain": null
    },
    {
     "name": "yr_1996",
     "type": "esriFieldTypeSmallInteger",
     "alias": "yr_1996",
     "domain": null
    },
    {
     "name": "yr_2001",
     "type": "esriFieldTypeSmallInteger",
     "alias": "yr_2001",
     "domain": null
    },
    {
     "name": "yr_2006",
     "type": "esriFieldTypeSmallInteger",
     "alias": "yr_2006",
     "domain": null
    },
    {
     "name": "yr_2013",
     "type": "esriFieldTypeSmallInteger",
     "alias": "yr_2013",
     "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": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "hasZ": 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,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE_Area",
    "shapeLengthFieldName": "SHAPE_Length",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 161,
   "name": "Subdivisions",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 27200,
    "latestWkid": 27200,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": 218800,
    "falseY": 3638800,
    "xyUnits": 1.9655644854863045E9,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       190,
       232,
       255,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSDash",
       "color": [
        0,
        112,
        255,
        255
       ],
       "width": 2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[Subdivis]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "multiPart": "labelPerPart",
      "allowOverrun": true,
      "deconflictionStrategy": "dynamic",
      "repeatLabel": false,
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 1,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        92,
        230,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 9,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1548687.6017968773,
    "ymin": 5139039.870902791,
    "xmax": 1610481.0172692894,
    "ymax": 5173955.467407516,
    "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": "Subdivis",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Subdivis",
     "type": "esriFieldTypeString",
     "alias": "Subdivis",
     "length": 50,
     "domain": null
    },
    {
     "name": "Population",
     "type": "esriFieldTypeInteger",
     "alias": "Population",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Length",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Area",
     "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": 1000,
   "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,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 130,
   "name": "Lyttelton-Mt Herbert Community Board",
   "type": "Feature Layer",
   "description": "Community Boards are set up under the Local Government Act 2002 and Local Electoral Act 2001. Their purpose is to administer the affairs of communities with populations not less than 1,500 within rural, urban or metropolitan districts of a territorial authority. A community boards functions, powers and duties are delegated at the discretion of its parent territorial authority and these may differ from community board to community board. Community boards and their boundaries are reviewed in the year immediately preceding the triennial local government elections. Community Boards are numbered based on their corresponding territorial authority. Each community board has a unique five digit number. The first three digits are the territorial authority that the community board lies within. The following two digits are sequential, and represent the number of community boards within the territorialauthority. For example, Taupo District (021) has 1 community board numbered 02101. The rest of the district is not represented by a community board boundary and is therefore coded 02199.Many territorial authorities do not have community boards and if they do, the community boards do not necessarily cover the whole territorial authority.As at 1stJuly 2007, Digital Boundary data became freely available.Deriving of output FilesThe original vertices delineating the meshblock boundary pattern were digitised in 1991 from 1:5,000 scale urban maps and 1:50,000 scale rural maps. The magnitude of error of the original digital points would have been in the range of +/- 10 metres in urban areas and +/- 25 metres in rural areas. Where meshblock boundaries coincide with cadastral boundaries the magnitude of error will be within the range of 1\u20135 metres in urban areas and 5 - 20 metres in rural areas. This being the estimated magnitude of error of Landonline.The creation of high definition and generalised meshblock boundaries for the 2013 digital pattern and the dissolving of these meshblocks into other geographies/boundaries were completed within Statistics New Zealand using ESRI's ArcGIS desktop suite and the Data Interoperability extension with the following process: Import data and all attribute fields into an ESRI File Geodatabase from LINZ as a shapefileRun geometry checks and repairs.Run Topology Checks on all data (Must Not Have Gaps, Must Not Overlap), detailed below.Generalise the meshblock layers to a 1m tolerance to create generalised dataset. Clip the high definition and generalised meshblock layers to the coastline using land water codes.Dissolve all four meshblock datasets (clipped and unclipped, for both generalised and high definition versions) to higher geographies to create the following output data layers: Area Unit, Territorial Authorities, Regional Council, Urban Areas, Community Boards, Territorial Authority Subdivisions, Wards Constituencies and Maori Constituencies for the four datasets. Complete a frequency analysis to determine that each code only has a single record.Re-run topology checks for overlaps and gaps.Export all created datasets into MapInfo and Shapefile format using the Data Interoperability extension to create 3 output formats for each file. Quality Assurance and rechecking of delivery files.The High Definition version is similar to how the layer exists in Landonline with a couple of changes to fix topology errors identified in topology checking. The following quality checks and steps were applied to the meshblock pattern:Translation of ESRI Shapefiles to ESRI geodatabase datasetThe meshblock dataset was imported into the ESRI File Geodatabase format, required to run the ESRI topology checks. Topology rules were set for each of the layers. Topology ChecksA tolerance of 0.1 cm was applied to the data, which meant that the topology engine validating the data saw any vertex closer than this distance as the same location. A default topology rule of \u201cMust Be Larger than Cluster Tolerance\u201d is applied to all data \u2013 this would highlight where any features with a width less than 0.1cm exist. No errors were found for this rule.Three additional topology rules were applied specifically within each of the layers in the ESRI geodatabase \u2013 namely \u201cMust Not Overlap\u201d, \u201cMust Not Have Gaps\u201d and \u201c\"Area Boundary Must Be Covered By Boundary Of (Meshblock)\u201d. These check that a layer forms a continuous coverage over a surface, that any given point on that surface is only assigned to a single category, and that the dissolved boundaries are identical to the parent meshblock boundaries.Topology Checks Results: There were no errors in either the gap or overlap checks.GeneralisingTo create the generalised Meshblock layer the \u201cSimplify Polygon\u201d geoprocessing tool was used in ArcGIS, with the following parameters:Simplification Algorithm: POINT_REMOVEMaximum Allowable Offset: 1 metreMinimum Area: 1 square metreHandling Topological Errors: RESOLVE_ERRORSClipping of Layers to CoastlineThe processed feature class was then clipped to the coastline. The coastline was defined as features within the supplied Land2013 with codes and descriptions as follows:11- Island \u2013 Included12- Mainland \u2013 Included21- Inland Water \u2013 Included22- Inlet \u2013 Excluded23- Oceanic \u2013Excluded33- Other \u2013 Included.Features were clipped using the Data Interoperability extension, attribute filter tool. The attribute filter was used on both the generalised and high definition meshblock datasets creating four meshblock layers. Each meshblock dataset also contained all higher geographies and land-water data as attributes. Note: Meshblock 0017001 which is classified as island, was excluded from the clipped meshblock layers, as most of this meshblock is oceanic. Dissolve meshblocks to higher geographiesStatistics New Zealand then dissolved the ESRI meshblock feature classes to the higher geographies, for both the full and clipped dataset, generalised and high definition datasets. To dissolve the higher geographies, a model was built using the dissolver, aggregator and sorter tools, with each output set to include geography code and names within the Data Interoperability extension. Export to MapInfo Format and ShapfilesThe data was exported to MapInfo and Shapefile format using ESRI's Data Interoperability extension Translation tool. Quality Assurance and rechecking of delivery filesThe feature counts of all files were checked to ensure all layers had the correct number of features. This included checking that all multipart features had translated correctly in the new file.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "vcsWkid": 105792,
    "latestVcsWkid": 4440,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": 0,
    "mUnits": 1
   },
   "sourceHeightModelInfo": {
    "heightModel": "gravity_related_height",
    "vertCRS": "NZVD2009_height",
    "heightUnit": "meter"
   },
   "copyrightText": "Statistics New Zealand",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       190,
       232,
       255,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSDash",
       "color": [
        0,
        112,
        255,
        255
       ],
       "width": 2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "\"Lyttelton-Mt Herbert Community Board\"",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "multiPart": "labelPerPart",
      "allowOverrun": true,
      "deconflictionStrategy": "dynamic",
      "repeatLabel": false,
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 9,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        92,
        230,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 10,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1067061.1996,
    "ymin": 4701317.1813,
    "xmax": 2523319.5022,
    "ymax": 6242140.2958,
    "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": "CB2013",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "CB2013",
     "type": "esriFieldTypeString",
     "alias": "CB2013",
     "length": 5,
     "domain": null
    },
    {
     "name": "CB2013_NAM",
     "type": "esriFieldTypeString",
     "alias": "CB2013_NAM",
     "length": 254,
     "domain": null
    },
    {
     "name": "LAND_AREA_",
     "type": "esriFieldTypeDouble",
     "alias": "LAND_AREA_",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "WS2_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": "WS2_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": 16,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STArea()",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R800_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S680_idx",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "hasZ": 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": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE.STArea()",
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  }
 ],
 "tables": []
}