geopython / diving-into-pygeoapi

pygeoapi is an OGC Reference Implementation supporting numerous OGC API specifications. This workshop will cover publishing geospatial data to the Web using pygeoapi in support of the suite of OGC API standards.
https://dive.pygeoapi.io
MIT License
20 stars 17 forks source link

Exercise 2 - updates for ES and Bathing Water and more #150

Closed justb4 closed 5 months ago

justb4 commented 5 months ago

In Exercise 2: Publish a GeoJSON using Elasticsearch it states: git checkout -b ogcapi-ws https://github.com/doublebyte1/pygeoapi.git Why? Can we integrate this dir in this repo? Think ES example was there before.

Also I doubt a bit if ES should immediately follow the GPKG exercise, maybe it is better in the "Advanced" section. I think it is more beneficial to start with the simplest: publish a CSV and then GeoJSON directly/natively (the "bathing water files", then move to GPKG and then as option ES.

My feeling is that this will take quite some time to go through ES (download/start ES resolve issues etc). Let's discuss!

tomkralidis commented 5 months ago
tomkralidis commented 5 months ago

Already done: https://github.com/geopython/diving-into-pygeoapi/tree/main/workshop/exercises/elastic

justb4 commented 5 months ago

Overlooked: in https://dive.pygeoapi.io/publishing/first/ already treats publishing a CSV. So no need in Exercise 2. Can immediately treat publishing GPKG. I can slim it (see other issue). For ES will refer to pygeoapi-examples.

Main question still: is is "Bathing Water" or "Drinking Water"? IMO the latter. Different translations for the same dataset are used and the filenames bathingwater-estonia.* should be changed.

Source: https://avaandmed.eesti.ee/datasets/joogiveeallikad where "Joogiveeallikad" translates to "Drinking Water Sources".

justb4 commented 5 months ago

Ok, the confusion is: the data files are for bathing water, but the metadata links for drinking water. Easiest is to change the Source/Metadata links to https://avaandmed.eesti.ee/datasets/supluskohad. Found via search on: https://avaandmed.eesti.ee/datasets?search=bathing.

PR upcoming.