Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

seems to be working in development if CORS-Plugin is activated#1

Open
mlechner wants to merge 1 commit intoHsKA-OSGIS-archive:mainfrom
mlechner:mlechner_fix1
Open

seems to be working in development if CORS-Plugin is activated#1
mlechner wants to merge 1 commit intoHsKA-OSGIS-archive:mainfrom
mlechner:mlechner_fix1

Conversation

@mlechner
Copy link
Copy Markdown

Hi GOSolutions,
just changing the URL pointing to the example data set from your local Geoserver instance should do the job. Keep in mind that you need the CORS Plugin to make it work in development environment. You can see that when monitoring the requests using the Web developer console of your browser.
Please changed the URL depending on your installation - I configured tomcat that geoserver-2.23 is available at the given URL for that I can run several geoserver instances within one tomcat each having a slightly different URL including the version number.
The limit-parameter is optional (depending on your dataset, while the f (format) parameter is notz needed in your application - it is set by the header option in line 33.

Feel free t ask any further questions and let me know which error do occur on your side. Make sure that

  • the web-frontrend definitely tries to fetch data (protocoled request in browser tools)
  • the OGC API service returns the data at all by trying the URL that should return GeoJSON Features in a separate browser tab

Regards
Marco Lechner

@mlechner
Copy link
Copy Markdown
Author

not that I forget: happy Xmas!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant