{ "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 4, "name": "SportArea", "type": "Feature Layer", "description": "GDSManmade.SDEADMIN.Sport Area (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 sportCode = $feature.SportCode;\n\nif (sportCode == 'Tennis'){\n return 'Tennis'\n} else if (sportCode == 'Cricket'){\n return 'Cricket' ;\n} else if (sportCode == 'Archery'){\n return 'Archery';\n} else if (sportCode == 'Basketball'){\n return 'Basketball';\n} else if (SportCode == 'Bowls'){\n return 'Bowls';\n} else if (sportCode == 'Petanque'){\n return 'Petanque'; \n} else if (sportCode == 'Netball'){\n return 'Netball'; \n} else if (sportCode == 'Croquet'){\n return 'Croquet'; \n} else if (Includes(['Athletics','Discus','Javelin','Long Jump','Running','Shotput'],sportCode) == True){\n return 'Athletics';\n} else if (sportCode == 'Hockey'){\n return 'Hockey'; \n} else if (sportCode == 'Polo'){\n return 'Polo'; \n} else if (sportCode == 'Skateboard'){\n return 'Skateboard'; \n} else if (sportCode == 'Golf'){\n return 'Golf'; \n} else if (sportCode == 'Softball'){\n return 'Softball';\n} else if(sportCode == 'Cycling'){\n return 'Cycling';\n} else if (sportCode == 'Learn to Ride'){\n return 'Learn To Ride'; \n} else if (sportCode == 'BMX'){\n return 'BMX' \n} else {\n return 'Other'\n} ", "valueExpressionTitle": "Custom", "uniqueValueInfos": [ { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 87, 179, 124, 178 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 1.4999999999999998 } }, "value": "Athletics", "label": "Athletics" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 219, 212, 0, 178 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 1.4999999999999998 } }, "value": "Archery", "label": "Archery" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 207, 126, 45, 178 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 1.4999999999999998 } }, "value": "BMX", "label": "BMX" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 67, 50, 148, 178 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 1.4999999999999998 } }, "value": "Basketball", "label": "Basketball" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 219, 212, 0, 178 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 1.4999999999999998 } }, "value": "Bowls", "label": "Bowls" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 139, 41, 148, 178 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 1.4999999999999998 } }, "value": "Cricket", "label": "Cricket" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 87, 179, 124, 178 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 1.4999999999999998 } }, "value": "Croquet", "label": "Croquet" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 148, 41, 141, 178 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 1.4999999999999998 } }, "value": "Hockey", "label": "Hockey" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 219, 0, 18, 178 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 1.4999999999999998 } }, "value": "Learn To Ride", "label": "Learn To Ride" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 87, 179, 124, 178 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 1.4999999999999998 } }, "value": "Netball", "label": "Netball" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 87, 179, 124, 178 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 1.4999999999999998 } }, "value": "Skateboard", "label": "Skateboard" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 0, 174, 237, 178 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 1.4999999999999998 } }, "value": "Softball", "label": "Softball" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 67, 50, 148, 178 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 1.4999999999999998 } }, "value": "Tennis", "label": "Tennis" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 202, 200, 207, 178 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 1.4999999999999998 } }, "value": "Other", "label": "Other" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 207, 252, 215, 255 ], "toColor": [ 207, 252, 215, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 246, 179, 252, 255 ], "toColor": [ 246, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 187, 214, 252, 255 ], "toColor": [ 187, 214, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 203, 192, 255 ], "toColor": [ 252, 203, 192, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 242, 189, 255 ], "toColor": [ 252, 242, 189, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 248, 212, 252, 255 ], "toColor": [ 248, 212, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 188, 182, 252, 255 ], "toColor": [ 188, 182, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 250, 252, 255 ], "toColor": [ 179, 250, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 199, 252, 179, 255 ], "toColor": [ 199, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 179, 223, 255 ], "toColor": [ 252, 179, 223, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 182, 196, 255 ], "toColor": [ 252, 182, 196, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 215, 229, 255 ], "toColor": [ 252, 215, 229, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 246, 252, 179, 255 ], "toColor": [ 246, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 227, 252, 197, 255 ], "toColor": [ 227, 252, 197, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "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": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "SportAreaID", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "SportAreaID", "type": "esriFieldTypeOID", "alias": "SportAreaID", "domain": null }, { "name": "ServiceStatus", "type": "esriFieldTypeString", "alias": "ServiceStatus", "length": 50, "domain": null }, { "name": "SportCode", "type": "esriFieldTypeString", "alias": "SportCode", "length": 50, "domain": null }, { "name": "SportLevel", "type": "esriFieldTypeString", "alias": "SportLevel", "length": 50, "domain": null }, { "name": "SportBookingOrganisation", "type": "esriFieldTypeString", "alias": "SportBookingOrganisation", "length": 50, "domain": null }, { "name": "SportSeason", "type": "esriFieldTypeString", "alias": "SportSeason", "length": 50, "domain": null }, { "name": "SportSurface", "type": "esriFieldTypeString", "alias": "SportSurface", "length": 50, "domain": null }, { "name": "AreaNumber", "type": "esriFieldTypeInteger", "alias": "AreaNumber", "domain": null }, { "name": "AreaName", "type": "esriFieldTypeString", "alias": "AreaName", "length": 40, "domain": null }, { "name": "LongDescription", "type": "esriFieldTypeString", "alias": "LongDescription", "length": 70, "domain": null }, { "name": "SeasonStartDate", "type": "esriFieldTypeDate", "alias": "SeasonStartDate", "length": 8, "domain": null }, { "name": "SeasonEndDate", "type": "esriFieldTypeDate", "alias": "SeasonEndDate", "length": 8, "domain": null }, { "name": "MidSeasonBreakStartDate", "type": "esriFieldTypeDate", "alias": "MidSeasonBreakStartDate", "length": 8, "domain": null }, { "name": "MidSeasonBreakEndDate", "type": "esriFieldTypeDate", "alias": "MidSeasonBreakEndDate", "length": 8, "domain": null }, { "name": "TrainingDays", "type": "esriFieldTypeString", "alias": "TrainingDays", "length": 8000, "domain": null }, { "name": "MatchDays", "type": "esriFieldTypeString", "alias": "MatchDays", "length": 8000, "domain": null }, { "name": "ParkName", "type": "esriFieldTypeString", "alias": "ParkName", "length": 255, "domain": null }, { "name": "InContract", "type": "esriFieldTypeString", "alias": "InContract", "length": 60, "domain": null }, { "name": "ContractArea", "type": "esriFieldTypeString", "alias": "ContractArea", "length": 60, "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": 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": true }, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "fabd63f8bac044c3b2378ad2f253837d" }