geopython / pygeoapi

pygeoapi is a Python server implementation of the OGC API suite of standards. The project emerged as part of the next generation OGC API efforts in 2018 and provides the capability for organizations to deploy a RESTful OGC API endpoint using OpenAPI, GeoJSON, and HTML. pygeoapi is open source and released under an MIT license.
https://pygeoapi.io
MIT License
460 stars 250 forks source link

Retrieve properties from elasticsearch on get tile request #1646

Closed doublebyte1 closed 1 month ago

doublebyte1 commented 1 month ago

Overview

This PR adds a body to the get tile request of the mvt-provider, in order to retireve the values for all the fields in that index. This enables tile clients to render styles based on the values of the fields (see image bellow).

conditional-rendering

Related Issue / discussion

https://github.com/geopython/pygeoapi/issues/1645

Additional information

Client rendering before this change:

get-tile-before-pr

Client rendering after this change:

get -tile-after-pr

Dependency policy (RFC2)

Updates to public demo

Contributions and licensing

(as per https://github.com/geopython/pygeoapi/blob/master/CONTRIBUTING.md#contributions-and-licensing)