-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSketchy_Background.cfg.py
44 lines (37 loc) · 1007 Bytes
/
Sketchy_Background.cfg.py
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
import os
datadir = '/home/ray/proj/geodata'
themedir= './themes/sketchy'
cachedir= os.path.join(themedir, 'cache')
tag='Sketch_Background'
background = dict(\
prototype='datasource.mapnik',
cache=dict(prototype='metacache',
root=os.path.join(cachedir, 'Background'),
data_format='png',
),
theme=os.path.join(themedir, 'Background.xml'),
image_type='png',
buffer_size=0,
scale_factor=1,
)
ROOT = dict(\
prototype='root',
renderer='background',
metadata=dict(
tag='sketchy',
description='Sketchy',
attribution=''),
pyramid=dict(
levels=range(3, 9),
format='png',
buffer=16,
tile_size=256,
zoom=5,
center=(35,0),
),
# cache=dict(prototype='filesystem',
# root=os.path.join(cachedir, 'export', '%s' % tag),
# data_format='jpg',
# simple=True
# ),
)