MetOffice / qgis-plugin-edr

GNU General Public License v3.0
3 stars 2 forks source link

Cannot paste a geometry into the EDR dialogue #16

Closed Gugym closed 5 months ago

Gugym commented 5 months ago

QGIS3.28.6, Plugin version 0.13.1.

When trying to paste a valid geometry into the spatial query extent the dialogue does not allow it

Steps to reproduce: Open the QGIS Plugin and go to service: https://ogcie.iblsoft.com/edr, select collection GFS - Layer between two depths below land surface and an instance of the data before selecting the data query of trajectory (or other). Try and paste a geometry into the Query spatial extent field.

The user cannot paste a valid geometry into the 'Query spatial extent' field.

JanCaha commented 5 months ago

That is by design. The geometry for specific type of query needs to be constructed using tools associated with that query type. Pasting geometry there would rrequire running type checks to ensure that the geometry is valid for the give query type.

Gugym commented 5 months ago

Closing - users will input via the 'Set Spatial extent' - there are other issues here that deal with the behaviour there for trajectory ( see for example #21 )