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

Switch to Booleans and Config Variable for WMS/WFS URLs #212

Open
spilth opened this issue Dec 9, 2024 · 0 comments
Open

Switch to Booleans and Config Variable for WMS/WFS URLs #212

spilth opened this issue Dec 9, 2024 · 0 comments
Assignees

Comments

@spilth
Copy link
Contributor

spilth commented Dec 9, 2024

Instead of hardcoding repetitive WMS and WFS URLs into Records as custom_fields:

  • Create global GEOSERVER_WMS_URL and GEOSERVER_WFS_URL variables to hold that information
  • Replace the custom string fields geoserver:wms_url and geoserver:wfs_url with custom boolean fields geoserver:has_wms_layer and geoserver:has_wfs_layers.

We are doing this to avoid the potential work involved if our GeoServer hostnames ever change or our public/restricted instances combine into one.

For now geosever:layer_name and geoserver:bounds will remain, pending further discussion.

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

No branches or pull requests

1 participant