{ "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 0, "name": "Rivers for Allocation", "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": 0, "zUnits": 1, "falseM": 0, "mUnits": 1 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "var name = $feature.PlanName\nvar block = $feature.Block\n\nif (name == \"Canterbury\"){\nif (block == \"A Block\"){\nreturn \"Canterbury Default\"}}\n\nif (name == \"Kairaki / McIntosh\"){\nif (block == \"A Block\"){\nreturn \"Canterbury Default\"}}\n\nif (name == \"Eyre River\"){\nif (block == \"A Block\"){\nreturn \"Canterbury Default\"}}\n\nif (name == \"Elms Creek\"){\nif (block == \"A Block\"){\nreturn \"Canterbury Default\"}}\n\nif (name == \"Grehan Stream\"){\nif (block == \"A Block\"){\nreturn \"Canterbury Default\"}}\n\nif (name == \"Levels and Seadown Plains Area\"){\nif (block == \"A Block\"){\nreturn \"Canterbury Default\"}}\n\nif (name == \"Waitaki Catchment\"){\nreturn \"Waitaki Default\"}\n\nif (block == \"A Block\"){\nreturn \"A Block\"}\n\nif (block == \"B Block\"){\nreturn \"B Block\"}\n\nif (block == \"C Block\"){\nreturn \"C Block\"}\n\nif (block == \"AA Block\"){\nreturn \"AA Block\"}\n\nif (FIND(\"A Block\",block) == 0){\nreturn \"A Block\"}\n\nif (FIND(\"B Block\",block) == 0){\nreturn \"B Block\"}", "valueExpressionTitle": "Custom", "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 117, 112, 179, 255 ], "width": 1 }, "value": "A Block", "label": "A Block" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 230, 152, 0, 255 ], "width": 1 }, "value": "AA Block", "label": "AA Block" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 27, 158, 119, 255 ], "width": 1 }, "value": "B Block", "label": "B Block" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 231, 41, 138, 255 ], "width": 1 }, "value": "C Block", "label": "C Block" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 156, 156, 156, 255 ], "width": 1 }, "value": "Canterbury Default", "label": "Canterbury Default" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 215, 194, 158, 255 ], "width": 1 }, "value": "Waitaki Default", "label": "Waitaki Default" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 27, 158, 119, 255 ], "toColor": [ 27, 158, 119, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 217, 95, 2, 255 ], "toColor": [ 217, 95, 2, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 117, 112, 179, 255 ], "toColor": [ 117, 112, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 232, 42, 140, 255 ], "toColor": [ 232, 42, 140, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 102, 166, 30, 255 ], "toColor": [ 102, 166, 30, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 230, 169, 2, 255 ], "toColor": [ 230, 169, 2, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": 1324242.8504999997, "ymin": 5005422.0973, "xmax": 1687421.8288000003, "ymax": 5359222.8168, "spatialReference": { "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 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "PlanName", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "PlanName", "type": "esriFieldTypeString", "alias": "Name", "length": 255, "domain": null }, { "name": "Block", "type": "esriFieldTypeString", "alias": "Block", "length": 100, "domain": null }, { "name": "Plan_", "type": "esriFieldTypeString", "alias": "Plan", "length": 255, "domain": null }, { "name": "PlanStatus", "type": "esriFieldTypeString", "alias": "Plan Status", "length": 30, "domain": null }, { "name": "AllocationURL", "type": "esriFieldTypeString", "alias": "Consented Allocation", "length": 255, "domain": null }, { "name": "SpatialUnitID", "type": "esriFieldTypeString", "alias": "SpatialUnitID", "length": 30, "domain": null }, { "name": "GlobalID", "type": "esriFieldTypeGlobalID", "alias": "GlobalID", "length": 38, "domain": null }, { "name": "ModifiedBy", "type": "esriFieldTypeString", "alias": "ModifiedBy", "length": 50, "domain": null }, { "name": "ModifiedDate", "type": "esriFieldTypeDate", "alias": "ModifiedDate", "length": 8, "domain": null }, { "name": "OBJECTID_P", "type": "esriFieldTypeDouble", "alias": "OBJECTID_P", "domain": null }, { "name": "PlanSection", "type": "esriFieldTypeString", "alias": "PlanSection", "length": 255, "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": "R2827_pk", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "UUID_2827", "fields": "GlobalID", "isAscending": true, "isUnique": false, "description": "" }, { "name": "S2272_idx", "fields": "Shape", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": false, "capabilities": "Map,Query,Data", "maxRecordCount": 2000, "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 }