source: subversion/applications/rendering/osm-atlas/inc_roadatlas.php @ 18116

Last change on this file since 18116 was 18116, checked in by avantman42, 10 years ago

Overview map tiles use different (configurable) style sheet

File size: 1.7 KB
Line 
1<?php
2/*
3 * This file is part of OSM-Atlas, a script to create an atlas from
4 * OpenStreetMap (www.openstreetmap.org) data.
5 * Copyright 2009 Russell Phillips
6*/
7
8/*
9 * Sample configuration file for OSM-Atlas.php. The values in this
10 * file are reasonable values for a road atlas
11*/
12
13// bounding box
14$LEFT = 0;
15$RIGHT = 0;
16$TOP = 0;
17$BOTTOM = 0;
18
19//Number of tiles
20$HORIZ_TILES = 5;
21$VERT_TILES = 3;
22
23//TTF font to use for numbers on overview map
24$OV_FONT = "/usr/share/fonts/truetype/freefont/FreeSerif.ttf";
25$OV_FONT_SIZE = 20;
26
27//Directory containing osmarender. Do not include trailing /
28$OSMARENDER_DIR = "/home/user/osmarender";
29//Directory containing osmosis. Do not include trailing /
30$OSMOSIS_DIR = "/home/user/osmosis-0.30/bin";
31// Directory where all output files (working files and final PDF) will be placed. Do not include trailing /
32$OUTPUT_DIR = "/home/user";
33
34// Data file (.osm file - see http://wiki.openstreetmap.org/wiki/Planet.osm for downloads)
35$DATA_FILE="/home/user/planet.osm";
36
37//Title
38$TITLE = "Road Atlas";
39
40//What to include in the index
41$INDEX_STREET_NAMES = False;
42$INDEX_PLACE_NAMES = True;
43
44//Log file
45$LOG_FILE = "/dev/null";
46
47//DPI for Inkscape export
48$INKSCAPE_DPI = 900;
49
50// Stylesheet to use for main map pages
51$STYLESHEET = "osm-map-features-z13.xml";
52// Stylesheet to use for thumbnails in overview map
53$STYLESHEET_THUMBS = "osm-map-features-z12.xml";
54//Delete working files? Default is True, but setting this to False can
55//be useful to help with debugging, or if you wish to manually
56//edit the .tex file
57$DELETE_WORKING_FILES = True;
58
59//PDF metadata
60$PDFTITLE = "Road Atlas";
61$PDFAUTHOR = "OSM-Atlas";
62$PDFSUBJECT = "Road Atlas";
63$PDFKEYWORDS = "openstreetmap,atlas,road atlas";
64?>
Note: See TracBrowser for help on using the repository browser.