On 29 Sep 2014, at 09:10, Andrea Aime <[email protected]> wrote:

> We could back transform each bbox to wgs84 and pick the largest one, yet, 
> the reprojection itself back and forth can make bboxes larger each way one
> goes around (because of the rotation and the fact that the tilted reprojected
> bbox is turned into another axis parallel bbox), so reprojected bboxes
> migth look larger than a "original" wgs84 one.
> 
> I'm leaning towards keeping things simple and just pick the first bbox in the
> list. Would that work in your case?

Picking the first is fine for me as I can tune the capabilities myself. 
However, choosing the box for EPSG:4326 would be a more logical (IMO) choice. 
And layer.getBoundingBoxes() return a HashMap, so we will have to dig a bit 
deeper to find the *first* than just adding a “break;”.

Regards,
Tore Halset.


------------------------------------------------------------------------------
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to