Hi,

The demo service of DM Solutions is quite fast and Zoom to WMS layer works also 
with the first advertised SRS (EPSG:42304).
http://www2.dmsolutions.ca/cgi-bin/mswms_gmap


There is an issue with Zoom to WMS layer.  OpenJUMP seems to take the West-East 
extents of BBOX parameter from the advertised WMS BoundingBox  and use the 
width of the current map window as WIDTH.  Then the height of the map window is 
transferred to HEIGTH parameter and the South-North coordinates of BBOX are 
computed to suit the image height in pixels. This may lead to oversized BBOX 
which goes over valid limits.  Some servers, with some projections do not like 
this. For example geographic South-North extents of -137°S - 137°N may not be 
accepted.

To reproduce this

- Open a new project window with default size

- Add osm layer from WMS server http://irs.gis-lab.info/? with Geographics SRS 
(EPSG:4326)

- Do zoom to layer
The GetMap request which is sent by OJ is


http://irs.gis-lab.info/?

REQUEST=GetMap&

SERVICE=WMS&

VERSION=1.1.1&

WIDTH=459&

HEIGHT=351&

LAYERS=osm&

TRANSPARENT=TRUE&

FORMAT=image%2Fpng&

BBOX=-180.0,-137.64705882352942,180.0,137.64705882352942&

SRS=EPSG:4326&

STYLES=

The issue is perhaps not critical because OpenJUMP is in any case often unable 
to zoom to WMS layer. On the other hand, making an oversized GetMap may work 
with some servers, especially with projected coordinate systems. User can also 
zoom too far out with zoom tools and make the WMS layer to disappear that way.

-Jukka-

Giuseppe Aruta wrote:

Hi
We can also enlarge the wms  list with local general services, if you agree.
I think that lat/lon doesn't work because of copyright issue (Bing WMS) :-(
Peppe
2013/3/25 Rahkonen Jukka 
<jukka.rahko...@mmmtike.fi<mailto:jukka.rahko...@mmmtike.fi>>
Hi,

OSM-GB works for me. Check spelling of URL, the SERVICE=WMS& part must be 
included
http://www.osmgb.org.uk/OSM-GB/wms?SERVICE=WMS&;

The Zoom to WMS layer issue is a combination of WMS standard and OpenJUMP 
inability to handle projections. WMS service must announce the BBOXes for 
layers as WGS84 longitude-latitude.  Because OpenJUMP cannot project WGS84 BBOX 
to other projections, it is common that zoom on a WMS layer does not work with 
all available SRS codes.
Some WMS servers send BBOXes for all the supported projections and then 
OpenJUMP can zoom to layer with all coordinate systems. Zoom to layer should 
also work fine if "Geographics" projection (EPSG:4326) is selected. You can try 
it for example with the "USA Population" layer from the OpenGEO WMS.
The question mark button in the Zoom to layer panel shows all the BBOXes which 
are included in the GetCapabilities document of the server.

I fear we can't do anything to improve the Zoom to layer operation, except that 
we might add a bit more text to the message which is now only "No bounding 
box(es) available!".  I do not know if something like this would make user more 
happy "WMS server does not send a BBOX for the selected Coordinate Reference 
System {code}. You must zoom to correct location by some other means".

I will try to find some more suitable free WSM service for us.

-Jukka-


Michaël Michaud wrote:
>
> Thanks,
>
> With openstreetmap, I get the same error as with latlon (missing
> WMT_MS_Capabilities)
>
> There is also a problem with zoom on layer.
> I don't know if it is a OJ bug or a limitation, but with
> http://demo.opengeo.org/geoserver/wms
> I find no way to see a layer
>
> Michaël
>
> NB : from 3403, you get the layer list much faster with url like
> http://demo.opengeo.org/geoserver/wms
>
>
> > Hi,
> >
> > It is OK to use the demo service of OpenGEO:
> > http://demo.opengeo.org/geoserver/wms
> >
> > Then I suppose that we could use some free server from this list:
> > http://wiki.openstreetmap.org/wiki/WMS
> >
> > Perhaps OSM-GB with layers
> > http://www.osmgb.org.uk/OSM-GB/wms?SERVICE=WMS&;
> >
> > -Jukka-
> >
> > ________________________________________
> > Michaël Michaud wrote:
> >
> >> Hi
> >> I tried the default URL in OpenJUMP
> >> http://wms.latlon.org/? returns an error message
> >> http://openaerialmap.org/wms/ is not found Any idea ?
> >> any suggestion to replace them by useful addresses Michaël
> > ----------------------------------------------------------------------
> > -------- Everyone hates slow websites. So do we.
> > Make your web apps faster with AppDynamics Download AppDynamics Lite
> > for free today:
> > http://p.sf.net/sfu/appdyn_d2d_mar
> > _______________________________________________
> > Jump-pilot-devel mailing list
> > Jump-pilot-devel@lists.sourceforge.net<mailto:Jump-pilot-devel@lists.sourceforge.net>
> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >
> > ----------------------------------------------------------------------
> > -------- Everyone hates slow websites. So do we.
> > Make your web apps faster with AppDynamics Download AppDynamics Lite
> > for free today:
> > http://p.sf.net/sfu/appdyn_d2d_mar
> > _______________________________________________
> > Jump-pilot-devel mailing list
> > Jump-pilot-devel@lists.sourceforge.net<mailto:Jump-pilot-devel@lists.sourceforge.net>
> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >
> >
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics Download AppDynamics Lite
> for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net<mailto:Jump-pilot-devel@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net<mailto:Jump-pilot-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to