-
Notifications
You must be signed in to change notification settings - Fork 400
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 serverType option to wms & csw catalog entries #8167 #9048
Conversation
if undefined or set to "geoserver", the behaviour is the unchanged. If set to "no-vendor", then TILED query parameter isnt sen't to the remote wms server, and the "tiled" and "localizedLayerStyles" options are hidden in the layer parameters. more vendor options can be sent/avoided this way. Improves interoperability when displaying and printing layers coming from mapproxy. closes geosolutions-it#7809, geosolutions-it#7877 & geosolutions-it#7879
i see the |
@landryb I just pushed a commit with the support fot serverType in dashboard so you need to update your local branch |
@landryb I also included the fix mentioned here #8167 (comment) |
@landryb if you could confirm that the pending problems has been solved by the new commits then I'm going to do a final review, thanks |
i've pulled locally your last commits, and with 986ea75 the I've also added pre-configured but the only thing that isn't working seem to be the it's as if 986ea75 didnt have any effect for the csw catalogs in the dashboard editor. |
i think i understand what weird thing is happening.. the various actions are triggered, but the display isnt updated straight away. I need to make a selection in the tilesize or format entries to have the serverType display updated, and vice-versa. the same strange behaviour (display being not updated with the just selected options) can be reproduced in the wms catalog entry of the dashboard editor. and i cant replicated that strange behaviour with the regular csw/wms catalog entries in the map editor. |
thanks, can confirm that with this commit, the broken behaviour in the csw & wms catalog entries advanced properties is fixed in the dashboard editor, changing serverType/tilesize is directly updated in the UI. LGTM! |
@landryb merged, thanks for the contribution! |
@ElenaGallo please test on dev and let us know if we can backport on branch 2023.01.xx |
once added
How to Reproduce
print.mov |
hi @ElenaGallo , the map link you gave requires login and i havent been able to login with either admin/admin or user/user. In your video i see the STR, but can't see what's the wrong request done by the print module. i've tried reproducing your map (gzipped & attached below), adding two wms layers from mapproxy, and here it correctly generates a pdf preview. |
the POST done to http://localhost:8081/proxy/?url=http%3A%2F%2Flocalhost%3A8080%2Fmapstore%2Fpdf%2Fcreate.json had this attached payload |
wild guess from the error message, would there be an extra space between |
@landryb sorry, now the map is public. In any case, now I can print and everything works as it should. Thanks |
@allyoucanmap the rest passed on DEV, @landryb please backport to 2023.01.xx. Thanks |
…ies (geosolutions-it#9048) geosolutions-it#7809 failure to print WMS layers coming from mapproxy geosolutions-it#7877 set TILED=true only when printing layers from geoserver geosolutions-it#7879 set TILED=true only when loading layers from geoserver --------- Co-authored-by: allyoucanmap <stefano.bovio@geosolutionsgroup.com>
…g entries (#9048) (#9063) * #8167 add serverType option to wms & csw catalog entries (#9048) #7809 failure to print WMS layers coming from mapproxy #7877 set TILED=true only when printing layers from geoserver #7879 set TILED=true only when loading layers from geoserver --------- Co-authored-by: allyoucanmap <stefano.bovio@geosolutionsgroup.com> * #8905 Add missing translations (#9055) * #8905 Add missing translations * fix failing tests --------- Co-authored-by: Landry Breuil <landryb@users.noreply.github.com>
if undefined or set to "geoserver", the behaviour is unchanged. If set to "no-vendor", then TILED query parameter isnt sen't to the remote wms server, and the "tiled" and "localizedLayerStyles" options are hidden in the layer parameters.
more vendor options can be sent/avoided this way. Improves interoperability when displaying and printing layers coming from mapproxy.
closes #7809
closes #7877
closes #7879
Description
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x", remove the others)
Issue
What is the current behavior?
#7809, #7877 & #7879
What is the new behavior?
can display and print layers coming from mapproxy, once "no-vendor" is set for the catalog entry.
Breaking change
Does this PR introduce a breaking change? (check one with "x", remove the other)
Other useful information
[interoperability] add flag to source when we know it's provided by geoserver #8167 (comment) is .. strange.
4b09ed5 isnt included after discussion with @allyoucanmap - widget codepaths have to be revisited ?