-
Notifications
You must be signed in to change notification settings - Fork 55
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
Add filterType
source param and use QGIS EXP_FILTER
when param is qgis
#1536
Merged
steff-o
merged 25 commits into
origo-map:master
from
haninge-geodata:wfs-qgis-filter-support
Apr 9, 2024
Merged
Changes from 7 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
97ccb80
Separate filter creation, add `filterType` param
MattiasSp 57f15d9
Support QGIS expression filters; `EXP_FILTER`
MattiasSp c4394a7
Support `getFeature` on QGIS Server layers
MattiasSp 1c486ba
Remove duplicate statement
MattiasSp a63e0b9
Missing semicolon
MattiasSp 9d529ca
Support QGIS's `EXP_FILTER` in offline wfs layer
MattiasSp 7be7efd
Fix for QGIS filters when not using extent
MattiasSp d38cdf8
Merge branch 'master' into wfs-qgis-filter-support
MattiasSp 01eb917
Fixed linter errors
MattiasSp 473e211
Fixed spelling error
MattiasSp ae5ae79
Removed default that is already set on the source
MattiasSp 8af3134
Merge branch 'master' of https://github.com/haninge-geodata/origo int…
MattiasSp d156d32
Moved source defaults back to wfs.js
MattiasSp 91b627e
Returned standard queries using BBOX parameter
MattiasSp cdb2abc
Add layer names to ids for QGIS support
MattiasSp 381b1c6
Indentation fix
MattiasSp 33f35c7
Revert "Support QGIS's `EXP_FILTER` in offline wfs layer"
MattiasSp eb16eeb
Revert "Missing semicolon"
MattiasSp d098cc7
Revert "Remove duplicate statement"
MattiasSp 0807452
Mark _createQueryFilter() as private
MattiasSp da39627
Fix incorrect comment
MattiasSp 211894e
Revert "Support `getFeature` on QGIS Server layers"
MattiasSp 8f29b57
Fix incorrect function call
MattiasSp 6c5055b
Allow filterType on layer level
MattiasSp 5858999
Revert "Allow filterType on layer level"
MattiasSp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't work when using double underscore notation or the 'id'-option on the layer. 'id' should be used instead of 'name' if it really is necessary to prepend the layername. Geoserver can handle with or without layername, but it may be dangerous to assume that it always shall be prepended, When calling from search the search result would most likely not not have layername prepended, but if calling from some arbitrary code it will probably already be prepended.