[Cartoweb-users] raster compatibility towards Win-Unix

Oliver Christen oliver.christen at camptocamp.com
Wed Mar 17 12:18:34 EST 2010


Hi Simone

if you havent already tried, you can test to read the data directly with
gdal in commandline and you will directly see if the problem is really
there.

also, you can get the list of supported format by the version of gdal you
have by typing:
gdalinfo --formats
in commandline

check if the format you want to read is listed,
if not, the version of gdal on your unix server is most certainly outdated
and you need to install/compile a new version.

if it is listed, then maybe the mapserver installed on your server was not
compiled with gdal.
to check that, you can either access with your browser the url
../cartoweb3/scripts/info.php on your server (or move the info.php in
another folder where you can access it)
or in commandline, go to where mapserver cgi is installed (usualy
/usr/lib/cgi-bin/) and type "mapserv -v" and you should see INPUT=GDAL in
the list.

regards
Oliver

2010/3/17 Simone Frigerio <simone.frigerio at univie.ac.at>

> Hi,
> I translated a Win environment project CW3 in Unix server. With some
> work and settings now it work, but the problem is about raster migration
> (no problem on Win).
> Different kind or raster format and compression type has been tested,
> this is the result:
>  On Win server, for kind of raster:
> - SID: not working  (probably not supported)
> - IMG: working
> - ECW:  working
> - JPG2000: working
> - esri GRID working
> On Unix server, for kind of raster:
> - SID: not working  (probably not supported)
> - IMG: not working
> - ECW:  not working
> - JPG2000: not working
> - esri GRID working
>
> My idea is probably due to a GDAL special conversion for Unix env. I
> see, for example for ECW format, http://trac.osgeo.org/gdal/wiki/ECW
> like a potential help, but I am not expert about it. Is it true? Are
> there other issues? Can a new library support all file raster
> incompatibility, or is type-settled?
> Thanks.
> Simone
>
>
>
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20100317/d2eb5802/attachment.htm 


More information about the Cartoweb-users mailing list