cedadev / pyramid-phoenix

Phoenix is a Pyramid web-application to make it easy to interact with WPS services
http://pyramid-phoenix.readthedocs.io/en/latest/
Apache License 2.0
0 stars 0 forks source link

Add bounding box widget to phoenix #4

Closed agstephens closed 4 years ago

agstephens commented 4 years ago

We need to build a bounding box widget for phoenix.

agstephens commented 4 years ago

This info might be useful:

https://github.com/geopython/pywps/issues/404

antony-wilson commented 4 years ago

box code added in commit 70146f58196f381ffbc2a1bc589b075147e7481f

antony-wilson commented 4 years ago

We now have a working map widget.

The projection, EPSG:4326, covers 90 degrees north to 90 degrees south. This results in a map that does not look to good as you move away from the equator.

A future enhancement is to add a check to see if the default bounding box is within 85 degrees north to 85 degrees south, in which case the projection EPSG:3857 can be used. This will require the additional complexity of converting units to and from lat and long for the input fields displayed to the user and the hidden input values.