{
 "currentVersion": 11.1,
 "cimVersion": "3.1.0",
 "id": 6,
 "name": "River Flow and Stage Monitoring Sites",
 "type": "Feature Layer",
 "description": "Locations where river flow or stage measurements have been recorded. These locations are derived from Environment Canterbury's Gaugings Database.  Each record summarises the date of the first and most recent survey, the number of surveys recorded for the site, whether the site is monitored for a specific reason (such as for compliance or low flow monitoring purposes) and lists the minimum and maximum surveyed flows recorded.",
 "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": "Environment Canterbury",
 "parentLayer": null,
 "subLayers": [],
 "minScale": 500000,
 "maxScale": 0,
 "referenceScale": 0.0,
 "drawingInfo": {
  "renderer": {
   "type": "simple",
   "symbol": {
    "type": "esriPMS",
    "url": "73470eac03fa02a233cfc2832779e2bf",
    "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAq0lEQVQokWNhIBOw4JHbDKV9SdG4mYFfyYfh4z0Q+wwDA4MJMRohmtRDGBg4BBgYDlUZY9PMglOTuBFExK4Nq2YWvJpAgF8Jq2YWvJqwawYFmi/CRlBAgPyED3AIMjD8eP8MxGRBCvIzYBNBJoNsQAYgQ091gzRtYWBgSEf3owlWzR9RNMHjFD1UUTWDABZN2DSiaob4CUMTLo0wzZuhAQH2E7EaQQBrGoUBAJutQmkSkv+xAAAAAElFTkSuQmCC",
    "contentType": "image/png",
    "width": 10,
    "height": 10,
    "angle": 0,
    "xoffset": 0,
    "yoffset": 0
   }
  },
  "scaleSymbols": true,
  "transparency": 0,
  "labelingInfo": [
   {
    "labelExpression": "[Site]",
    "labelPlacement": "esriServerPointLabelPlacementAboveRight",
    "deconflictionStrategy": "dynamic",
    "allowOverlapOfFeatureInterior": "avoid",
    "stackLabel": true,
    "stackAlignment": "dynamic",
    "removeDuplicates": "none",
    "stackRowLength": 24,
    "useCodedValues": true,
    "maxScale": 0,
    "minScale": 20000,
    "name": "Default",
    "priority": 9,
    "symbol": {
     "type": "esriTS",
     "color": [
      0,
      77,
      168,
      255
     ],
     "backgroundColor": null,
     "borderLineColor": null,
     "borderLineSize": null,
     "verticalAlignment": "bottom",
     "horizontalAlignment": "left",
     "rightToLeft": false,
     "angle": 0,
     "xoffset": 0,
     "yoffset": 0,
     "kerning": true,
     "haloColor": [
      255,
      255,
      255,
      255
     ],
     "haloSize": 1,
     "font": {
      "family": "Arial",
      "size": 7,
      "style": "normal",
      "weight": "bold",
      "decoration": "none"
     }
    }
   }
  ]
 },
 "defaultVisibility": true,
 "extent": {
  "xmin": -4020763.2677228367,
  "ymin": 2036.0570636580535,
  "xmax": 7220763.267722837,
  "ymax": 1.9997963942936342E7,
  "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": "SiteName",
 "typeIdField": null,
 "subtypeFieldName": null,
 "subtypeField": null,
 "defaultSubtypeCode": null,
 "fields": [
  {
   "name": "SHAPE",
   "type": "esriFieldTypeGeometry",
   "alias": "Shape",
   "domain": null
  },
  {
   "name": "SITENUMBER",
   "type": "esriFieldTypeInteger",
   "alias": "SITENUMBER",
   "domain": null
  },
  {
   "name": "RIVER",
   "type": "esriFieldTypeString",
   "alias": "RIVER",
   "length": 50,
   "domain": null
  },
  {
   "name": "SITENAME",
   "type": "esriFieldTypeString",
   "alias": "SITENAME",
   "length": 64,
   "domain": null
  },
  {
   "name": "SITE",
   "type": "esriFieldTypeString",
   "alias": "SITE",
   "length": 118,
   "domain": null
  },
  {
   "name": "TIM_CHCH",
   "type": "esriFieldTypeString",
   "alias": "TIM_CHCH",
   "length": 1,
   "domain": null
  },
  {
   "name": "RECORDER_SITE",
   "type": "esriFieldTypeString",
   "alias": "RECORDER_SITE",
   "length": 1,
   "domain": null
  },
  {
   "name": "TELEMETERED",
   "type": "esriFieldTypeString",
   "alias": "TELEMETERED",
   "length": 1,
   "domain": null
  },
  {
   "name": "COMPLIANCE_MONITORING",
   "type": "esriFieldTypeString",
   "alias": "COMPLIANCE_MONITORING",
   "length": 1,
   "domain": null
  },
  {
   "name": "FLOOD_CONTROL",
   "type": "esriFieldTypeString",
   "alias": "FLOOD_CONTROL",
   "length": 1,
   "domain": null
  },
  {
   "name": "MINIMUM_FLOW_SITE",
   "type": "esriFieldTypeString",
   "alias": "MINIMUM_FLOW_SITE",
   "length": 1,
   "domain": null
  },
  {
   "name": "MINIMUM_FLOW",
   "type": "esriFieldTypeSingle",
   "alias": "MINIMUM_FLOW",
   "domain": null
  },
  {
   "name": "NO_OF_GAUGINGS",
   "type": "esriFieldTypeInteger",
   "alias": "NO_OF_GAUGINGS",
   "domain": null
  },
  {
   "name": "FIRST_GAUGING",
   "type": "esriFieldTypeDate",
   "alias": "FIRST_GAUGING",
   "length": 8,
   "domain": null
  },
  {
   "name": "LAST_GAUGING",
   "type": "esriFieldTypeDate",
   "alias": "LAST_GAUGING",
   "length": 8,
   "domain": null
  },
  {
   "name": "LOWEST_FLOW",
   "type": "esriFieldTypeSingle",
   "alias": "LOWEST_FLOW",
   "domain": null
  },
  {
   "name": "HIGHEST_FLOW",
   "type": "esriFieldTypeSingle",
   "alias": "HIGHEST_FLOW",
   "domain": null
  },
  {
   "name": "ALTITUDE",
   "type": "esriFieldTypeSmallInteger",
   "alias": "ALTITUDE",
   "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": {
  "timeZone": "New Zealand Standard Time",
  "respectsDaylightSaving": false
 },
 "preferredTimeReference": null,
 "datesInUnknownTimezone": false,
 "hasMetadata": true,
 "isDataArchived": false,
 "archivingInfo": {
  "supportsQueryWithHistoricMoment": false,
  "startArchivingMoment": -1
 },
 "supportsCoordinatesQuantization": true,
 "supportsDynamicLegends": true
}