-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildings.map
45 lines (45 loc) · 1.12 KB
/
buildings.map
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
#if _display_buildings == 1
LAYER
STATUS ON
PROJECTION
"init=epsg:OSM_SRID"
END
GROUP "default"
NAME layername(buildings,_layer_suffix)
TYPE POLYGON
CONNECTIONTYPE postgis
CONNECTION "OSM_DB_CONNECTION"
DATA "geometry from (select geometry,osm_id, OSM_NAME_COLUMN as name from OSM_PREFIX_buildings) as foo using unique osm_id using srid=OSM_SRID"
LABELITEM "name"
PROCESSING "LABEL_NO_CLIP=ON"
PROCESSING "CLOSE_CONNECTION=DEFER"
MAXSCALEDENOM _maxscale
MINSCALEDENOM _minscale
CLASS
STYLE
COLOR _building_clr
OFFSET _building_offset
END
STYLE
COLOR _building_clr2
OUTLINECOLOR _building_ol_clr
WIDTH _building_ol_width
END
#if _label_buildings == 1
LABEL
TYPE TRUETYPE
FONT _building_font
PARTIALS FALSE
MINFEATURESIZE AUTO
SIZE _building_lbl_size
COLOR _building_lbl_clr
OUTLINECOLOR _building_lbl_ol_clr
OUTLINEWIDTH _building_lbl_ol_width
WRAP ' '
MAXLENGTH 6
ALIGN CENTER
END
#endif
END
END
#endif