Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] Re: [Geoserver-devel] WMS/lite and highly deformed bboxes

dblasby@xxxxxxxxxxxxx wrote:

I made a small change to lite renderer.

Instead of using the JTS.transform(Envelope,...) function to create a
query envelope in another CRS, it now first densifies the envelope
(into a "box" polygon) and transforms that.  The end result is a
"larger" bounding box search.

Nice but... as far as I remember, this is not the exact solution. Reprojection classes could, last time I checked, get a Shape implementation and reproject it creating exact (curved) reprojected lines. So the most accurate solution should be to get the box, reproject it
as a Shape, and then get the bounds2d of the reprojected shape.

Hope this helps
Best regards
Andrea Aime



Back to the top