DefaultMapContext patch getLayerBounds

1 message Options
Embed this post
Permalink
fgdrf

DefaultMapContext patch getLayerBounds

Reply Threaded More More options
Print post
Permalink
Hi Andrea,

I created an issue (http://jira.codehaus.org/browse/GEOT-2600) with an attached patch (includes a test case) for the layer bounds problem. Could you review and maybe apply it to 2.5.x and trunk? Would be great!

Thanks so far,

Frank

> > And by the way:
> > Strange code found  (trunk and branch 2.5.x) in
> > DefaultMapContext.getLayerBounds() :
> >
> > ... env = layer.getBounds(); sourceCrs =
> > env.getCoordinateReferenceSystem(); if (env == null) {
> > // why check here after env.getCoordinateReferenceSystem() ?
> > continue; } else { ...
>
> Right, most definitely a bug.
>
> Cheers
> Andrea
>
> --
> Andrea Aime
> OpenGeo - http://opengeo.org
> Expert service straight from the developers.
>



------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Geotools-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-devel