Skip to content

Commit 1281be7

Browse files
committed
image for domain part of tutorial
1 parent d3263a2 commit 1281be7

6 files changed

+242
-2
lines changed

first-coverage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
Learning by doing. That's how we will get to know the basic concepts of the CoverageJSON format.
66
The image above is a visualization of what we will have achieved by the end of this short tutorial.
7-
It is a coverage which represents temperature in a very coarse resolution over Germany.
7+
It depicts a coverage which represents temperature in a very coarse resolution over Germany.
88

99
Let's get started!

first-domain.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
# Step 1: Spatial Domain
44

5+
![Coordinates of cell centers](images/playground_temperature_coverage_with_points_coordinates.png)
6+
7+
8+
9+
510
```js
611
{
712
"type" : "Domain",

images/grid_with_points.covjson

Lines changed: 226 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,226 @@
1+
{
2+
"type": "CoverageCollection",
3+
"parameters" : {
4+
"TEMP": {
5+
"type" : "Parameter",
6+
"unit" : {
7+
"symbol" : "°C"
8+
},
9+
"observedProperty" : {
10+
"label" : {
11+
"en": "Temperature"
12+
}
13+
}
14+
}
15+
},
16+
"referencing": [{
17+
"components": ["x","y"],
18+
"system": {
19+
"type": "GeodeticCRS",
20+
"id": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
21+
}
22+
}],
23+
"coverages": [
24+
{
25+
"type" : "Coverage",
26+
"domain" : {
27+
"type" : "Domain",
28+
"profile" : "Point",
29+
"axes": { "x" : { "values": [7] }, "y" : { "values": [54] } }
30+
},
31+
"ranges" : {
32+
"TEMP" : { "type" : "Range", "dataType": "float", "values" : [ 0 ] }
33+
}
34+
},
35+
{
36+
"type" : "Coverage",
37+
"domain" : {
38+
"type" : "Domain",
39+
"profile" : "Point",
40+
"axes": { "x" : { "values": [9.333] }, "y" : { "values": [54] } }
41+
},
42+
"ranges" : {
43+
"TEMP" : { "type" : "Range", "dataType": "float", "values" : [ 0 ] }
44+
}
45+
},
46+
{
47+
"type" : "Coverage",
48+
"domain" : {
49+
"type" : "Domain",
50+
"profile" : "Point",
51+
"axes": { "x" : { "values": [11.667] }, "y" : { "values": [54] } }
52+
},
53+
"ranges" : {
54+
"TEMP" : { "type" : "Range", "dataType": "float", "values" : [ 0 ] }
55+
}
56+
},
57+
{
58+
"type" : "Coverage",
59+
"domain" : {
60+
"type" : "Domain",
61+
"profile" : "Point",
62+
"axes": { "x" : { "values": [14] }, "y" : { "values": [54] } }
63+
},
64+
"ranges" : {
65+
"TEMP" : { "type" : "Range", "dataType": "float", "values" : [ 0 ] }
66+
}
67+
},
68+
{
69+
"type" : "Coverage",
70+
"domain" : {
71+
"type" : "Domain",
72+
"profile" : "Point",
73+
"axes": { "x" : { "values": [7] }, "y" : { "values": [52] } }
74+
},
75+
"ranges" : {
76+
"TEMP" : { "type" : "Range", "dataType": "float", "values" : [ 0 ] }
77+
}
78+
},
79+
{
80+
"type" : "Coverage",
81+
"domain" : {
82+
"type" : "Domain",
83+
"profile" : "Point",
84+
"axes": { "x" : { "values": [9.333] }, "y" : { "values": [52] } }
85+
},
86+
"ranges" : {
87+
"TEMP" : { "type" : "Range", "dataType": "float", "values" : [ 0 ] }
88+
}
89+
},
90+
{
91+
"type" : "Coverage",
92+
"domain" : {
93+
"type" : "Domain",
94+
"profile" : "Point",
95+
"axes": { "x" : { "values": [11.667] }, "y" : { "values": [52] } }
96+
},
97+
"ranges" : {
98+
"TEMP" : { "type" : "Range", "dataType": "float", "values" : [ 0 ] }
99+
}
100+
},
101+
{
102+
"type" : "Coverage",
103+
"domain" : {
104+
"type" : "Domain",
105+
"profile" : "Point",
106+
"axes": { "x" : { "values": [14] }, "y" : { "values": [52] } }
107+
},
108+
"ranges" : {
109+
"TEMP" : { "type" : "Range", "dataType": "float", "values" : [ 0 ] }
110+
}
111+
},
112+
{
113+
"type" : "Coverage",
114+
"domain" : {
115+
"type" : "Domain",
116+
"profile" : "Point",
117+
"axes": { "x" : { "values": [7] }, "y" : { "values": [50] } }
118+
},
119+
"ranges" : {
120+
"TEMP" : { "type" : "Range", "dataType": "float", "values" : [ 0 ] }
121+
}
122+
},
123+
{
124+
"type" : "Coverage",
125+
"domain" : {
126+
"type" : "Domain",
127+
"profile" : "Point",
128+
"axes": { "x" : { "values": [9.333] }, "y" : { "values": [50] } }
129+
},
130+
"ranges" : {
131+
"TEMP" : { "type" : "Range", "dataType": "float", "values" : [ 0 ] }
132+
}
133+
},
134+
{
135+
"type" : "Coverage",
136+
"domain" : {
137+
"type" : "Domain",
138+
"profile" : "Point",
139+
"axes": { "x" : { "values": [11.667] }, "y" : { "values": [50] } }
140+
},
141+
"ranges" : {
142+
"TEMP" : { "type" : "Range", "dataType": "float", "values" : [ 0 ] }
143+
}
144+
},
145+
{
146+
"type" : "Coverage",
147+
"domain" : {
148+
"type" : "Domain",
149+
"profile" : "Point",
150+
"axes": { "x" : { "values": [14] }, "y" : { "values": [50] } }
151+
},
152+
"ranges" : {
153+
"TEMP" : { "type" : "Range", "dataType": "float", "values" : [ 0 ] }
154+
}
155+
},
156+
{
157+
"type" : "Coverage",
158+
"domain" : {
159+
"type" : "Domain",
160+
"profile" : "Point",
161+
"axes": { "x" : { "values": [7] }, "y" : { "values": [48] } }
162+
},
163+
"ranges" : {
164+
"TEMP" : { "type" : "Range", "dataType": "float", "values" : [ 0 ] }
165+
}
166+
},
167+
{
168+
"type" : "Coverage",
169+
"domain" : {
170+
"type" : "Domain",
171+
"profile" : "Point",
172+
"axes": { "x" : { "values": [9.333] }, "y" : { "values": [48] } }
173+
},
174+
"ranges" : {
175+
"TEMP" : { "type" : "Range", "dataType": "float", "values" : [ 0 ] }
176+
}
177+
},
178+
{
179+
"type" : "Coverage",
180+
"domain" : {
181+
"type" : "Domain",
182+
"profile" : "Point",
183+
"axes": { "x" : { "values": [11.667] }, "y" : { "values": [48] } }
184+
},
185+
"ranges" : {
186+
"TEMP" : { "type" : "Range", "dataType": "float", "values" : [ 0 ] }
187+
}
188+
},
189+
{
190+
"type" : "Coverage",
191+
"domain" : {
192+
"type" : "Domain",
193+
"profile" : "Point",
194+
"axes": { "x" : { "values": [14] }, "y" : { "values": [48] } }
195+
},
196+
"ranges" : {
197+
"TEMP" : { "type" : "Range", "dataType": "float", "values" : [ 0 ] }
198+
}
199+
},
200+
201+
{
202+
"type" : "Coverage",
203+
"profile" : "GridCoverage",
204+
"domain" : {
205+
"type" : "Domain",
206+
"profile" : "Grid",
207+
"axes": {
208+
"x" : { "start": 7, "stop": 14, "num": 4 },
209+
"y" : { "start": 54, "stop": 48, "num": 4 }
210+
},
211+
"rangeAxisOrder": ["y","x"]
212+
},
213+
"ranges" : {
214+
"TEMP" : {
215+
"type" : "Range",
216+
"dataType": "float",
217+
"values" : [
218+
17.3, 18.2, 16.5, 18.7,
219+
18.1, 19.4, 17.2, 18.6,
220+
19.2, 20.4, 21.1, 20.7,
221+
21.1, 21.3, 20.5, 19.2
222+
]
223+
}
224+
}
225+
}]
226+
}
Loading
Loading

images/sources.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,13 @@ london_etm_2002256_742.jpg
33
- http://landsat.visibleearth.nasa.gov/view.php?id=78669
44

55
london_etm_2002256_742_cropped_pixel.jpg
6-
- cropped/pixelated from london_etm_2002256_742.jpg
6+
- cropped/pixelated from london_etm_2002256_742.jpg
7+
8+
playground_temperature_coverage.png
9+
- created from /examples/coverages/grid.covjson in CovJSON Playground
10+
11+
playground_temperature_coverage_with_points.png
12+
- created from grid_with_points.covjson in CovJSON Playground
13+
14+
playground_temperature_coverage_with_points_coordinates.png
15+
- manually annotated version of playground_temperature_coverage_with_points.png

0 commit comments

Comments
 (0)