-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtests.py
42 lines (37 loc) · 1.25 KB
/
tests.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
from datasources import tests
from shapely.geometry import Polygon, MultiPolygon
from USGS3DEP import USGS3DEP
class USGS3DEPTestCases(tests.BaseTestCases):
def _setUp(self):
self.spatial_mode = 'extent'
self.datasource = USGS3DEP
self.spatial = {
"type": "Polygon",
"coordinates": [
[
[
-120.673828125,
32.509761735919426
],
[
-115.1806640625,
32.509761735919426
],
[
-115.1806640625,
36.35052700542763
],
[
-120.673828125,
36.35052700542763
],
[
-120.673828125,
32.509761735919426
]
]
]
}
self.temporal = ("2007-01-01", "2007-12-31")
self.properties = {'pc:encoding': {'eq': 'laszip'}}
self.limit = 10