[Mapserver-users] Re: still a problem with ecw output

Frank Warmerdam warmerdam@pobox.com
Fri, 02 May 2003 10:04:53 -0400


Paul Hasenohr wrote:
> Frank,
>  
> I posted a message to the mapserver user list three weeks ago about a 
> problem with ecw output (the ecw generated file stayed in the server web 
> temp folder and was not sent back to the client browser).
> You answered me that there was a problem of filename (the filename 
> expected by mapserver from gdal/ecw was different from the one produced 
> by gdal/ecw). You wrote that you probably fixed the problem but couldn't 
> test it.
> I downloaded yesterday a new windows built of mapserver from dmsolutions 
> website (file mapserver-3.7-dev-win32-php4.3.0-gd2.zip created by 
> 23-Apr-2003 12:08 with a size of 14.0M)
> I presume it integrated your modifications to the mapserver source code 
> as the error I get now from mapserver trying to produce an ecw output is 
> different.
> In fact, I don't receive any error message. When I try to produce an ecw 
> image, my browser asks me if I want to download a file called "mapserv". 
> This file has the same size as the ecw image produced in the web temp 
> directory (called for example 105172245637240.ecw against 
> 105172245637240.img.ecw before you changed the code) but it's not an ecw 
> image (ER Viewer can't open it).
> Have you any idea of what's happening ?

Paul,

Can you send me an example of this pseudo-ecw file?  It is vaguely possible
that ERViewer is very deciding what API to use based on extension though that
seems unlikely.

Next, are you using MapServer in "traditional" mode where mapserv returns an
HTML page referring to the image internally using an <img> tag, or are you
using it in WMS mode where the cgi-bin call to mapserver returns an image
result directly?  In WMS mode the filename is essentially lost and you would
see the filename behaviour you encounter, while in MapServer mode this should
not occur.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent


_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users