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

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