forked from rurseekatze/node-tileserver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
39 lines (39 loc) · 1.59 KB
/
config.json
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
{
"tileSize" : 256,
"prefix" : "openrailwaymap",
"database" : "openrailwaymap",
"username" : "openrailwaymap",
"host": "localhost",
"port": 5432,
"maxPoolSize": 60,
"tiledir" : "/srv/tiles",
"expiredtilesdir" : "/var/www/html/OpenRailwayMap/import",
"styledir" : "../styles",
"zoomOffset" : 0,
"minZoom" : 0,
"maxZoom" : 20,
"styles" : ["standard", "maxspeed", "signals"],
"intscalefactor" : 10000,
"geomcolumn" : "way",
"pxtolerance" : 1.8,
"maxPrerender" : 8,
"maxCached" : 16,
"minExpiring" : 8,
"maxsockets" : 100,
"tileserverPort" : 9000,
"tileBoundTolerance" : 60,
"filterconditions" :
{
"0" : "AND (tags->'usage'='main')",
"1" : "AND (tags->'usage'='main')",
"2" : "AND (tags->'usage'='main')",
"3" : "AND (tags->'usage'='main')",
"4" : "AND (tags->'usage'='main')",
"5" : "AND (tags->'usage'='main')",
"6" : "AND (tags->'usage'='main')",
"7" : "AND (tags->'usage'='main')",
"8" : "AND ((tags->'usage'='main') OR (tags->'usage'='branch'))",
"9" : "AND ((tags->'usage'='main') OR (tags->'usage'='branch') OR (tags->'railway'='disused') OR (tags->'railway'='abandoned') OR (tags->'railway'='proposed') OR (tags->'railway'='construction') OR (tags->'railway'='station') OR (tags->'railway'='narrow_gauge'))",
"10" : "AND ((tags->'railway'='rail') OR (tags->'railway'='disused') OR (tags->'railway'='abandoned') OR (tags->'railway'='proposed') OR (tags->'railway'='construction') OR (tags->'railway'='light_rail') OR (tags->'railway'='tram') OR (tags->'railway'='subway') OR (tags->'railway'='narrow_gauge') OR (tags->'railway'='station') OR (tags->'railway'='halt'))"
}
}