Created
October 8, 2015 13:34
-
-
Save jofomah/735ba7d246ab31e6e465 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sources: | |
osm_config_file: boundary.ini # relative file path to the [export|manage].py | |
data_directory: '/home/jofomah/sw-projects/posm/planet.osm/' # full path to the data directory | |
data_file: 'planet-latest' # a filename for initial OSM file | |
poly_file: './poly/NG_R192787.poly' # path to the area poly file, can be blank if working with planet.osm | |
admin_levels_file: 'admin_levels' # a file name for the file containing prepared admin_levels | |
# gdal driver specific settings | |
exposm: | |
shp_output_directory: /tmp/out | |
postgis: "PG:dbname=posm_test host='localhost' port='5432' user='posmuser' password='test'" | |
geojson_output_directory: '/home/jofomah/sw-projects/posm/extractor/mnt/' | |
gdal: | |
# how much memory is gdal allowed to allocate | |
memory_limit: '4096' | |
# if memory is not enough, use this folder to store temporary files | |
tempfile_dir: '/mnt' | |
# show debug information, ON/OFF | |
debug: 'ON' | |
debug_file: '/tmp/gdal_log.log' | |
# logging setup | |
logging: | |
version: 1 | |
disable_existing_loggers: False | |
formatters: | |
simple: | |
format: '%(levelname)s %(message)s' | |
verbose: | |
format: '%(levelname)s %(asctime)s %(module)s %(message)s' | |
datefmt: '%Y/%m/%d %H:%M:%S' | |
handlers: | |
console: | |
class: logging.StreamHandler | |
formatter: simple | |
level: DEBUG | |
stream: ext://sys.stdout | |
file: | |
class : logging.FileHandler | |
formatter: verbose | |
level: DEBUG | |
mode: w | |
filename: /tmp/export.log | |
# optionally set a specific logger for extract module | |
# loggers: | |
# extract: | |
# level: DEBUG | |
# handlers: | |
# - console | |
root: | |
level: DEBUG | |
handlers: | |
- console | |
- file | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment