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 3) Bounding boxes which are advertised by the WMS server may be wrong. 4) Zoom to extents of the WMS layer does not necessarily show any map because the layer may have more strict scale range.
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]. [3] and [4] are mainly something that users should be aware, though WMS GetCapabilities may contain some info about the valid scale range. 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. -Jukka Rahkonen- ________________________________________ edgar.soldin wrote: > is there a specific reason that we do not zoom to a new opened wms layer? ..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 ------------------------------------------------------------------------------ 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
