[udig-devel] CRS, bounds and ApplicationGIS.drawMap().

Vince Darley vince.darley at eurobios.com
Wed May 21 07:32:52 PDT 2008


At 15:09 21/05/2008, Jesse Eichar wrote:
This tells the ReferencedEnvelope that the ebounds are in the CRS
>"crs" which may not be correct.  (As far as I can tell).  The
>layer.getBounds(crs) automatically converts to the crs so that is ok.
>I would create the ReferencedEnvelope by:
>
>new ReferencedEnvelope(ebounds, layer.getCRS())

Ah, yes....and that does indeed solve the problem.  Thanks!

Vince.



More information about the udig-devel mailing list