{ "isCoGoEnabled": false, "extent": { "ymin": 6140154.1461, "xmin": 683367.2907999996, "ymax": 6159004.2631, "xmax": 704934.2423, "spatialReference": { "falseM": -100000, "xyTolerance": 0.001, "mUnits": 10000, "zUnits": 10000, "latestWkid": 25832, "zTolerance": 0.001, "wkid": 25832, "xyUnits": 10000, "mTolerance": 0.001, "falseX": -5120900, "falseY": -9998100, "falseZ": -100000 } }, "isDataBranchVersioned": false, "supportsApplyEditsWithGlobalIds": false, "maxRecordCount": 2000, "infoInEstimates": [ "extent", "count" ], "datesInUnknownTimezone": false, "type": "Feature Layer", "onlyAllowTrueCurveUpdatesByTrueCurveClients": true, "supportsAttachmentsByUploadId": true, "relationships": [], "supportsAttachmentsResizing": true, "cimVersion": "3.4.0", "isDataArchived": false, "id": 11, "supportsSubtypeEditing": true, "supportsStatistics": true, "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson", "standardMaxRecordCount": 2000, "isDataVersioned": false, "templates": [ { "name": "road_speed_v06_Project", "description": "", "drawingTool": "esriFeatureEditToolLine", "prototype": { "attributes": { "v85speed": null, "averagespe": null, "segmentid": null, "maxspeed": null, "roadclass": null, "optimalspe": null, "totalprobe": null } } } ], "hasGeometryProperties": true, "supportsAdvancedQueries": true, "parentLayer": null, "currentVersion": 11.4, "canScaleSymbols": false, "hasZ": false, "advancedEditingCapabilities": { "supportsAsyncApplyEdits": true, "supportsApplyEditsbyUploadID": true, "supportsReturnEditResults": true, "supportedSqlFormatsInCalculate": [ "standard" ], "supportedApplyEditsUploadIDFormats": "JSON,PBF" }, "objectIdField": "fid", "supportsQuantizationEditMode": true, "name": "Koege_85fraktil", "allowTrueCurvesUpdates": false, "displayField": "segmentid", "supportsCalculate": true, "fields": [ { "modelName": "segmentid", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "segmentid", "alias": "segmentID", "type": "esriFieldTypeInteger" }, { "modelName": "v85speed", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "v85speed", "alias": "v85Speed", "type": "esriFieldTypeDouble" }, { "modelName": "averagespe", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "averagespe", "alias": "averageSpe", "type": "esriFieldTypeDouble" }, { "modelName": "maxspeed", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "maxspeed", "alias": "maxSpeed", "type": "esriFieldTypeDouble" }, { "modelName": "optimalspe", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "optimalspe", "alias": "optimalSpe", "type": "esriFieldTypeDouble" }, { "modelName": "totalprobe", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "totalprobe", "alias": "totalProbe", "type": "esriFieldTypeInteger" }, { "modelName": "roadclass", "nullable": true, "editable": true, "defaultValue": null, "domain": null, "name": "roadclass", "alias": "roadClass", "type": "esriFieldTypeSmallInteger" }, { "nullable": false, "defaultValue": null, "editable": false, "length": 4, "type": "esriFieldTypeOID", "modelName": "fid", "domain": null, "name": "fid", "alias": "fid" }, { "virtual": true, "nullable": true, "editable": false, "defaultValue": null, "domain": null, "name": "SHAPE__Length", "alias": "SHAPE__Length", "type": "esriFieldTypeDouble" } ], "maxRecordCountFactor": 1, "dateFieldsTimeReference": { "timeZoneIANA": "Etc/UTC", "respectsDaylightSaving": false, "timeZone": "UTC" }, "supportsFieldDescriptionProperty": true, "hasM": false, "allowGeometryUpdates": true, "useStandardizedQueries": true, "globalIdField": null, "description": "", "syncCanReturnChanges": true, "supportsAsyncDelete": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin" ], "geometryProperties": { "shapeLengthFieldName": "SHAPE__Length", "units": "esriMeters" }, "supportsRollbackOnFailureParameter": true, "isDataReplicaTracked": false, "standardMaxRecordCountNoGeometry": 16000, "supportsTruncate": true, "indexes": [ { "name": "r4596_sde_rowid_uk", "isUnique": true, "description": "", "fields": "fid", "isAscending": true }, { "name": "a4150_ix1", "isUnique": false, "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": true, "supportsQueryWithDistance": true, "supportsLod": true, "supportsSpatialAggregationStatistics": false, "supportsCountDistinct": true, "supportsAdvancedQueryRelated": true, "supportsQueryAttachments": true, "supportsReturningQueryExtent": true, "supportsQueryAttachmentsCountOnly": true, "supportsOrderByOnlyOnLayerFields": false, "supportsOutFieldSqlExpression": true, "supportsTopFeaturesQuery": true, "supportsReturningGeometryEnvelope": true, "supportsDistinct": true, "supportsReturningGeometryCentroid": false, "supportsQueryAnalytic": true, "supportsPercentileStatistics": true, "supportsHavingClause": true }, "subtypeField": "", "supportsValidateSQL": true, "enableZDefaults": true, "serviceItemId": "33952b57d19f4d0b88512211f9f50336", "allowUpdateWithoutMValues": true, "supportsCoordinatesQuantization": true, "types": [], "capabilities": "Query", "maxScale": 0, "supportsAppend": true, "supportsExceedsLimitStatistics": true, "defaultVisibility": true, "advancedQueryAnalyticCapabilities": { "supportsAsync": true, "supportsLinearRegression": true, "supportsPercentileAnalytic": false }, "hasMetadata": true, "supportedAppendFormats": "csv,excel,featureCollection,featureService,geojson,jsonl,pbf,shapefile", "tileMaxRecordCount": 2000, "typeIdField": "", "supportsASyncCalculate": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "sqlParserVersion": "PG_11.4.0", "drawingInfo": { "renderer": { "uniqueValueGroups": [ { "heading": "", "classes": [ { "symbol": { "color": [ 56, 168, 0, 255 ], "width": 1.5, "style": "esriSLSSolid", "type": "esriSLS" }, "values": [ [ "green" ] ], "description": "85% fraktil er under [hastighedsgrænsen + 10 %]", "label": "85% fraktil er under [hastighedsgrænsen + 10 %]" }, { "symbol": { "color": [ 230, 230, 0, 255 ], "width": 1.5, "style": "esriSLSSolid", "type": "esriSLS" }, "values": [ [ "yellow" ] ], "description": "85% fraktil er mellem [hastighedsgrænse + 10 % og + 20%]", "label": "85% fraktil er mellem [hastighedsgrænse + 10 % og + 20%]" }, { "symbol": { "color": [ 255, 0, 0, 255 ], "width": 1.5, "style": "esriSLSSolid", "type": "esriSLS" }, "values": [ [ "red" ] ], "description": "85% fraktil er over [hastighedsgrænse + 20%]", "label": "85% fraktil er over [hastighedsgrænse + 20%]" } ] } ], "valueExpression": "// Define variables for speed limits and thresholds\nvar v85 = $feature.v85Speed // Hastighedsgrænse attributen\nvar maxSpeed = $feature.maxSpeed // Maksimal hastighed attributen\n\n// Calculate thresholds\nvar lowerThreshold = maxSpeed * 1.1 // Hastighedsgrænse + 10%\nvar upperThreshold = maxSpeed * 1.2 // Hastighedsgrænse + 20%\n\n// Check conditions and assign colors based on thresholds\nif (v85 <= lowerThreshold) {\n return \"green\" // 85% fraktil er under hastighedsgrænsen + 10%\n} \nelse if (v85 > lowerThreshold && v85 <= upperThreshold) {\n return \"yellow\" // 85% fraktil er mellem hastighedsgrænse + 10% og + 20%\n} \nelse if (v85 > upperThreshold) {\n return \"red\" // 85% fraktil er over hastighedsgrænse + 20%\n} ", "authoringInfo": { "colorRamp": { "colorRamps": [ { "toColor": [ 203, 202, 252, 255 ], "fromColor": [ 203, 202, 252, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 179, 252, 179, 255 ], "fromColor": [ 179, 252, 179, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 252, 211, 179, 255 ], "fromColor": [ 252, 211, 179, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 194, 252, 247, 255 ], "fromColor": [ 194, 252, 247, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 252, 184, 206, 255 ], "fromColor": [ 252, 184, 206, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 244, 252, 207, 255 ], "fromColor": [ 244, 252, 207, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 251, 187, 252, 255 ], "fromColor": [ 251, 187, 252, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 179, 227, 252, 255 ], "fromColor": [ 179, 227, 252, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 184, 252, 210, 255 ], "fromColor": [ 184, 252, 210, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 252, 207, 247, 255 ], "fromColor": [ 252, 207, 247, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 252, 215, 215, 255 ], "fromColor": [ 252, 215, 215, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 199, 179, 252, 255 ], "fromColor": [ 199, 179, 252, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 222, 252, 179, 255 ], "fromColor": [ 222, 252, 179, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" } ], "type": "multipart" } }, "valueExpressionTitle": "Farvekode", "uniqueValueInfos": [ { "symbol": { "color": [ 56, 168, 0, 255 ], "width": 1.5, "style": "esriSLSSolid", "type": "esriSLS" }, "label": "85% fraktil er under [hastighedsgrænsen + 10 %]", "value": "green" }, { "symbol": { "color": [ 230, 230, 0, 255 ], "width": 1.5, "style": "esriSLSSolid", "type": "esriSLS" }, "label": "85% fraktil er mellem [hastighedsgrænse + 10 % og + 20%]", "value": "yellow" }, { "symbol": { "color": [ 255, 0, 0, 255 ], "width": 1.5, "style": "esriSLSSolid", "type": "esriSLS" }, "label": "85% fraktil er over [hastighedsgrænse + 20%]", "value": "red" } ], "type": "uniqueValue", "fieldDelimiter": "," }, "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": "esriGeometryPolyline", "supportsLayerOverrides": true }