<div dir="ltr">Hi Jukka,<div><br></div><div>We have exactly the same MS configuration, shapefile and ECW files working a older windows machine, so it seems to me that it is something to do with ms on linux.</div><div><br></div><div>As I stated before, gdalinfo and ogrinfo are reading corretly the shapefile and ecw files throught command line.</div><div><br></div><div>What file permitions would be required?</div><div><br></div><div>Thanks</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-11 11:21 GMT+01:00 Rahkonen Jukka (MML) <span dir="ltr"><<a href="mailto:jukka.rahkonen@maanmittauslaitos.fi" target="_blank">jukka.rahkonen@maanmittauslaitos.fi</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="FI" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">About how to test I have only one advice: Do it systematically.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Being systematically means building something pretty simple that works first and add new stuff one and only one step at a time. Somehow like:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Problem is that ECW layer through tileindex does not work.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p><u></u><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span>1.)<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Does it work with one ECW? It did not, you fixed the build and gdalinfo is OK now but did you also test that MapServer is now OK with
one ECW?<u></u><u></u></span></p>
<p><u></u><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span>2.)<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">If it is working with ECW then good. If it is not, make an additional test by converting one ECW into GeoTIFF and test your layer with
it. If it is OK there is still something wrong with ECW support. If GeoTIFF does not work there is something else wrong and you must fix it before you can even know if the issue has to do with ECW at all.<u></u><u></u></span></p>
<p><u></u><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span>3.)<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> If one GeoTIFF and one ECW is OK then perhaps something is wrong with the tileindex. Make a new tileindex that contains a) only that
one GeoTIFF you created in step 2 b) the same for the one original ECW. Do they work?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Test with the file /home/mapas/dados/raster/ortos2012/006003Argb_12_d73.ecw. Does it exist? Is it empty? Can’t it be accessed due to wrong path
or missing rights?<u></u><u></u></span></p><span class="">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">(): Unable to access file. Corrupt, empty or missing file '/home/mapas/dados/raster/ortos2012/006003Argb_12_d73.ecw' for layer 'ortos2012'. <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
</span><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">As a general rule, add DEBUG 5 into your layer when debugging, and I suggest to add always PROJECTION blocks into MAP and LAYER level.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-Jukka Rahkonen-<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Lähettäjä:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>]
<b>Puolesta </b>Marco Afonso<br>
<b>Lähetetty:</b> 10. huhtikuuta 2015 17:25<br>
<b>Vastaanottaja:</b> Jeff McKenna<br>
<b>Kopio:</b> mapserver<br>
<b>Aihe:</b> Re: [mapserver-users] Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div>
<div>
<p class="MsoNormal">Hi again,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">Ok Jeff, I can change if I find something new.<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Not solved yet :p<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Ok, recompiled libecwj2 and gdal. gdalinfo is now reading the ecw correctly.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">But I still get the mapserver error... are there any further tests that I can do?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks.<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">2015-04-10 15:07 GMT+01:00 Jeff McKenna <<a href="mailto:jmckenna@gatewaygeomatics.com" target="_blank">jmckenna@gatewaygeomatics.com</a>>:<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">On 2015-04-10 10:34 AM, Marco Afonso wrote:<u></u><u></u></p>
<p class="MsoNormal"><br>
Found this<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">And reading moreover on <a href="http://trac.osgeo.org/gdal/wiki/ECW" target="_blank">
http://trac.osgeo.org/gdal/wiki/ECW</a><u></u><u></u></p>
</blockquote>
<p class="MsoNormal">Those wiki pages are wonderful; please as you head down this path don't be afraid to update that ECW build wiki with any notes or changes you noticed. Thanks!<span style="color:#888888"><br>
<br>
<span>-jeff</span><br>
<br>
<br>
<br>
<br>
<span>-- </span><br>
<span>Jeff McKenna</span><br>
<span>MapServer Consulting and Training Services</span><br>
<span><a href="http://www.gatewaygeomatics.com/" target="_blank">http://www.gatewaygeomatics.com/</a></span></span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><u></u><u></u></p>
</div>
</div>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Regards, <u></u><u></u></p>
<div>
<p class="MsoNormal">Marco Afonso<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="http://goo.gl/ZDtQjm" target="_blank">http://goo.gl/ZDtQjm</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><img border="0" src="https://dl.dropboxusercontent.com/u/17607469/qr.png"><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div></div></div>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Regards, <div>Marco Afonso</div><div><a href="http://goo.gl/ZDtQjm" target="_blank">http://goo.gl/ZDtQjm</a><br></div><div><span></span><img src="https://dl.dropboxusercontent.com/u/17607469/qr.png"><br></div></div></div>
</div>