<HTML><HEAD><TITLE>[Gvsig_desarrolladores] [gvSIG Mobile 0.3] Bug in WKFRasterDriver?</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.17097" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText27437>
<DIV><FONT face="Times New Roman" color=#000000 size=3>Hello, Stefano, thanks for reporting this bug.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>I think the problem is that in the method getAllLayersExtent in the class MapContext, we are modifying the extent of the layer while computing the union of the layer extents</DIV>
<DIV>&nbsp;</DIV>
<DIV>There is a an international list for developers:</DIV>
<DIV>&nbsp;</DIV>
<DIV><A href="https://lists.forge.osor.eu/listinfo/gvsig-desktop-devel">https://lists.forge.osor.eu/listinfo/gvsig-desktop-devel</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards,</DIV>
<DIV><FONT face="Courier New" size=2><FONT face="Times New Roman" size=3>Juan Lucas Domínguez Rubio<BR></FONT>---</FONT></DIV></DIV>
<DIV id=idSignature89928>
<DIV><FONT face="Courier New" size=2><FONT face="Courier New" size=2><FONT face="Courier New" size=2>Prodevelop SL, Valencia (España)</FONT></DIV>
<DIV>
<DIV><FONT face="Courier New" size=2>Tlf.: 96.351.06.12 -- Fax: 96.351.09.68<BR></FONT><A href="http://www.prodevelop.es/"><FONT face="Courier New" size=2>http://www.prodevelop.es</FONT></A><BR><FONT face="Courier New" size=2>---</FONT></DIV></FONT></DIV></FONT></DIV>
<DIV><BR>
<HR>
<FONT face=Tahoma size=2><B>De:</B> gvsig_desarrolladores-bounces@listserv.gva.es en nombre de Stefano Orlando<BR><B>Enviado el:</B> mié 18/05/2011 12:25<BR><B>Para:</B> gvsig_desarrolladores@listserv.gva.es<BR><B>Asunto:</B> [Gvsig_desarrolladores] [gvSIG Mobile 0.3] Bug in WKFRasterDriver?<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Hi, I'm experimenting this behavior with raster layers with external .wld<BR>file ('WKFRasterDriver', I assume). See attached file for some data.<BR><BR>- Startup a new project with EPSG: 32633<BR>- Load 'big_extent.shp'<BR>- Load 'north.gif'<BR>- Do some "zoom in", "zoom out", "zoom extent"; all is ok<BR>- Go in 'Layer Properties' and invert the display order of the layers (now<BR>'big_extent.shp' is above 'north.gif')<BR>- Do 'zoom extent' and the raster layer is wrongly transformed to the<BR>maximum extent<BR><BR>Another:<BR>- Startup a new project with EPSG: 32633<BR>- Load 'south.gif'<BR>- Load 'north.gif'<BR>- Do some "zoom in", "zoom out", "zoom rectangle"; all is ok<BR>- Do 'zoom extent' and the raster 'south.gif' is wrongly positioned below<BR>'north.gif'<BR><BR>Perhaps a bug in the driver assuming an incorrect affine transformation (it<BR>seems that the parameters of the affine transformation are not changed but<BR>maintained between one layer to another)?<BR><BR>Thank you in advance for your help!<BR><BR>Stefano<BR></FONT></P></DIV></BODY></HTML>