-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
I have the following CoverageJSON generated by our prototype of the OGC API - EDR. The coordinates are in metres so I am attempting to plot using EPSG:3857:
{
"type":"Coverage",
"domain":{
"type":"Domain",
"domainType":"Grid",
"axes":{
"x":{
"values":[
28911047.507092837,
28921047.507092837,
28931047.507092837,
28941047.507092837,
28951047.507092837,
28961047.507092837,
28971047.507092837,
28981047.507092837,
28991047.507092837,
29001047.507092837,
29011047.507092837,
29021047.507092837,
29031047.507092837,
29041047.507092837,
29051047.507092837,
29061047.507092837,
29071047.507092837,
29081047.507092837,
29091047.507092837,
29101047.507092837,
29111047.507092837,
29121047.507092837,
29131047.507092837,
29141047.507092837,
29151047.507092837,
29161047.507092837,
29171047.507092837,
29181047.507092837,
29191047.507092837,
29201047.507092837,
29211047.507092837,
29221047.507092837,
29231047.507092837,
29241047.507092837,
29251047.507092837,
29261047.507092837,
29271047.507092837,
29281047.507092837,
29291047.507092837
]
},
"y":{
"values":[
2884082.4769513463,
2894082.4769513463,
2904082.4769513463,
2914082.4769513463,
2924082.4769513463,
2934082.4769513463,
2944082.4769513463,
2954082.4769513463,
2964082.4769513463,
2974082.4769513463,
2984082.4769513463,
2994082.4769513463,
3004082.4769513463,
3014082.4769513463,
3024082.4769513463,
3034082.4769513463,
3044082.4769513463,
3054082.4769513463,
3064082.4769513463,
3074082.4769513463
]
},
"t":{
"values":[
"2025-03-19T15:00:00.000000000"
]
}
},
"referencing":[
{
"coordinates":[
"x",
"y"
],
"system":{
"type":"ProjectedCRS",
"id":"http://www.opengis.net/def/crs/EPSG/0/3857"
}
}
]
},
"parameters":{
"swh_surface":{
"type":"Parameter",
"description":{
"en":"swh_surface"
},
"unit":{
"label":{
"en":"undefined"
}
},
"observedProperty":{
"id":"swh_surface",
"label":{
"en":"swh_surface"
}
}
}
},
"ranges":{
"swh_surface":{
"type":"NdArray",
"dataType":"float",
"axisNames":[
"y",
"x"
],
"shape":[
20,
39
],
"values":[
1.94,
1.93,
1.91,
1.91,
1.91,
1.88,
1.85,
1.85,
1.86,
1.84,
1.79,
1.77,
1.73,
1.73,
1.72,
1.71,
1.68,
1.66,
1.61,
1.61,
1.59,
1.54,
1.53,
1.47,
1.48,
1.42,
1.35,
1.36,
1.3,
1.28,
1.26,
1.22,
1.16,
1.16,
1.13,
1.11,
1.06,
1.06,
1.01,
1.94,
1.91,
1.9,
1.88,
1.87,
1.84,
1.84,
1.85,
1.77,
1.77,
1.75,
1.75,
1.72,
1.72,
1.7,
1.68,
1.64,
1.63,
1.61,
1.62,
1.58,
1.53,
1.52,
1.49,
1.45,
1.42,
1.35,
1.36,
1.33,
1.3,
1.25,
1.22,
1.16,
1.15,
1.12,
1.1,
1.06,
1.05,
1.04,
1.9,
1.89,
1.89,
1.88,
1.83,
1.84,
1.83,
1.76,
1.77,
1.75,
1.72,
1.7,
1.7,
1.67,
1.65,
1.64,
1.62,
1.61,
1.59,
1.57,
1.55,
1.54,
1.52,
1.5,
1.45,
1.42,
1.38,
1.36,
1.33,
1.28,
1.24,
1.25,
1.21,
1.16,
1.15,
1.12,
1.06,
1.06,
1.05,
1.89,
1.87,
1.86,
1.84,
1.83,
1.81,
1.75,
1.72,
1.7,
1.7,
1.66,
1.65,
1.63,
1.62,
1.61,
1.61,
1.61,
1.59,
1.59,
1.55,
1.54,
1.54,
1.49,
1.48,
1.47,
1.42,
1.41,
1.37,
1.33,
1.31,
1.24,
1.26,
1.2,
1.16,
1.16,
1.11,
1.06,
1.05,
1.05,
1.81,
1.82,
1.82,
1.78,
1.72,
1.73,
1.66,
1.62,
1.62,
1.6,
1.57,
1.57,
1.56,
1.56,
1.55,
1.56,
1.56,
1.54,
1.54,
1.54,
1.51,
1.49,
1.47,
1.45,
1.44,
1.39,
1.37,
1.35,
1.3,
1.3,
1.24,
1.25,
1.23,
1.14,
1.15,
1.14,
1.08,
1.04,
1.05,
1.81,
1.77,
1.74,
1.72,
1.64,
1.61,
1.55,
1.55,
1.51,
1.45,
1.5,
1.5,
1.5,
1.49,
1.5,
1.48,
1.5,
1.51,
1.52,
1.52,
1.52,
1.47,
1.47,
1.44,
1.44,
1.37,
1.38,
1.33,
1.3,
1.3,
1.25,
1.23,
1.23,
1.17,
1.13,
1.13,
1.09,
1.05,
1.05,
1.75,
1.73,
1.7,
1.64,
1.6,
1.49,
1.44,
1.4,
1.37,
1.35,
1.36,
1.36,
1.42,
1.42,
1.43,
1.43,
1.44,
1.5,
1.5,
1.51,
1.47,
1.41,
1.41,
1.4,
1.4,
1.36,
1.31,
1.3,
1.3,
1.27,
1.25,
1.23,
1.23,
1.2,
1.13,
1.13,
1.09,
1.09,
1.04,
1.65,
1.6,
1.56,
1.5,
1.42,
1.36,
1.25,
1.22,
1.18,
1.17,
1.16,
1.18,
1.22,
1.25,
1.27,
1.34,
1.35,
1.36,
1.41,
1.39,
1.39,
1.38,
1.35,
1.35,
1.28,
1.26,
1.25,
1.17,
1.2,
1.21,
1.24,
1.2,
1.22,
1.19,
1.13,
1.13,
1.1,
1.1,
1.08,
1.54,
1.5,
1.41,
1.39,
1.28,
1.15,
1.04,
1.0,
0.93,
0.94,
0.98,
1.0,
1.06,
1.07,
1.14,
1.15,
1.24,
1.27,
1.31,
1.36,
1.34,
1.33,
1.31,
1.25,
1.19,
9999.0,
1.15,
1.1,
1.17,
1.18,
1.21,
1.21,
1.22,
1.15,
1.16,
1.11,
1.1,
1.1,
1.1,
1.41,
1.37,
1.31,
1.23,
1.1,
0.99,
0.86,
0.84,
0.78,
0.78,
0.8,
0.79,
0.88,
0.9,
0.97,
1.06,
1.16,
1.19,
1.24,
1.29,
1.27,
1.27,
1.25,
1.14,
1.08,
1.09,
1.09,
1.08,
1.1,
1.16,
1.17,
1.18,
1.21,
1.17,
1.16,
1.11,
1.1,
1.1,
1.09,
1.24,
1.18,
1.11,
1.04,
0.92,
0.85,
0.76,
0.78,
0.76,
0.76,
0.72,
0.69,
0.73,
0.73,
0.79,
0.89,
1.09,
1.16,
1.18,
1.19,
1.17,
1.18,
1.14,
1.05,
0.99,
1.0,
1.0,
1.07,
9999.0,
1.06,
1.11,
1.12,
1.18,
1.17,
1.18,
1.12,
1.1,
1.07,
1.08,
1.06,
0.95,
0.92,
0.85,
0.71,
0.64,
0.56,
0.59,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
0.55,
0.57,
0.7,
1.33,
9999.0,
9999.0,
1.12,
1.1,
1.1,
1.08,
0.94,
0.84,
9999.0,
9999.0,
9999.0,
0.99,
1.0,
1.01,
1.09,
1.14,
1.12,
1.11,
1.12,
1.1,
1.09,
1.09,
0.86,
0.76,
0.72,
0.65,
0.58,
0.53,
9999.0,
0.46,
9999.0,
0.96,
9999.0,
9999.0,
9999.0,
0.36,
0.35,
9999.0,
9999.0,
9999.0,
1.01,
1.0,
1.03,
1.04,
0.99,
9999.0,
9999.0,
9999.0,
9999.0,
1.06,
0.96,
0.92,
0.93,
1.02,
1.1,
1.12,
1.11,
1.11,
1.1,
1.09,
1.09,
0.68,
0.64,
0.58,
0.54,
0.49,
0.46,
0.46,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
1.03,
1.07,
9999.0,
9999.0,
9999.0,
9999.0,
1.07,
0.96,
0.82,
0.82,
0.91,
0.99,
1.1,
1.11,
1.11,
1.11,
1.1,
1.1,
1.09,
0.47,
0.47,
0.45,
0.38,
0.37,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
1.32,
9999.0,
9999.0,
9999.0,
0.59,
0.57,
0.55,
0.6,
0.74,
0.75,
0.85,
0.94,
1.1,
1.1,
1.1,
1.12,
1.09,
1.1,
1.1,
9999.0,
0.33,
0.29,
0.28,
0.28,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
0.68,
0.57,
0.55,
0.54,
0.59,
0.63,
0.66,
0.77,
0.9,
1.02,
1.05,
1.1,
1.09,
1.08,
1.08,
1.05,
9999.0,
0.32,
0.29,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
1.01,
0.6,
0.52,
0.5,
0.54,
0.62,
0.54,
0.61,
0.8,
0.97,
0.99,
1.01,
1.05,
1.05,
1.06,
1.04,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
0.8,
0.81,
0.58,
0.55,
0.57,
0.42,
0.55,
0.71,
0.92,
0.94,
0.96,
1.01,
1.01,
1.03,
1.04,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
0.55,
0.49,
0.32,
0.34,
0.45,
0.63,
0.87,
0.89,
0.95,
0.96,
0.98,
0.99,
0.99,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
9999.0,
0.51,
0.48,
0.34,
0.35,
0.46,
0.62,
0.79,
0.88,
0.89,
0.98,
0.96,
0.98,
0.95
]
}
}
}
However, in the CovJSON playground, I am able to load the layer, but the actual layer doesn't display
See:
Metadata
Metadata
Assignees
Labels
No labels
