Thank you for the efforts!
Roberto Rossi
(I opened the Bug ticket)

Il 07/01/2020 14:27, ede ha scritto:
>
> Jukka,
>
> sounds like textfields to manipulate all 3 urls
> (GetCaps,GetMap,FeatInfo) in WMSEditPlugin would be a nice hack. or?
>
> ..ede
>
> On 07.01.2020 09:46, Jukka Rahkonen wrote:
>
>     In theory:
>     1. Client reads GetCapabilities with a given base URL
>     2. Server sends an URL to be used for GetMaps, URL is correct, and
>     works
>
>     Unfortunately servers can return not-working GetMap URLs. For
>     example in Mapserver the GetMap url is configured manually and it
>     is pretty easy to write it wrong. Very often in such cases the
>     same base URL that is used for GetCapabilities works also for
>     GetMaps and it is very good to offer user a possibility to try that.
>
>     In QGIS there are two settings: "Ignore GetMap URI reported in
>     capabilities" and "Ignore GetFeatureInfo URI reported in capabilities"
>
>     There is also another use case for forcing another GetMap URL than
>     the one that appears in the capabilities. Some servers support
>     extra key/value parameters which have some effect on the map that
>     GetMap returns. See
>     
> https://docs.geoserver.org/stable/en/user/tutorials/cql/cql_tutorial.html#cql-tutorial
>     for examples. Now a users who know how they client and WMS server
>     behave can fiddle the base url and write is for example as
>     https://demo.geo-solutions.it/geoserver/wms?CQL_FILTER=PERSONS>15000000&.
>
>     If user ignores the GetMap URL OpenJUMP will send requests like
>     ~~~
>     https://demo.geo-solutions.it/geoserver/wms?
>     <https://demo.geo-solutions.it/geoserver/wms>
>     CQL_FILTER=PERSONS>15000000&
>     REQUEST=GetMap&
>     SERVICE=WMS&
>     VERSION=1.3.0&
>     WIDTH=1601&
>     HEIGHT=835&
>     LAYERS=topp%3Astates&
>     TRANSPARENT=TRUE&
>     FORMAT=image%2Fpng&
>     BBOX=22.101104761711433,-124.731422,52.22659723828857,-66.969849&
>     CRS=EPSG:4326&
>     STYLES=
>     ~~~
>
>     This is more a hack than a feature but I use it myself sometimes.
>     Better option would be to have an option for configuring vendor
>     parameters for each WMS layer separately.
>
>     Following the 302 redirections would be a nice improvement. Some
>     service providers use redirections for load balancing, though not
>     so many because WMS clients tend to get lost :).
>
>     And finally Geoservers seem to include that unnecessary
>     &SERVICE=WMS in the GetMaps URLs. I think it is wrong but it does
>     not make real harm. I made a test by adding another &SERVICE=WMS
>     to the request and Geoserver accepts it. But it would be a problem
>     if URL contained something like &VERSION=1.1.1 and client added
>     &VERSION=1.3.0.
>
>     ------------------------------------------------------------------------
>
>     *[bugs:#489] <https://sourceforge.net/p/jump-pilot/bugs/489/>
>     Veneto Region (Italy) WMS sevice does not work on OpenJump*
>
>     *Status:* open
>     *Labels:* WMS
>     *Created:* Wed Dec 11, 2019 04:04 PM UTC by Roberto Rossi
>     *Last Updated:* Sat Jan 04, 2020 12:29 PM UTC
>     *Owner:* nobody
>     *Attachments:*
>
>       * WMS1.jpg
>         <https://sourceforge.net/p/jump-pilot/bugs/489/attachment/WMS1.jpg>
>         (72.1 kB; image/jpeg)
>       * WMS2.jpg
>         <https://sourceforge.net/p/jump-pilot/bugs/489/attachment/WMS2.jpg>
>         (143.6 kB; image/jpeg)
>       * WMS3.jpg
>         <https://sourceforge.net/p/jump-pilot/bugs/489/attachment/WMS3.jpg>
>         (27.9 kB; image/jpeg)
>
>     The Veneto Region (Italy) WMS sevice does not work on OpenJump.
>     1. When adding the WM layer URL
>     (https://idt2-geoserver.regione.veneto.it/geoserver/ows) the
>     server answer (IMG WMS1): /The WMS advertises the URL
>     https://idt2-geoserver.regione.veneto.it/geoserver/ows?SERVICE=WMS
>     as GetMap-URL. Do you want to use it?/
>     2. then the open window correctly shows the /Available layers/
>     list (IMG WMS2)
>     3. finally it adds the layer in the Working Category, but the map
>     i s empty, and in the status bar the message/No description was
>     provided/ appears
>
>     ------------------------------------------------------------------------
>
>     Sent from sourceforge.net because you indicated interest in
>     https://sourceforge.net/p/jump-pilot/bugs/489/
>
>     To unsubscribe from further messages, please visit
>     https://sourceforge.net/auth/subscriptions/
>
> ------------------------------------------------------------------------
>
> *[bugs:#489] <https://sourceforge.net/p/jump-pilot/bugs/489/> Veneto
> Region (Italy) WMS sevice does not work on OpenJump*
>
> *Status:* open
> *Labels:* WMS
> *Created:* Wed Dec 11, 2019 04:04 PM UTC by Roberto Rossi
> *Last Updated:* Tue Jan 07, 2020 08:46 AM UTC
> *Owner:* nobody
> *Attachments:*
>
>   * WMS1.jpg
>     <https://sourceforge.net/p/jump-pilot/bugs/489/attachment/WMS1.jpg>
>     (72.1 kB; image/jpeg)
>   * WMS2.jpg
>     <https://sourceforge.net/p/jump-pilot/bugs/489/attachment/WMS2.jpg>
>     (143.6 kB; image/jpeg)
>   * WMS3.jpg
>     <https://sourceforge.net/p/jump-pilot/bugs/489/attachment/WMS3.jpg>
>     (27.9 kB; image/jpeg)
>
> The Veneto Region (Italy) WMS sevice does not work on OpenJump.
> 1. When adding the WM layer URL
> (https://idt2-geoserver.regione.veneto.it/geoserver/ows) the server
> answer (IMG WMS1): /The WMS advertises the URL
> https://idt2-geoserver.regione.veneto.it/geoserver/ows?SERVICE=WMS as
> GetMap-URL. Do you want to use it?/
> 2. then the open window correctly shows the /Available layers/ list
> (IMG WMS2)
> 3. finally it adds the layer in the Working Category, but the map i s
> empty, and in the status bar the message/No description was provided/
> appears
>
> ------------------------------------------------------------------------
>
> Sent from sourceforge.net because you indicated interest in
> https://sourceforge.net/p/jump-pilot/bugs/489/
>
> To unsubscribe from further messages, please visit
> https://sourceforge.net/auth/subscriptions/
>




---

** [bugs:#489] Veneto Region (Italy) WMS sevice does not work on OpenJump**

**Status:** open
**Labels:** WMS 
**Created:** Wed Dec 11, 2019 04:04 PM UTC by Roberto Rossi
**Last Updated:** Tue Jan 07, 2020 08:46 AM UTC
**Owner:** nobody
**Attachments:**

- [WMS1.jpg](https://sourceforge.net/p/jump-pilot/bugs/489/attachment/WMS1.jpg) 
(72.1 kB; image/jpeg)
- [WMS2.jpg](https://sourceforge.net/p/jump-pilot/bugs/489/attachment/WMS2.jpg) 
(143.6 kB; image/jpeg)
- [WMS3.jpg](https://sourceforge.net/p/jump-pilot/bugs/489/attachment/WMS3.jpg) 
(27.9 kB; image/jpeg)


The Veneto Region (Italy) WMS sevice does not work on OpenJump.
1. When adding the WM layer URL 
(https://idt2-geoserver.regione.veneto.it/geoserver/ows) the server answer (IMG 
WMS1):  *The WMS advertises the URL 
https://idt2-geoserver.regione.veneto.it/geoserver/ows?SERVICE=WMS as 
GetMap-URL. Do you want to use it?*
2. then the open window correctly shows the *Available layers* list (IMG WMS2)
3. finally it adds the layer  in the Working Category, but the map i s empty, 
and in the status bar the message* No description was provided* appears


---

Sent from sourceforge.net because jump-pilot-devel@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/jump-pilot/bugs/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/jump-pilot/admin/bugs/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to