<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><title>[Gvsig_desarrolladores] [gvSIG Mobile 0.3] Bug in WKFRasterDriver?</title><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.StileMessaggioDiPostaElettronica18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=IT link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Juan Lucas, thank you for your answer. I check for a workaround, hopefully in the international list this time ...<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Bye. Stefano<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>Da:</span></b><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'> gvsig_desarrolladores-bounces@listserv.gva.es [mailto:gvsig_desarrolladores-bounces@listserv.gva.es] <b>Per conto di </b>Juan Lucas Dominguez Rubio<br><b>Inviato:</b> mercoledì 18 maggio 2011 17:09<br><b>A:</b> Lista de Desarrolladores de gvSIG; gvsig_desarrolladores@listserv.gva.es<br><b>Oggetto:</b> Re: [Gvsig_desarrolladores] [gvSIG Mobile 0.3] Bug in WKFRasterDriver?<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div id=idOWAReplyText27437><div><p class=MsoNormal><span style='color:black'>Hello, Stefano, thanks for reporting this bug.</span><o:p></o:p></p></div><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal>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<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal>There is a an international list for developers:<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal><a href="https://lists.forge.osor.eu/listinfo/gvsig-desktop-devel">https://lists.forge.osor.eu/listinfo/gvsig-desktop-devel</a><o:p></o:p></p></div><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal>Regards,<o:p></o:p></p></div><div><p class=MsoNormal>Juan Lucas Domínguez Rubio<br><span style='font-size:10.0pt;font-family:"Courier New"'>---</span><o:p></o:p></p></div></div><div id=idSignature89928><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>Prodevelop SL, Valencia (España)<o:p></o:p></span></p></div><div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>Tlf.: 96.351.06.12 -- Fax: 96.351.09.68<br><a href="http://www.prodevelop.es/">http://www.prodevelop.es</a><br>---<o:p></o:p></span></p></div></div></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div class=MsoNormal align=center style='text-align:center'><hr size=3 width="100%" align=center></div><p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> 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?</span><o:p></o:p></p></div><div><p><span style='font-size:10.0pt'>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 &quot;zoom in&quot;, &quot;zoom out&quot;, &quot;zoom extent&quot;; 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 &quot;zoom in&quot;, &quot;zoom out&quot;, &quot;zoom rectangle&quot;; 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</span><o:p></o:p></p></div></div></body></html>