GeoNode / geonode

GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data.
https://geonode.org/
Other
1.43k stars 1.12k forks source link

Remote service seems not support extra parameter in the url #6755

Closed vipcxj closed 3 years ago

vipcxj commented 3 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

I need a remote wms service which need a token as extra parameter. For example, all request url should carry with a tk parameter http://t0.tianditu.gov.cn/img_w/wmts?request=GetCapabilities&service=wmts&tk=XXXXXXX

But geonode seems not support it. I guess geonode ignores the extra query parameter and still use '?' to append additional parameters, causing the link to be unavailable. The solution is check the url provided, If there is extra query parameter, append them in all request.

giohappy commented 3 years ago

It doesn't seem the case at least in current 3.2 release, 3.2.x and master branch. As you can see from the screenshot below prameters are kept and used to retrieve GetCapabilities.

Do you have a URL to test?

image

afabiani commented 3 years ago

Superseded by https://github.com/GeoNode/geonode/issues/6631