-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Support WMS dimensions in QGIS Server #31351
Conversation
b3d2910
to
cdb845a
Compare
Thanks @rldhont -- looks good! |
No, I removed it and enhance the class with an enum |
QList<QgsVectorLayerServerProperties::WmsDimensionInfo> mWmsDimensions; | ||
|
||
//! Predefined QGIS Server WMS Dimension names | ||
QStringList mPredefinedWmsDimNames { "Time", "Elevation" }; |
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.
Could we define an enum instead of using string values?
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.
I have use a static method to provide predefined WMS Dimension.
Hi @rldhont, Thanks for your work, I'm happy to see this landing in QGIS Server 👍! BTW, I didn't see any modification in the |
@pblottiere thanks for the review. And WMS |
e3bb207
to
5d05322
Compare
Hi @nyalldawson I have requested a feature freeze exception before friday because I was almost sure to not have reviewers validation. I was done all the code and tests before friday, I have not rebased it before. Do you think, this PR could be exempt of feature freeze ? |
@rldhont that's not my call to make... |
@pblottiere @elpaso @mhugent @sbrunner Hi Devs, I have finished the code and tests before Friday September 6th 2019, the day of code freeze, and I have rebased it on Saturday September 7th 2019. Do you think I can merge it for 3.10 ? |
+1 from me to include in 3.10 - nice work @rldhont ! |
Hi @rldhont, I think that some of my comments have not been addressed yet, but as I have previously stated, I don't want to block your work (especially that it's not "critical" issues). So +0 from me. |
…instead of in the UI file Use explicit connection instead of in the UI file in QgsWmsDimensionDialog
@pblottiere I have done the changes requested. |
Nice, thanks a lot @rldhont 👍! |
It's great to see this catched 3.10 |
Your layer is a raster. This work was on vector layer. |
Thanks for your quick answer. So I guess there's no support yet for WMS Time with raster layers, right? |
Description
A WMS server can provide support for several type of dimensions such as time, elevation or other types of dimensions. The dimension has to be defined as the layer level and can be used by the WMS client to filter requested information. WMS Time is part of the WMS Dimension.
To implement this feature in QGIS Feature, the User Interface has been updated to provide a way to defined WMS Dimension.
To define a dimension the user can select:
This feature implement the QGIS Enhancement proposal: Add WMS Time support in QGIS server qgis/QGIS-Enhancement-Proposals#110
This feature is funded by Ifremer
Checklist
scripts/prepare-commit.sh
script before each commit