envelope coordinates

Topics: SharpMap v0.9 / v1.x
Jul 17, 2012 at 5:54 AM

Hi everyone,
After upgrading to the last version of sharpmap 0.9 I noticed that the envelope coordinates of transformated layers seems to be wrong. I use the DotSpatial.Projections and I think that the function "TransformBox" has to be changed from
var res = new BoundingBox(corners[0], corners[1], corners[4], corners[5]);res.ExpandToInclude(new BoundingBox(corners[2], corners[3], corners[6], corners[7]));
to 
var res = new BoundingBox(corners[0], corners[4], corners[1], corners[5]);res.ExpandToInclude(new BoundingBox(corners[2], corners[6], corners[3], corners[7]));

Maybe you can check it. Thanks a lot.

Coordinator
Jul 17, 2012 at 6:55 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Jul 17, 2012 at 6:14 PM

Thank you, HansFr....

With regards,

dennis