{
 "currentVersion": 11.1,
 "cimVersion": "3.1.0",
 "id": 17,
 "name": "Rivers and Streams - 1:50,000",
 "type": "Feature Layer",
 "description": "River, stream and canal features from the LINZ 1:50,000 scale Topomaps.",
 "geometryType": "esriGeometryPolyline",
 "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": 125000,
 "maxScale": 0,
 "referenceScale": 0.0,
 "drawingInfo": {
  "renderer": {
   "type": "uniqueValue",
   "field1": "FEATURE_TYPE",
   "uniqueValueInfos": [
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       115,
       178,
       255,
       255
      ],
      "width": 1
     },
     "value": "Rapid",
     "label": "Rivers and Streams"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       115,
       178,
       255,
       255
      ],
      "width": 1
     },
     "value": "River",
     "label": "Rivers and Streams"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       115,
       178,
       255,
       255
      ],
      "width": 1
     },
     "value": "Waterfall",
     "label": "Rivers and Streams"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       112,
       255,
       255
      ],
      "width": 1.25
     },
     "value": "Canal",
     "label": "Canals and Water Races"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       112,
       255,
       255
      ],
      "width": 1.25
     },
     "value": "Water Race",
     "label": "Canals and Water Races"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       115,
       178,
       255,
       255
      ],
      "width": 0.7
     },
     "value": "Drain",
     "label": "Drains"
    }
   ],
   "fieldDelimiter": ",",
   "authoringInfo": {
    "colorRamp": {
     "type": "multipart",
     "colorRamps": [
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        194,
        155,
        120,
        255
       ],
       "toColor": [
        194,
        155,
        120,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        78,
        85,
        222,
        255
       ],
       "toColor": [
        78,
        85,
        222,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        123,
        242,
        121,
        255
       ],
       "toColor": [
        123,
        242,
        121,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        85,
        165,
        212,
        255
       ],
       "toColor": [
        85,
        165,
        212,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        230,
        80,
        180,
        255
       ],
       "toColor": [
        230,
        80,
        180,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        63,
        143,
        99,
        255
       ],
       "toColor": [
        63,
        143,
        99,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        235,
        94,
        94,
        255
       ],
       "toColor": [
        235,
        94,
        94,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        135,
        91,
        134,
        255
       ],
       "toColor": [
        135,
        91,
        134,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        162,
        245,
        238,
        255
       ],
       "toColor": [
        162,
        245,
        238,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        243,
        245,
        152,
        255
       ],
       "toColor": [
        243,
        245,
        152,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        133,
        56,
        56,
        255
       ],
       "toColor": [
        133,
        56,
        56,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        128,
        143,
        237,
        255
       ],
       "toColor": [
        128,
        143,
        237,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        245,
        157,
        201,
        255
       ],
       "toColor": [
        245,
        157,
        201,
        255
       ]
      }
     ]
    }
   }
  },
  "scaleSymbols": true,
  "transparency": 0,
  "labelingInfo": null
 },
 "defaultVisibility": false,
 "extent": {
  "xmin": 1090206.6173,
  "ymin": 4748880.5362,
  "xmax": 2467017.0634000003,
  "ymax": 6221332.9618,
  "spatialReference": {
   "wkid": 2193,
   "latestWkid": 2193,
   "xyTolerance": 1.0E-4,
   "zTolerance": 2,
   "mTolerance": 0.001,
   "falseX": -4020900,
   "falseY": 1900,
   "xyUnits": 4.504455473910538E8,
   "falseZ": 0,
   "zUnits": 1,
   "falseM": -100000,
   "mUnits": 10000
  }
 },
 "hasAttachments": false,
 "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
 "displayField": "NAME",
 "typeIdField": null,
 "subtypeFieldName": null,
 "subtypeField": null,
 "defaultSubtypeCode": null,
 "fields": [
  {
   "name": "OBJECTID",
   "type": "esriFieldTypeOID",
   "alias": "OBJECTID",
   "domain": null
  },
  {
   "name": "ID",
   "type": "esriFieldTypeDouble",
   "alias": "ID",
   "domain": null
  },
  {
   "name": "NAME",
   "type": "esriFieldTypeString",
   "alias": "NAME",
   "length": 42,
   "domain": null
  },
  {
   "name": "FEATURE_TYPE",
   "type": "esriFieldTypeString",
   "alias": "FEATURE_TYPE",
   "length": 12,
   "domain": null
  },
  {
   "name": "RIVER_DEFINITION",
   "type": "esriFieldTypeString",
   "alias": "RIVER_DEFINITION",
   "length": 10,
   "domain": null
  },
  {
   "name": "WATER_RACE",
   "type": "esriFieldTypeString",
   "alias": "WATER_RACE",
   "length": 7,
   "domain": null
  },
  {
   "name": "WATERFALL",
   "type": "esriFieldTypeDouble",
   "alias": "WATERFALL",
   "domain": null
  },
  {
   "name": "X_OFFSET",
   "type": "esriFieldTypeDouble",
   "alias": "X_OFFSET",
   "domain": null
  },
  {
   "name": "Y_OFFSET",
   "type": "esriFieldTypeDouble",
   "alias": "Y_OFFSET",
   "domain": null
  },
  {
   "name": "DISPLAY",
   "type": "esriFieldTypeInteger",
   "alias": "DISPLAY",
   "domain": null
  },
  {
   "name": "REGION",
   "type": "esriFieldTypeString",
   "alias": "REGION",
   "length": 15,
   "domain": null
  },
  {
   "name": "LENGTH_M",
   "type": "esriFieldTypeDouble",
   "alias": "LENGTH_M",
   "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": "Shape",
   "type": "esriFieldTypeGeometry",
   "alias": "Shape",
   "domain": null
  },
  {
   "name": "Shape.STLength()",
   "type": "esriFieldTypeDouble",
   "alias": "Shape.STLength()",
   "domain": null
  }
 ],
 "geometryField": {
  "name": "Shape",
  "type": "esriFieldTypeGeometry",
  "alias": "Shape"
 },
 "indexes": [
  {
   "name": "R75_pk",
   "fields": "OBJECTID",
   "isAscending": true,
   "isUnique": true,
   "description": ""
  },
  {
   "name": "S70_idx",
   "fields": "Shape",
   "isAscending": true,
   "isUnique": true,
   "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": true
 },
 "supportsDatumTransformation": true,
 "advancedQueryAnalyticCapabilities": {
  "supportsLinearRegression": true,
  "supportsAsync": false,
  "supportsPercentileAnalytic": true
 },
 "dateFieldsTimeReference": null,
 "preferredTimeReference": null,
 "datesInUnknownTimezone": false,
 "hasGeometryProperties": true,
 "geometryProperties": {
  "shapeLengthFieldName": "Shape.STLength()",
  "units": "esriMeters",
  "mapUnits": {"uwkid": 9001}
 },
 "hasMetadata": true,
 "isDataArchived": false,
 "archivingInfo": {
  "supportsQueryWithHistoricMoment": false,
  "startArchivingMoment": -1
 },
 "supportsCoordinatesQuantization": true,
 "supportsDynamicLegends": true
}