{ "layers": [ { "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 1, "name": "Water Quality Areas", "type": "Feature Layer", "description": "Areas of waterways around Christchurch are affected by human sewage contamination due to the 22 February 2011 earthquake and ongoing infrastructure repairs. Areas marked as closed to recreational use should be avoided.", "geometryType": "esriGeometryPolygon", "sourceSpatialReference": { "wkid": 102100, "latestWkid": 3857, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -20037700, "falseY": -30241100, "xyUnits": 10000, "falseZ": 0, "zUnits": 1, "falseM": 0, "mUnits": 1 }, "copyrightText": "Environment Canterbury 2011", "parentLayer": null, "subLayers": [], "minScale": 3000000, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "field1": "STATUS_DESCRIPTION", "uniqueValueInfos": [ { "symbol": { "type": "esriSFS", "style": "esriSFSBackwardDiagonal", "color": [ 255, 0, 0, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 0, 0, 255 ], "width": 1 } }, "value": "Area closed to recreational use", "label": "Area closed to recreational use" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 190, 232, 255, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 115, 178, 255, 255 ], "width": 0.4 } }, "value": "Normal water quality", "label": "Normal water quality" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 77, 105, 171, 255 ], "toColor": [ 77, 105, 171, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 58, 168, 35, 255 ], "toColor": [ 58, 168, 35, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 163, 36, 34, 255 ], "toColor": [ 163, 36, 34, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 63, 176, 159, 255 ], "toColor": [ 63, 176, 159, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 176, 42, 163, 255 ], "toColor": [ 176, 42, 163, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 140, 125, 65, 255 ], "toColor": [ 140, 125, 65, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 140, 70, 95, 255 ], "toColor": [ 140, 70, 95, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 49, 34, 148, 255 ], "toColor": [ 49, 34, 148, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 176, 176, 37, 255 ], "toColor": [ 176, 176, 37, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 108, 55, 128, 255 ], "toColor": [ 108, 55, 128, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 66, 128, 64, 255 ], "toColor": [ 66, 128, 64, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 53, 117, 130, 255 ], "toColor": [ 53, 117, 130, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 148, 88, 56, 255 ], "toColor": [ 148, 88, 56, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": 1.91765280752E7, "ymin": -5453954.2181, "xmax": 1.92763241167E7, "ymax": -5350706.2782000005, "spatialReference": { "wkid": 102100, "latestWkid": 3857, "xyTolerance": 0.001, "zTolerance": 2, "mTolerance": 0.001, "falseX": -20037700, "falseY": -30241100, "xyUnits": 1.4892314192838538E8, "falseZ": 0, "zUnits": 1, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "STATUS_DESCRIPTION", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "AREA_NAME", "type": "esriFieldTypeString", "alias": "AREA_NAME", "length": 50, "domain": null }, { "name": "STATUS", "type": "esriFieldTypeString", "alias": "STATUS", "length": 10, "domain": { "type": "codedValue", "name": "WATERQUALITY_AREAS", "description": "BLUE_RED", "codedValues": [ { "name": "BLUE", "code": "BLUE" }, { "name": "RED", "code": "ORANGE" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "STATUS_DESCRIPTION", "type": "esriFieldTypeString", "alias": "STATUS_DESCRIPTION", "length": 254, "domain": { "type": "codedValue", "name": "WATERQUALITY_AREAS_DESC", "description": "Water quality description", "codedValues": [ { "name": "Normal water quality", "code": "Normal water quality" }, { "name": "Area closed to recreational use", "code": "Area closed to recreational use" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "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": { "type": "codedValue", "name": "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": "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.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": "R152_pk", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "S146_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": { "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": [] }