Thank you Jukka,
I'll try to give some of your indications to Geoportale Nazionale IT office...
I'll also try to use WIDTH= and HEIGHT= parameters, if I'm able.

Roberto

Il 29/10/2023 22:05, Jukka Rahkonen via Jump-pilot-devel ha scritto:

That WMS service seems to be very slow. This curl example took 42 seconds. Notice < Cache-Control: max-age=300 that means that the same query will come from the cache for next 5 minutes and it will be fast. Edit for example WIDTH= or HEIGHT= parameters for bypassing the cache. Maybe the timeout in OpenJUMP is too short but they should be able to do much better at minambiente.it.

C:\Jukka>curl -v "http://wms.pcn.minambiente.it/ogc?map=/ms_ogc/WMS_v1.3/Vettoriali/Bacini_idrografici.map&REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&WIDTH=956&HEIGHT=410&LAYERS=ID.ACQUEFISICHE.BACINIIDROGRAFICI.PRINCIPALI&TRANSPARENT=TRUE&FORMAT=image%2Fpng&BBOX=34.93762575452716,0.7132796780684094,49.43762575452716,28.6046277665996&CRS=EPSG:4326&STYLES=GN%3APredefinito"; -o out.png
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0/Trying 2.21.96.8:80...
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0/ Connected to wms.pcn.minambiente.it (2.21.96.8) port 80 (#0)

    GET
    
/ogc?map=/ms_ogc/WMS_v1.3/Vettoriali/Bacini_idrografici.map&REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&WIDTH=956&HEIGHT=410&LAYERS=ID.ACQUEFISICHE.BACINIIDROGRAFICI.PRINCIPALI&TRANSPARENT=TRUE&FORMAT=image%2Fpng&BBOX=34.93762575452716,0.7132796780684094,49.43762575452716,28.6046277665996&CRS=EPSG:4326&STYLES=GN%3APredefinito
    HTTP/1.1
    Host: wms.pcn.minambiente.it
    User-Agent: curl/7.79.1-DEV
    Accept: ///

    0 0 0 0 0 0 0 0 --:--:-- 0:00:17 --:--:-- 0* Mark bundle as not
    supporting multiuse
    < HTTP/1.1 200 OK
    < Server: Apache/2.4.18 (Win64)
    < Access-Control-Allow-Origin: *
    < Content-Type: image/png
    < Content-Length: 33918
    < Cache-Control: max-age=300
    < Expires: Sun, 29 Oct 2023 20:57:04 GMT
    < Date: Sun, 29 Oct 2023 20:52:04 GMT
    < Connection: keep-alive
    < X-N: S
    <
    { [1081 bytes data]
    100 33918 100 33918 0 0 801 0 0:00:42 0:00:42 --:--:-- 6943
    * Connection #0 to host wms.pcn.minambiente.it left intact

------------------------------------------------------------------------

*[bugs:#523] <https://sourceforge.net/p/jump-pilot/bugs/523/> Read timed out when loading Geoportale Nazionale WMS*

*Status:* open
*Milestone:* undecided
*Labels:* WMS
*Created:* Sat Oct 28, 2023 05:35 PM UTC by Roberto Rossi
*Last Updated:* Sun Oct 29, 2023 11:59 AM UTC
*Owner:* nobody

OpenJump is no more able to load Italian Geoportale Nazionale WMS <http://www.pcn.minambiente.it/mattm/servizio-wms>. Here are some services (in order: image, points, polylines and a polygons): * http://wms.pcn.minambiente.it/ogc?map=/ms_ogc/WMS_v1.3/raster/ortofoto_colore_12.map * http://wms.pcn.minambiente.it/ogc?map=/ms_ogc/WMS_v1.3/Vettoriali/LimitiAmministrativi_2020.map * http://wms.pcn.minambiente.it/ogc?map=/ms_ogc/WMS_v1.3/Vettoriali/Aste_fluviali.map * http://wms.pcn.minambiente.it/ogc?map=/ms_ogc/WMS_v1.3/Vettoriali/Bacini_idrografici.map

In the Status bar "Read timed out" appears.
In the past months I was able to load them, and they still work in other software like QGIS, or ArcMap, Or ArcGIS Pro, AdB-ToolBox (a software derived from OpenJump but which has his own WMS, WFS, WCS reader, which points to Geoportale nazionale data). So the problem seems (to me) a combination of particular OpenJump settings and Geoportale nazionale servers change...

The same Read timed out appears (often, not always) loading some of the http://ows.terrestris.de/osm/service layers

Roberto Rossi

------------------------------------------------------------------------

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


--

*Roberto Rossi, PhD*
Dipartimento di Geoscienze
Università degli Studi di Padova
Via G. Gradenigo, 6 - 35131 Padova (Italy)
Tel. +39 049 827 9155

Docente a contratto di Applicazioni GIS in idrologia
Corso di Laurea Magistrale in Scienze forestali e ambientali

e-mail: roberto.ro...@unipd.it
Mob. +39 347 6780087
Zoom: unipd.zoom.us/my/roberto.rossi
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to