camptocamp / GeoMapFish

6 stars 1 forks source link

WFS permalink should give user feedback if there's no result #69

Open maltaesousa opened 2 years ago

maltaesousa commented 2 years ago

Who requested this new feature?

SITN

Is your feature request related to a problem?

Yes.

WFS permalink works great when all parameters are valid:

https://sitn.ne.ch/theme/cadastre?wfs_layer=parcelles&wfs_egrid=CH627997991205

But if one of the parameters is not valid, user will not have feedback that something is wrong:

https://sitn.ne.ch/theme/cadastre?wfs_layer=parcelles&wfs_egrid=CH999999999999

Describe the solution you'd like

An alert should say to user that the link he is following is not valid or no longer available.

Additional information or points to watch out for

An use case for this are links to time limited objects. For instance, at Neuchâtel we have a layer for traffic disruptions that only shows current or future disruptions. If some user clicks on a link for a disruption in the past, nothing will be shown to the user.