forked from springmeyer/paleoserver
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support for configuring with a json config file (using boost ptre…
…e json parser), add max_extent option to limit bounds of request, refactor font/input plugins loading so that it is done through config or command line not compiled into app, added --help and --version options, and fixed successful response to propertly set reply::ok in header
- Loading branch information
Dane Springmeyer
committed
Jul 28, 2010
1 parent
af6cbbd
commit ebe166c
Showing
13 changed files
with
454 additions
and
114 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.sconf_temp/ | ||
.sconsign.dblite | ||
archive | ||
*.o | ||
*.os | ||
*.pyc | ||
.DS_Store | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/** json configuration for paleoserver */ | ||
|
||
/** warning the format of this file is in contant flux */ | ||
|
||
{ | ||
/** required: directory to register mapnik fonts */ | ||
"fonts" : "/usr/local/lib/mapnik2/fonts/", | ||
|
||
/** required: directory to register mapnik input plugins */ | ||
"plugins" : "/usr/local/lib/mapnik2/input/", | ||
|
||
/** required: number of threads to support - should match roughly number of CPU + 1 */ | ||
"threads" : 2, | ||
|
||
/** required: address to bind to */ | ||
"address" : "0.0.0.0", | ||
|
||
/** required: port to bind to */ | ||
"port" : "8000", | ||
|
||
/** required: document root of server */ | ||
"doc_root" : ".", | ||
|
||
/** required: mapnik xml stylesheet to load */ | ||
"stylesheet" : "tests/demo.xml" | ||
|
||
// optional: limit all requests to given extent (must be in request srs) | ||
//"max_extent" : "-180,60,180,60" | ||
|
||
/** NOTE: last option cannot end with trailing comma */ | ||
} |
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
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
Oops, something went wrong.