-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdb_polygon_pipeline.json
More file actions
94 lines (94 loc) · 3.75 KB
/
db_polygon_pipeline.json
File metadata and controls
94 lines (94 loc) · 3.75 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"mainRaster" :
{
"layer_name" : "rgb_2016",
"layer_url" : "WMTS:https://geodata.nationaalgeoregister.nl/luchtfoto/rgb/wmts/1.0.0/WMTSCapabilities.xml,layer=2016_ortho25,tilematrixset=EPSG:28992"
},
"tile_width" : 256,
"tile_height" : 256,
"area" :
{
"description" : "Heerlen",
"epsg" : "epsg:4326",
"top_left" :
{
"lat" : 50.9342223,
"lon" : 5.9163049
},
"bottom_right" :
{
"lat" : 50.8184032,
"lon" : 6.0263794
}
},
"steps" : [
{
"name" : "Step 1: Produces Tiles for Map",
"type" : "TileProducerStep",
"persistence_url" : "PG:dbname='addresses' host='localhost' port='5432' user='postgres' password='tim2839'"
},
{
"name" : "Step 2a: Add BAG House Polygons",
"type" : "AddMetadataStep",
"layer_name" : "polygons",
"layer_url" : "WFS:https://geodata.nationaalgeoregister.nl/bag/wfs?SERVICE=wfs",
"layer_index" : 1
},
{
"name" : "Step 2b: Add BAG House Addresses",
"type" : "AddMetadataStep",
"layer_name" : "addresses_bag",
"layer_url" : "PG:dbname='addresses' host='localhost' port='5432' user='postgres' password='tim2839'",
"layer_index" : -1,
"persistence_url" : "PG:dbname='addresses' host='localhost' port='5432' user='postgres' password='tim2839'",
"persistence_layer_name" : "tile_addresses"
},
{
"name" : "Step 2c: Add Solar Panel Addresses",
"type" : "AddMetadataStep",
"layer_name" : "pv_2017_nl",
"layer_url" : "PG:dbname='addresses' host='localhost' port='5432' user='postgres' password='tim2839'",
"layer_index" : -1,
"persistence_url" : "PG:dbname='addresses' host='localhost' port='5432' user='postgres' password='tim2839'",
"persistence_layer_name" : "tile_pv"
},
{
"name" : "Step 3: Filter Tiles to those with polygons",
"type" : "TileFilterStep",
"layer_name" : "polygons"
},
{
"name" : "Step 4a: Download RGB tiles for 2016",
"type" : "TileDownloadStep",
"layer_name" : "rgb_2016",
"layer_url" : "WMTS:https://geodata.nationaalgeoregister.nl/luchtfoto/rgb/wmts/1.0.0/WMTSCapabilities.xml,layer=2016_ortho25,tilematrixset=EPSG:28992",
"year" : 2016
},
{
"name" : "Step 4b: Download IR tiles for 2016",
"type" : "TileDownloadStep",
"layer_name" : "ir_2016",
"layer_url" : "WMTS:https://geodata.nationaalgeoregister.nl/luchtfoto/infrarood/wmts/1.0.0/WMTSCapabilities.xml,layer=2016_ortho25IR,tilematrixset=EPSG:28992",
"year" : 2016
},
{
"name" : "Step 4c: Download RGB tiles for 2017",
"type" : "TileDownloadStep",
"layer_name" : "rgb_2017",
"layer_url" : "WMTS:https://geodata.nationaalgeoregister.nl/luchtfoto/rgb/wmts/1.0.0/WMTSCapabilities.xml,layer=2017_ortho25,tilematrixset=EPSG:28992",
"year" : 2017
},
{
"name" : "Step 5: Mask tiles with polygon layer",
"type" : "TileGpuTransferStep",
"masking_layer_name" : "polygons"
},
{
"name" : "Step 6: Write Files To Disk",
"type" : "TileWriterStep",
"driver_name" : "GTiff",
"output_directory" : "/home/tjadejong/Documents/CBS/ZonnePanelen/Heerlen/",
"persistence_url" : "PG:dbname='addresses' host='localhost' port='5432' user='postgres' password='tim2839'"
}
]
}