{ "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 46, "name": "DistrictPlanDesignation", "type": "Feature Layer", "description": "GISAFM.SDEADMIN.DP Designation (OpenData)", "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": 1000000, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "var legalStatus = $feature.DesignationLegalStatus\nvar mapCategory = $feature.DesignationMapCategory \n\nif (legalStatus == 'Operative' && mapCategory == 'Designation') {\n return '1. Designation'\n} else if (legalStatus == 'Operative' && mapCategory == 'Lyttelton Tunnel Designation') {\n return '2. Lyttelton Tunnel'\n} else if (legalStatus == 'Operative' && mapCategory == 'New Zealand Transport Agency (Future works) Designation') {\n return '3. NZ Transport Agency (Future works)'\n} else if (legalStatus == 'Notice of Requirement') {\n return '4. Notice of Requirement'\n}", "valueExpressionTitle": "Custom", "uniqueValueInfos": [ { "symbol": { "type": "esriSFS", "style": "esriSFSForwardDiagonal", "color": [ 51, 51, 51, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 1.5 } }, "value": "1. Designation", "label": "1. Designation" }, { "symbol": { "type": "esriSFS", "style": "esriSFSForwardDiagonal", "color": [ 0, 153, 0, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 153, 0, 255 ], "width": 1.5 } }, "value": "2. Lyttelton Tunnel", "label": "2. Lyttelton Tunnel" }, { "symbol": { "type": "esriSFS", "style": "esriSFSForwardDiagonal", "color": [ 0, 0, 182, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 182, 255 ], "width": 1.5 } }, "value": "3. NZ Transport Agency (Future works)", "label": "3. NZ Transport Agency (Future works)" }, { "symbol": { "type": "esriSFS", "style": "esriSFSForwardDiagonal", "color": [ 255, 102, 0, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 102, 0, 255 ], "width": 1.5 } }, "value": "4. Notice of Requirement", "label": "4. Notice of Requirement" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 189, 204, 252, 255 ], "toColor": [ 189, 204, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 244, 252, 179, 255 ], "toColor": [ 244, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 179, 185, 255 ], "toColor": [ 252, 179, 185, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 189, 252, 242, 255 ], "toColor": [ 189, 252, 242, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 184, 252, 255 ], "toColor": [ 252, 184, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 221, 189, 255 ], "toColor": [ 252, 221, 189, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 252, 182, 255 ], "toColor": [ 179, 252, 182, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 210, 245, 255 ], "toColor": [ 252, 210, 245, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 199, 179, 252, 255 ], "toColor": [ 199, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 228, 252, 212, 255 ], "toColor": [ 228, 252, 212, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 207, 234, 252, 255 ], "toColor": [ 207, 234, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 247, 194, 255 ], "toColor": [ 252, 247, 194, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 204, 208, 255 ], "toColor": [ 252, 204, 208, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": 1548000, "ymin": 5139000, "xmax": 1611000, "ymax": 5196000, "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": "DistrictPlanDesignationID", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "DistrictPlanDesignationID", "type": "esriFieldTypeOID", "alias": "DistrictPlanDesignationID", "domain": null }, { "name": "DesignationStatus", "type": "esriFieldTypeString", "alias": "DesignationStatus", "length": 7, "domain": null }, { "name": "DesignationAuthority", "type": "esriFieldTypeString", "alias": "DesignationAuthority", "length": 120, "domain": null }, { "name": "DesignationAuthorityLabel", "type": "esriFieldTypeString", "alias": "DesignationAuthorityLabel", "length": 5, "domain": null }, { "name": "DesignationPurpose", "type": "esriFieldTypeString", "alias": "DesignationPurpose", "length": 75, "domain": null }, { "name": "DesignationDescription", "type": "esriFieldTypeString", "alias": "DesignationDescription", "length": 100, "domain": null }, { "name": "DesignationLapseDate", "type": "esriFieldTypeDate", "alias": "DesignationLapseDate", "length": 8, "domain": null }, { "name": "DesignationNumber", "type": "esriFieldTypeInteger", "alias": "DesignationNumber", "domain": null }, { "name": "DesignationMapCategory", "type": "esriFieldTypeString", "alias": "DesignationMapCategory", "length": 100, "domain": null }, { "name": "DesignationLegalStatus", "type": "esriFieldTypeString", "alias": "DesignationLegalStatus", "length": 50, "domain": null }, { "name": "Geometry_SPA", "type": "esriFieldTypeGeometry", "alias": "Geometry_SPA", "domain": null } ], "geometryField": { "name": "Geometry_SPA", "type": "esriFieldTypeGeometry", "alias": "Geometry_SPA" }, "indexes": null, "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": { "timeZone": "New Zealand Standard Time", "respectsDaylightSaving": true }, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "c7b5143f3dcf47a0854c23a8057b949e" }