-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.tcl
40 lines (25 loc) · 870 Bytes
/
config.tcl
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
# Configuration for custom highway shields for OpenStreetMap
# Name of the PostgreSQL database that holds the OpenStreetMap data
set dbname gis
# Prefix that was supplied to 'osm2pgsql' when importing the OpenStreetMap
# data initially
set prefix na_osm
# Directory where the PNG files containing the shield images will be
# installed.
set pngDir /storage/kennykb/Maps/Shields/pngs
# Temporary directory where images under construction may be stored
set tmpDir /tmp/routeGraphics[pid]
# Image sizes required at rendering, in pixels
set sizes {20 24 28 100}
# Colours of generic markers for different road classes
set markerColours {
motorway #8899ee
trunk #ff8888
primary #ffcc88
secondary #ffff88
other #ffffff
}
# Height and width of an average character in the font to be used
# on highway shields
set charHeight 13
set charWidth 7