forked from openmaptiles/openmaptiles-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtm2source.yml
69 lines (68 loc) · 1.8 KB
/
tm2source.yml
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
Layer:
- Datasource:
dbname: pgdb
extent:
- -20037508.34
- -20037508.34
- 20037508.34
- 20037508.34
geometry_field: geometry
host: pghost
key_field: ''
key_field_as_attribute: ''
max_size: 512
password: pgpswd
port: 5432
srid: 900913
table: (SELECT geometry, housenumber, NULLIF(tags->'name:en', '') AS "name:en",
NULLIF(tags->'name:de', '') AS "name:de", NULLIF(tags->'name:cs', '') AS "name:cs",
NULLIF(tags->'name_int', '') AS "name_int", NULLIF(tags->'name:latin', '') AS
"name:latin", NULLIF(tags->'name:nonlatin', '') AS "name:nonlatin" FROM layer_housenumber(!bbox!,
z(!scale_denominator!))) AS t
type: postgis
user: pguser
id: housenumber
properties:
buffer-size: 8
srs: +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0
+units=m +nadgrids=@null +wktext +no_defs +over
- Datasource:
dbname: pgdb
extent:
- -20037508.34
- -20037508.34
- 20037508.34
- 20037508.34
geometry_field: geometry
host: pghost
key_field: osm_id
key_field_as_attribute: false
max_size: 512
password: pgpswd
port: 5432
srid: 900913
table: (SELECT osm_id, geometry, enumfield FROM layer_enumfields(!bbox!, z(!scale_denominator!)))
AS t
type: postgis
user: pguser
id: enumfield
properties:
buffer-size: 0
srs: +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0
+units=m +nadgrids=@null +wktext +no_defs +over
attribution: <a href="http://www.openstreetmap.org/about/" target="_blank">©
OpenStreetMap contributors</a>
bounds:
- -180.0
- -85.0511
- 180.0
- 85.0511
center:
- -12.2168
- 28.6135
- 4
description: Simple tileset for testing.
maxzoom: 10
minzoom: 0
name: TestMapTiles v1.0
pixel_scale: 256