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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
|
# Configuration file sample
#
# Comment line with leading '#' to fallback to the hardcoded default value
#
# The configuration is load in this order:
# - First the hardcoded value are loaded
# - If no configuration file is provided in wsgi script, the first file that exist will be loaded:
# * on Unix/Linux System:
# - `/etc/pywps.cfg`
# - `$HOME/.pywps.cfg`
# * on Windows:
# - `pywps\\etc\\default.cfg`
# - Then if PYWPS_CFG environment variable is set, this file will be loaded
#
# Last loaded file override setting from the previous one.
[metadata:main]
# Setup the title in GetCapabilities
identification_title=PyWPS Demo server
# Setup the abstract in GetCapabilities
identification_abstract=PyWPS testing and development server. Do NOT use this server in production environment. You shall setup PyWPS as WSGI application for production. Please refer documentation for further detials.
# Setup the keywords in GetCapabilities
identification_keywords=WPS,GRASS,PyWPS, Demo, Dev
identification_keywords_type=theme
# Setup the fees in GetCapabilities
identification_fees=None
# Setup the AccessConstraints in GetCapabilities
identification_accessconstraints=None
# Setup provider name in GetCapabilities
provider_name=PyWPS Development team
# Setup provider URL (informative) in GetCapabilities
provider_url=https://pywps.org/
# Setup Contacts information for GetCapabilities (informative)
contact_name=Your Name
contact_position=Developer
contact_address=My Street
contact_city=My City
contact_stateorprovince=None
contact_postalcode=000 00
contact_country=World, Internet
contact_phone=+xx-xxx-xxx-xxxx
contact_fax=+xx-xxx-xxx-xxxx
contact_email=contact@yourdomain.org
contact_url=https://pywps.org
contact_hours=8:00-20:00UTC
contact_instructions=Knock on the door
contact_role=pointOfContact
[server]
encoding=utf-8
language=en-US
url=http://localhost:5000/wps
maxsingleinputsize=1mb
maxrequestsize=3mb
outputurl=http://localhost:5000/outputs/
outputpath=outputs
workdir=workdir
maxprocesses=30
parallelprocesses=2
storagetype=file
# hardcoded default : tempfile.gettempdir()
; temp_path=/tmp
processes_path=
# list of allowed input paths (file url input) seperated by ':'
allowedinputpaths=
# hardcoded default : tempfile.gettempdir()
; workdir=
# If this flag is enabled it will set the HOME environment for each process to
# its current workdir (a temp folder).
sethomedir=false
# If this flag is true PyWPS will remove the process temporary workdir after
# process has finished.
cleantempdir=true
# File storage outputs can be copied, moved or linked from the workdir to the
# output folder.
# Allowed functions: "copy", "move", "link" (hardcoded default "copy")
storage_copy_function=copy
# Handles the default mimetype for requests.
# valid options: "text/xml", "application/json"
default_mimetype=text/xml
# Default indentation used for json data responses.
json_indent=2
# hardcoded default : tempfile.gettempdir()
#temp_path=/tmp
processes_path=
# list of allowed input paths (file url input) seperated by ':'
allowedinputpaths=
# hardcoded default : tempfile.gettempdir()
#workdir=
# If this flag is enabled it will set the HOME environment for each process to
# its current workdir (a temp folder).
sethomedir=false
# If this flag is true PyWPS will remove the process temporary workdir after
# process has finished.
cleantempdir=true
storagetype=file
# File storage outputs can be copied, moved or linked from the workdir to the
# output folder.
# Allowed functions: "copy", "move", "link" (hardcoded default "copy")
storage_copy_function=copy
# Handles the default mimetype for requests.
# valid options: "text/xml", "application/json"
default_mimetype=text/xml
# Default indentation used for json data responses.
json_indent=2
[processing]
mode=default
# hardcoded default: os.path.dirname(os.path.realpath(sys.argv[0]))
; path=
# https://github.com/natefoo/slurm-drmaa
drmaa_native_specification=
# hardcoded default: os.path.dirname(os.path.realpath(sys.argv[0]))
#path=
# https://github.com/natefoo/slurm-drmaa
drmaa_native_specification=
[logging]
level=INFO
file=logs/pywps.log
database=sqlite:///:memory:
format=%(asctime)s] [%(levelname)s] file=%(pathname)s line=%(lineno)s module=%(module)s function=%(funcName)s %(message)s
prefix=pywps_
[grass]
gisbase=/usr/local/grass-7.3.svn/
[s3]
bucket=my-org-wps
region=us-east-1
prefix=appname/coolapp/
public=true
encrypt=false
|