{ "tables": [], "layers": [ { "isCoGoEnabled": false, "extent": { "ymin": -37.29246500299996, "xmin": 174.16212399500012, "ymax": -36.05018199299997, "xmax": 175.55101299700004, "spatialReference": { "falseM": -100000, "xyTolerance": 8.983152841195215E-9, "mUnits": 10000, "zUnits": 10000, "latestWkid": 4326, "zTolerance": 0.001, "wkid": 4326, "xyUnits": 9.999999999999999E8, "mTolerance": 0.001, "falseX": -400, "falseY": -400, "falseZ": -100000 } }, "isDataBranchVersioned": false, "supportsApplyEditsWithGlobalIds": true, "maxRecordCount": 2000, "infoInEstimates": [ "extent", "count" ], "type": "Feature Layer", "onlyAllowTrueCurveUpdatesByTrueCurveClients": true, "supportsAttachmentsByUploadId": true, "relationships": [], "supportsAttachmentsResizing": true, "cimVersion": "2.6.0", "isDataArchived": true, "id": 11, "supportsStatistics": true, "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson", "standardMaxRecordCount": 2000, "isDataVersioned": false, "templates": [ { "name": "1.000000 - 203.000000", "description": "", "drawingTool": "esriFeatureEditToolPolygon", "prototype": { "attributes": { "end_date": null, "suburb_3rd": null, "majorlocal": null, "sum_motorcycle": null, "suburb_4th": null, "suburb_2nd": null, "majorloc_1": null, "count": 102, "sum_pedestrian": null, "type": null, "type_order": null, "sum_bicycle": null, "suburb_1st": null, "city_name": null, "sum_fatalcount": null, "sum_seriousinjurycount": null, "has_addres": null, "parent_id": null, "sum_vehicle": null, "id": null, "objectid": null, "city_id": null, "start_date": null } } }, { "name": "203.000001 - 566.000000", "description": "", "drawingTool": "esriFeatureEditToolPolygon", "prototype": { "attributes": { "end_date": null, "suburb_3rd": null, "majorlocal": null, "sum_motorcycle": null, "suburb_4th": null, "suburb_2nd": null, "majorloc_1": null, "count": 384.5, "sum_pedestrian": null, "type": null, "type_order": null, "sum_bicycle": null, "suburb_1st": null, "city_name": null, "sum_fatalcount": null, "sum_seriousinjurycount": null, "has_addres": null, "parent_id": null, "sum_vehicle": null, "id": null, "objectid": null, "city_id": null, "start_date": null } } }, { "name": "566.000001 - 984.000000", "description": "", "drawingTool": "esriFeatureEditToolPolygon", "prototype": { "attributes": { "end_date": null, "suburb_3rd": null, "majorlocal": null, "sum_motorcycle": null, "suburb_4th": null, "suburb_2nd": null, "majorloc_1": null, "count": 775, "sum_pedestrian": null, "type": null, "type_order": null, "sum_bicycle": null, "suburb_1st": null, "city_name": null, "sum_fatalcount": null, "sum_seriousinjurycount": null, "has_addres": null, "parent_id": null, "sum_vehicle": null, "id": null, "objectid": null, "city_id": null, "start_date": null } } }, { "name": "984.000001 - 1864.000000", "description": "", "drawingTool": "esriFeatureEditToolPolygon", "prototype": { "attributes": { "end_date": null, "suburb_3rd": null, "majorlocal": null, "sum_motorcycle": null, "suburb_4th": null, "suburb_2nd": null, "majorloc_1": null, "count": 1424, "sum_pedestrian": null, "type": null, "type_order": null, "sum_bicycle": null, "suburb_1st": null, "city_name": null, "sum_fatalcount": null, "sum_seriousinjurycount": null, "has_addres": null, "parent_id": null, "sum_vehicle": null, "id": null, "objectid": null, "city_id": null, "start_date": null } } }, { "name": "1864.000001 - 3676.000000", "description": "", "drawingTool": "esriFeatureEditToolPolygon", "prototype": { "attributes": { "end_date": null, "suburb_3rd": null, "majorlocal": null, "sum_motorcycle": null, "suburb_4th": null, "suburb_2nd": null, "majorloc_1": null, "count": 2770, "sum_pedestrian": null, "type": null, "type_order": null, "sum_bicycle": null, "suburb_1st": null, "city_name": null, "sum_fatalcount": null, "sum_seriousinjurycount": null, "has_addres": null, "parent_id": null, "sum_vehicle": null, "id": null, "objectid": null, "city_id": null, "start_date": null } } } ], "hasGeometryProperties": true, "supportsAdvancedQueries": true, "parentLayer": null, "currentVersion": 11.3, "canScaleSymbols": false, "hasZ": false, "advancedEditingCapabilities": { "supportsAsyncApplyEdits": true, "supportsApplyEditsbyUploadID": true, "supportsReturnEditResults": true, "supportedSqlFormatsInCalculate": [ "standard" ], "supportedApplyEditsUploadIDFormats": "JSON" }, "objectIdField": "objectid1", "supportsQuantizationEditMode": true, "name": "CrashDataPublic_AucklandSuburbs_SummarizeWithin", "allowTrueCurvesUpdates": false, "displayField": "city_name", "supportsCalculate": true, "fields": [ { "modelName": "objectid1", "nullable": false, "defaultValue": null, "editable": false, "domain": null, "name": "objectid1", "alias": "OBJECTID1", "type": "esriFieldTypeOID" }, { "modelName": "objectid", "nullable": false, "editable": true, "defaultValue": null, "domain": null, "name": "objectid", "alias": "OBJECTID", "type": "esriFieldTypeInteger" }, { "modelName": "id", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "id", "alias": "id", "type": "esriFieldTypeInteger" }, { "modelName": "parent_id", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "parent_id", "alias": "parent_id", "type": "esriFieldTypeInteger" }, { "modelName": "suburb_4th", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "suburb_4th", "length": 10485758, "alias": "suburb_4th", "type": "esriFieldTypeString" }, { "modelName": "suburb_3rd", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "suburb_3rd", "length": 10485758, "alias": "suburb_3rd", "type": "esriFieldTypeString" }, { "modelName": "suburb_2nd", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "suburb_2nd", "length": 10485758, "alias": "suburb_2nd", "type": "esriFieldTypeString" }, { "modelName": "suburb_1st", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "suburb_1st", "length": 10485758, "alias": "suburb_1st", "type": "esriFieldTypeString" }, { "modelName": "type_order", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "type_order", "alias": "type_order", "type": "esriFieldTypeInteger" }, { "modelName": "type", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "type", "length": 10485758, "alias": "type", "type": "esriFieldTypeString" }, { "modelName": "city_id", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "city_id", "alias": "city_id", "type": "esriFieldTypeInteger" }, { "modelName": "city_name", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "city_name", "length": 10485758, "alias": "city_name", "type": "esriFieldTypeString" }, { "modelName": "has_addres", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "has_addres", "length": 10485758, "alias": "has_addres", "type": "esriFieldTypeString" }, { "modelName": "start_date", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "precision": 1, "name": "start_date", "length": 29, "alias": "start_date", "type": "esriFieldTypeDate" }, { "modelName": "end_date", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "precision": 1, "name": "end_date", "length": 29, "alias": "end_date", "type": "esriFieldTypeDate" }, { "modelName": "majorlocal", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "majorlocal", "alias": "majorlocal", "type": "esriFieldTypeInteger" }, { "modelName": "majorloc_1", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "majorloc_1", "length": 10485758, "alias": "majorloc_1", "type": "esriFieldTypeString" }, { "modelName": "count", "nullable": false, "editable": true, "defaultValue": null, "domain": null, "name": "count", "alias": "COUNT", "type": "esriFieldTypeDouble" }, { "modelName": "sum_bicycle", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "sum_bicycle", "alias": "SUM_bicycle", "type": "esriFieldTypeDouble" }, { "modelName": "sum_fatalcount", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "sum_fatalcount", "alias": "SUM_fatalCount", "type": "esriFieldTypeDouble" }, { "modelName": "sum_motorcycle", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "sum_motorcycle", "alias": "SUM_motorcycle", "type": "esriFieldTypeDouble" }, { "modelName": "sum_pedestrian", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "sum_pedestrian", "alias": "SUM_pedestrian", "type": "esriFieldTypeDouble" }, { "modelName": "sum_seriousinjurycount", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "sum_seriousinjurycount", "alias": "SUM_seriousInjuryCount", "type": "esriFieldTypeDouble" }, { "modelName": "sum_vehicle", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "sum_vehicle", "alias": "SUM_vehicle", "type": "esriFieldTypeDouble" }, { "nullable": false, "editable": false, "defaultValue": null, "length": 38, "type": "esriFieldTypeGlobalID", "modelName": "globalid", "domain": null, "name": "globalid", "alias": "globalid" }, { "virtual": true, "nullable": true, "editable": false, "defaultValue": null, "domain": null, "name": "SHAPE__Length", "alias": "SHAPE__Length", "type": "esriFieldTypeDouble" }, { "virtual": true, "nullable": true, "editable": false, "defaultValue": null, "domain": null, "name": "SHAPE__Area", "alias": "SHAPE__Area", "type": "esriFieldTypeDouble" } ], "maxRecordCountFactor": 1, "dateFieldsTimeReference": { "respectsDaylightSaving": false, "timeZone": "UTC" }, "supportsFieldDescriptionProperty": true, "hasM": false, "allowGeometryUpdates": true, "useStandardizedQueries": true, "globalIdField": "globalid", "description": "", "syncCanReturnChanges": true, "supportsAsyncDelete": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin" ], "geometryProperties": { "shapeAreaFieldName": "SHAPE__Area", "shapeLengthFieldName": "SHAPE__Length", "units": "esriMeters" }, "supportsRollbackOnFailureParameter": true, "isDataReplicaTracked": false, "standardMaxRecordCountNoGeometry": 16000, "supportsTruncate": false, "indexes": [ { "name": "r1052_sde_rowid_uk", "isUnique": false, "description": "", "fields": "objectid1", "isAscending": true }, { "name": "uuid_1052", "isUnique": true, "description": "", "fields": "globalid", "isAscending": true }, { "name": "a758_ix1", "isUnique": true, "description": "", "fields": "shape", "isAscending": true } ], "supportedAppendSourceFilterFormats": "featureService", "editFieldsInfo": null, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "GUIDFormat": "O", "minScale": 0, "hasAttachments": false, "queryBinsCapabilities": { "supportedStatisticTypes": [ "count", "sum", "min", "max", "avg", "stddev", "var", "percentile_cont", "percentile_disc" ], "supportsFixedIntervalBin": true, "supportsAutoIntervalBin": true, "supportsFixedBoundariesBin": true, "supportsDateBin": true }, "advancedQueryCapabilities": { "supportsSqlExpression": true, "supportsQueryWithResultType": true, "supportsQueryRelatedPagination": true, "supportsQueryWithCacheHint": false, "supportsQueryWithDatumTransformation": true, "supportsCurrentUserQueries": true, "supportsQueryAttachmentsWithReturnUrl": true, "supportsDefaultSR": true, "supportsQueryDateBins": false, "supportsQueryWithLodSR": true, "supportsPaginationOnAggregatedQueries": true, "supportsPagination": true, "supportsMaxRecordCountFactor": true, "supportsStatistics": true, "supportsOrderBy": true, "supportsReturningGeometryProperties": true, "supportsFullTextSearch": false, "supportsQueryWithDistance": true, "supportsLod": true, "supportsCountDistinct": true, "supportsAdvancedQueryRelated": true, "supportsQueryAttachments": true, "supportsReturningQueryExtent": true, "supportsQueryAttachmentsCountOnly": true, "supportsOrderByOnlyOnLayerFields": false, "supportsOutFieldSqlExpression": true, "supportsTopFeaturesQuery": true, "supportsReturningGeometryEnvelope": true, "supportsDistinct": true, "supportsReturningGeometryCentroid": true, "supportsQueryAnalytic": true, "supportsPercentileStatistics": true, "supportsHavingClause": true }, "supportsValidateSQL": true, "enableZDefaults": true, "serviceItemId": "87bc4d635d634538ac74ea3c9bc45513", "allowUpdateWithoutMValues": true, "supportsCoordinatesQuantization": true, "types": [], "capabilities": "Create,Editing,Uploads,Query,Update,Delete,Sync,Extract", "maxScale": 0, "supportsAppend": true, "supportsExceedsLimitStatistics": true, "defaultVisibility": true, "advancedQueryAnalyticCapabilities": { "supportsAsync": true, "supportsLinearRegression": true, "supportsPercentileAnalytic": false }, "hasMetadata": true, "supportedAppendFormats": "shapefile,geojson,csv,featureCollection,excel,jsonl,featureService", "tileMaxRecordCount": 2000, "typeIdField": "", "supportsASyncCalculate": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "sqlParserVersion": "PG_11.2.0", "drawingInfo": { "renderer": { "minValue": 1, "field": "count", "authoringInfo": { "type": "classedColor", "classificationMethod": "esriClassifyNaturalBreaks" }, "legendOptions": {"order": "ascendingValues"}, "classBreakInfos": [ { "symbol": { "outline": { "color": [ 110, 110, 110, 255 ], "width": 1, "style": "esriSLSSolid", "type": "esriSLS" }, "color": [ 251, 233, 189, 255 ], "style": "esriSFSSolid", "type": "esriSFS" }, "classMaxValue": 203, "label": "1.000000 - 203.000000" }, { "symbol": { "outline": { "color": [ 110, 110, 110, 255 ], "width": 1, "style": "esriSLSSolid", "type": "esriSLS" }, "color": [ 229, 190, 138, 255 ], "style": "esriSFSSolid", "type": "esriSFS" }, "classMaxValue": 566, "label": "203.000001 - 566.000000" }, { "symbol": { "outline": { "color": [ 110, 110, 110, 255 ], "width": 1, "style": "esriSLSSolid", "type": "esriSLS" }, "color": [ 206, 143, 94, 255 ], "style": "esriSFSSolid", "type": "esriSFS" }, "classMaxValue": 984, "label": "566.000001 - 984.000000" }, { "symbol": { "outline": { "color": [ 110, 110, 110, 255 ], "width": 1, "style": "esriSLSSolid", "type": "esriSLS" }, "color": [ 183, 94, 56, 255 ], "style": "esriSFSSolid", "type": "esriSFS" }, "classMaxValue": 1864, "label": "984.000001 - 1864.000000" }, { "symbol": { "outline": { "color": [ 110, 110, 110, 255 ], "width": 1, "style": "esriSLSSolid", "type": "esriSLS" }, "color": [ 161, 47, 25, 255 ], "style": "esriSFSSolid", "type": "esriSFS" }, "classMaxValue": 3676, "label": "1864.000001 - 3676.000000" } ], "type": "classBreaks", "classificationMethod": "esriClassifyNaturalBreaks" }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "geometryField": { "sqlType": "sqlTypeOther", "nullable": true, "editable": true, "name": "shape", "typeName": "st_geometry", "length": 2147483647, "type": "esriFieldTypeGeometry" }, "copyrightText": "", "zDefault": 0, "geometryType": "esriGeometryPolygon", "supportsLayerOverrides": true } ] }