Client: Regional Government of Castilla y León — Protected Areas Network
Inventory and map viewer for the public-use facilities of the protected areas of Castilla y León: visitor centres, picnic areas, observation hides, signage and waymarked trails.
The problem
Public-use facilities across a protected areas network are managed by many hands: the territorial service of each province, different public bodies and field staff. Each must see and edit their own, and only their own.
The solution
A map viewer holding the full record of every facility, with a fine-grained permission model: roles combine scope, level and organisation, and each user is assigned the specific protected areas they may work on.
That scoping is not cosmetic. The filter is applied in the WHERE clause
of every server-side query, not merely in the interface dropdowns: filtering only the
presentation would let anyone see other people's data by changing a URL parameter.
Technology
OpenLayers 10 with native ES modules, no jQuery and no build step · PostgreSQL with PostGIS in EPSG:25830 · GeoServer.
A viewer that needs no bundler has a practical advantage: deployment is copying files, and maintenance five years from now will not depend on a toolchain that will be obsolete by then.