On 14.12.2014 21:13, Rahkonen Jukka (Tike) wrote: > Hi, > > 1) In WMS is is only compulsory to advertize WGS84 bounding box -> as long as > OpenJUMP is missing CRS support zoom to bounds will not work generally. > However, additional BBOX:es do exist often and zoom to layer is possible to > perform. > 2) As Michaƫl wrote, automatic zoom to bounds should not be done if project > already has layers - vector, raster or other WMS layers
just out of interest. why? just noticed we also do not do it for a second dataset opened. wouldn't a user expect to see what he just opened? > 3) Bounding boxes which are advertised by the WMS server may be wrong. wouldn't the wms image placed wrongly then as well? or are there bboxes separate from the image georeference? > 4) Zoom to extents of the WMS layer does not necessarily show any map because > the layer may have more strict scale range. how would one find out these scale ranges? especially in a client like OJ. > > I would say that [2] should be taken into account when implementing and the > most robust zoom to layer should be based on re-projected WGS84 BBOX [1]. because WGS84 BBOX is the most reliable? > [3] and [4] are mainly something that users should be aware, though WMS > GetCapabilities may contain some info about the valid scale range. is this usually interpreted by client software and given to the user? >As a helper feature for recognizing the wrong BBOXes there could be a function >that converts the BBOXes from the server GetCapabilities into vector polygons. is that an idea to address my former question? still leaves, how other softwares address it, do they at all? ..thanks ede ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Jump-pilot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
