{ "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 3, "name": "CDEMRoadClosure", "type": "Feature Layer", "parentLayer": null, "defaultVisibility": true, "minScale": 1000000, "maxScale": 0, "canScaleSymbols": false, "geometryType": "esriGeometryPolyline", "description": "", "copyrightText": "", "editFieldsInfo": null, "ownershipBasedAccessControlForFeatures": null, "syncCanReturnChanges": false, "relationships": [], "isDataVersioned": false, "isDataArchived": false, "infoInEstimates": [ "extent", "count" ], "isDataBranchVersioned": false, "isDataReplicaTracked": false, "isCoGoEnabled": false, "supportsRollbackOnFailureParameter": true, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "supportsValidateSQL": true, "supportsCoordinatesQuantization": true, "supportsQuantizationEditMode": true, "supportsCalculate": true, "supportsASyncCalculate": true, "supportsDatumTransformation": true, "advancedQueryCapabilities": { "supportsPagination": true, "supportsTrueCurve": true, "supportsQueryWithDistance": true, "supportsReturningQueryExtent": true, "supportsStatistics": true, "supportsPercentileStatistics": true, "supportsHavingClause": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsCountDistinct": true, "supportsQueryWithResultType": true, "supportsReturningGeometryCentroid": false, "supportsSqlExpression": true, "supportsQueryWithDatumTransformation": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsQueryAnalytic": true }, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": false, "supportsPercentileAnalytic": true }, "advancedEditingCapabilities": { "supportedSqlFormatsInCalculate": [ "standard" ], "supportsAsyncApplyEdits": true, "supportsApplyEditsbyUploadID": true, "supportedApplyEditsUploadIDFormats": "JSON" }, "hasGeometryProperties": true, "geometryProperties": { "shapeLengthFieldName": "Shape__Length", "units": "esriMeters" }, "hasMetadata": 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 } }, "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 }, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "IF( $feature.Impact == 'Road fully closed')\n{\nReturn 'Closed'\n}\nELSE IF ($feature.Impact == 'Restricted to Emergency Vehicles only')\n{\nReturn 'Closed'\n}\nELSE IF ($feature.Impact == 'Restricted to Residents')\n{\nReturn 'Restricted'\n}\nELSE IF ($feature.Impact == 'Reduced to one lane')\n{\nReturn 'Restricted'\n}\nELSE IF ($feature.Impact == 'Controlled by Stop/Go')\n{\nReturn 'Restricted'\n}\nELSE\nReturn 'No Value'", "valueExpressionTitle": "Custom", "defaultSymbol": { "type": "esriSLS", "style": "esriSLSDashDot", "color": [ 178, 178, 178, 255 ], "width": 2 }, "defaultLabel": "", "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 0, 0, 255 ], "width": 4 }, "value": "Closed", "label": "Closed" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 170, 0, 255 ], "width": 4 }, "value": "Restricted", "label": "Restricted" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 110, 196, 73, 255 ], "toColor": [ 110, 196, 73, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 201, 46, 147, 255 ], "toColor": [ 201, 46, 147, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 62, 155, 199, 255 ], "toColor": [ 62, 155, 199, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 199, 104, 46, 255 ], "toColor": [ 199, 104, 46, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 48, 48, 184, 255 ], "toColor": [ 48, 48, 184, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 50, 201, 169, 255 ], "toColor": [ 50, 201, 169, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 191, 166, 40, 255 ], "toColor": [ 191, 166, 40, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 34, 84, 163, 255 ], "toColor": [ 34, 84, 163, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 156, 42, 72, 255 ], "toColor": [ 156, 42, 72, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 153, 55, 189, 255 ], "toColor": [ 153, 55, 189, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 48, 156, 91, 255 ], "toColor": [ 48, 156, 91, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 168, 125, 67, 255 ], "toColor": [ 168, 125, 67, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 189, 42, 42, 255 ], "toColor": [ 189, 42, 42, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "hasM": false, "hasZ": false, "allowGeometryUpdates": true, "allowTrueCurvesUpdates": true, "onlyAllowTrueCurveUpdatesByTrueCurveClients": true, "hasAttachments": false, "supportsApplyEditsWithGlobalIds": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "objectIdField": "OBJECTID", "globalIdField": "", "displayField": "CDEMRoadClosureID", "typeIdField": "", "subtypeField": "", "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null, "editable": false, "nullable": false, "defaultValue": null, "modelName": "OBJECTID" }, { "name": "CDEMRoadClosureID", "type": "esriFieldTypeInteger", "alias": "CDEMRoadClosureID", "domain": null, "editable": false, "nullable": true, "defaultValue": null, "modelName": "CDEMRoadClosureID" }, { "name": "Impact", "type": "esriFieldTypeString", "alias": "Impact", "domain": null, "editable": false, "nullable": false, "length": 50, "defaultValue": null, "modelName": "Impact" }, { "name": "Reason", "type": "esriFieldTypeString", "alias": "Reason", "domain": null, "editable": false, "nullable": false, "length": 50, "defaultValue": null, "modelName": "Reason" }, { "name": "LocationDescription", "type": "esriFieldTypeString", "alias": "LocationDescription", "domain": null, "editable": false, "nullable": true, "length": 50, "defaultValue": null, "modelName": "LocationDescription" }, { "name": "InformationDescription", "type": "esriFieldTypeString", "alias": "InformationDescription", "domain": null, "editable": false, "nullable": true, "length": 200, "defaultValue": null, "modelName": "InformationDescription" }, { "name": "RoadClosureStart", "type": "esriFieldTypeDate", "alias": "RoadClosureStart", "domain": null, "editable": false, "nullable": true, "length": 8, "defaultValue": null, "modelName": "RoadClosureStart" }, { "name": "RoadClosureEnd", "type": "esriFieldTypeDate", "alias": "RoadClosureEnd", "domain": null, "editable": false, "nullable": true, "length": 8, "defaultValue": null, "modelName": "RoadClosureEnd" }, { "name": "EstimatedReopening", "type": "esriFieldTypeDate", "alias": "EstimatedReopening", "domain": null, "editable": false, "nullable": true, "length": 8, "defaultValue": null, "modelName": "EstimatedReopening" }, { "name": "Shape__Length", "type": "esriFieldTypeDouble", "alias": "SHAPE.STLength()", "domain": null, "editable": false, "nullable": false, "defaultValue": null, "modelName": "SHAPE.STLength()" } ], "geometryField": { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "SHAPE", "domain": null, "editable": false, "nullable": false, "defaultValue": null, "modelName": "SHAPE" }, "datesInUnknownTimezone": false, "dateFieldsTimeReference": { "timeZone": "New Zealand Standard Time", "respectsDaylightSaving": true }, "preferredTimeReference": null, "types": [], "templates": [ { "name": "CDEM Road Closure (OpenData)", "description": "", "prototype": { "attributes": {} }, "drawingTool": "esriFeatureEditToolLine" } ], "maxRecordCount": 2000, "supportedQueryFormats": "JSON, geoJSON, PBF", "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson", "capabilities": "Query,Extract", "useStandardizedQueries": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelIndexIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin", "esriSpatialRelRelation" ], "standardMaxRecordCount": 8000, "tileMaxRecordCount": 4000, "standardMaxRecordCountNoGeometry": 32000, "maxRecordCountFactor": 1, "serviceItemId": "f78b6ab2ec2643569934b970ce79c4ba" }