Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This MR adds initial vector data support, enabling the generation and serving of vector data via the use of MapServer's OGR vector layers support.
Layers with underlying vector data can now be defined in the configuration as such:
The
connection
key is used to setup the appropriateCONNECTION
,CONNECTIONTYPE
,CONNECTIONOPTIONS
andDATA
directives.Rudimentary filters can be defined as an array of objects under the
filter
key. If multiple filters are defined, they are concatenated using the operators provided via theoperator
key in filters subsequent to the first filter defined. If a filter of typedatetime
is specified, a metadata key is set in order to retrieve the filter and format it accordingly when a request is received, either with the default time value or via theTIME
query param value contained in the request.If the
temporal_config
key is defined, the temporal metadata is retrieved from a file instead of retrieving it from geomet-data-registry's store.The
wsgi.py
application is modified to intercept any MapServer layer objects of type point, line, polygon. If they are time-enabled, the application then verifies that the time is valid given the start/end/interval , and sets thePROCESSING "NATIVE_FILTER=<filter>
directive. The rest of the request and response is managed by MapServer.