Reboot and... voilá! It is working! :) Cheers
2015-04-11 12:02 GMT+01:00 Rahkonen Jukka (MML) < [email protected]>: > So does it work with one tiff on Linux? If yes the file access theory is > wrong. > > Jukka > ------------------------------ > Lähettäjä: Marco Afonso <[email protected]> > Lähetetty: 11.4.2015 13:57 > Vastaanottaja: Rahkonen Jukka (MML) <[email protected]> > > Kopio: mapserver <[email protected]> > Aihe: Re: [mapserver-users] Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11 > > Hi Jukka, > > 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. > > As I stated before, gdalinfo and ogrinfo are reading corretly the > shapefile and ecw files throught command line. > > What file permitions would be required? > > Thanks > > 2015-04-11 11:21 GMT+01:00 Rahkonen Jukka (MML) < > [email protected]>: > >> Hi, >> >> >> >> About how to test I have only one advice: Do it systematically. >> >> >> >> Being systematically means building something pretty simple that works >> first and add new stuff one and only one step at a time. Somehow like: >> >> >> >> Problem is that ECW layer through tileindex does not work. >> >> >> >> 1.) 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? >> >> 2.) 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. >> >> 3.) 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? >> >> >> >> 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? >> >> >> >> (): Unable to access file. Corrupt, empty or missing file >> '/home/mapas/dados/raster/ortos2012/006003Argb_12_d73.ecw' for >> layer 'ortos2012'. >> >> >> >> 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. >> >> >> >> -Jukka Rahkonen- >> >> >> >> >> >> *Lähettäjä:* [email protected] [mailto: >> [email protected]] *Puolesta *Marco Afonso >> *Lähetetty:* 10. huhtikuuta 2015 17:25 >> *Vastaanottaja:* Jeff McKenna >> *Kopio:* mapserver >> *Aihe:* Re: [mapserver-users] Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11 >> >> >> >> Hi again, >> >> >> >> Ok Jeff, I can change if I find something new. >> >> >> >> Not solved yet :p >> >> >> >> Ok, recompiled libecwj2 and gdal. gdalinfo is now reading the ecw >> correctly. >> >> >> >> But I still get the mapserver error... are there any further tests that I >> can do? >> >> >> >> Thanks. >> >> >> >> 2015-04-10 15:07 GMT+01:00 Jeff McKenna <[email protected]>: >> >> On 2015-04-10 10:34 AM, Marco Afonso wrote: >> >> >> Found this >> >> >> >> And reading moreover on http://trac.osgeo.org/gdal/wiki/ECW >> >> 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! >> >> -jeff >> >> >> >> >> -- >> Jeff McKenna >> MapServer Consulting and Training Services >> http://www.gatewaygeomatics.com/ >> >> >> >> >> >> >> >> _______________________________________________ >> mapserver-users mailing list >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> >> >> >> -- >> >> Regards, >> >> Marco Afonso >> >> http://goo.gl/ZDtQjm >> >> > > > -- > Regards, > Marco Afonso > http://goo.gl/ZDtQjm > > -- Regards, Marco Afonso http://goo.gl/ZDtQjm -- Regards, Marco Afonso http://goo.gl/ZDtQjm
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
