Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactoring, bugfixes and improvements #59

Closed
wants to merge 64 commits into from

Conversation

idanmiara
Copy link

…/init.py; processes, process_descriptor moved to processes/init.py; the flask app was moved to app.py

app.wsgi added for using via mod_wsgi
app_main_page.py - /sys_path, /test added; flask_response function added
processes/buffer.py - make out_filename unique using tempfile to support concurrency
processes/jsonprocess.py, sayhello.py, sleep.py - the output is named 'output' in all requests now
sleep.py - added delay parameter, some more outputs and set defaults
pywps.cfg moved to config/; added allowedinputpaths=./static/; outputs should be relative to server_url (I can't find any reference for using this value anyway)
static/requests/execute_buffer_post*.xml renamed to static/requests/buffer*.xml
point.gml, railroads.gml moved to /static/data/shp
buffer.py - added filename as output
sayhello.py - added default name
server url and port are now read correctly from pywps.cfg and not hardcoded in various locations
set_root handles setting the root path before loading any files with relative paths

Overview

Refactoring, bugfixes and improvements

Related Issue / Discussion

Additional Information

Contribution Agreement

(as per https://github.com/geopython/pywps/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

  • I'd like to contribute [feature X|bugfix Y|docs|something else] to PyWPS. I confirm that my contributions to PyWPS will be compatible with the PyWPS license guidelines at the time of contribution.
  • I have already previously agreed to the PyWPS Contributions and Licensing Guidelines

…/__init__.py; processes, process_descriptor moved to processes/__init__.py; the flask app was moved to app.py

app.py, test_execute.py - added if __name__ == "__main__" section
app.wsgi added for using via mod_wsgi
app_main_page.py - /sys_path, /test added; flask_response function added
processes/buffer.py - make out_filename unique using tempfile to support concurrency
processes/jsonprocess.py, sayhello.py, sleep.py - the output is named 'output' in all requests now
sleep.py - added delay parameter, some more outputs and set defaults
pywps.cfg moved to config/ and added allowedinputpaths=./static/
static/requests/execute_buffer_post*.xml renamed to static/requests/buffer*.xml
point.gml, railroads.gml moved to /static/data/shp
buffer.py - added filename as output
sayhello.py - added default name
server url and port are now read correctly from pywps.cfg and not hardcoded in various locations
set_root handles setting the root path before loading any files with relative paths
tests/test_execute.py - buffer xml name changed
…ges; <b> was replaced with <strong>, which has semantic meaning; Links to outside websites with "target=_blank" should have rel="noopener noreferrer" to prevent phishing attacks
exceptions.py - PyWPS exception classes
app_set_server.py - raise specific exception
demo.py - there is no point to catch an OSError abd raise a general error; print the error instead.
…ave schema_wps_url as const string tests/test_describe.py - reformat tests/test_capabilities.py - remove unnecessary imports
…iis app.wsgi is redundant, use app.py instead
…requestsize

processes - added talos processes
requirements.txt - added talos requirements
home.html - changed header
LICENCE.txt - added credits
tester process added
talos_wps src and data files added
crop_color_czml.xml now with coordinates within the given test file
minor fixes
gdalos selector
bugfixes
process_defaults.yaml updated
requirements-apache.txt, requirements-iis.txt, requirements-opt.txt added
gdalos_color.py - fix read empty color file
gdalos_main.py - fix out_res for ovr_idx=None
scale_calc.py - round
viewshed_calc.py - fix vs.min operation (using low_nodata=False)
…nning generate_configs.py with templates given in config/templates/*
@idanmiara
Copy link
Author

I'm closing and reopening as #60

@idanmiara idanmiara closed this Feb 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant