[Mapserver-users] Displaying Raster under PHP MapScript

Franck Martin franck at sopac.org
Mon Jun 30 05:11:44 PDT 2003


This is a multi-part message in MIME format.
--------------020805000409030100050704
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

I found the problem...

The path to the file was invalid, but MS was passing the error without 
any report even with debug enabled...

I think there should be at least a message in debug mode when a file is 
not found...

Cheers
Franck

Franck Martin wrote:

> I'm having trouble to display raster images under PHP mapscipt
>
> My map file seems to work (no error generated) but I always get a 
> blank image for the raster layer, why?
>
> I have tried with geoTiff images and ERDAS img files. Mapscipt has 
> been compiled with GDAL support and gdalinfo works correctly...
>
> My MAP file is as simple as the one in the RASTER HOWTO and I used the 
> coordinates supplied by gdalinfo for extents...
>
> I do not know what is happening...
>
> I use MapServer 3.6
>
> Cheers
>
> -- 
> Franck Martin <franck at sopac.org <mailto:franck at sopac.org>>
> SOPAC
>

--------------020805000409030100050704
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
  <title></title>
</head>
<body>
I found the problem...<br>
<br>
The path to the file was invalid, but MS was passing the error without
any report even with debug enabled...<br>
<br>
I think there should be at least a message in debug mode when a file is
not found...<br>
<br>
Cheers<br>
Franck<br>
<br>
Franck Martin wrote:<br>
<blockquote type="cite" cite="mid1056933861.2992.20.camel at localhost">
  <meta name="GENERATOR" content="GtkHTML/1.1.8">
I'm having trouble to display raster images under PHP mapscipt<br>
  <br>
My map file seems to work (no error generated) but I always get a blank
image for the raster layer, why?<br>
  <br>
I have tried with geoTiff images and ERDAS img files. Mapscipt has been
compiled with GDAL support and gdalinfo works correctly...<br>
  <br>
My MAP file is as simple as the one in the RASTER HOWTO and I used the
coordinates supplied by gdalinfo for extents...<br>
  <br>
I do not know what is happening...<br>
  <br>
I use MapServer 3.6<br>
  <br>
Cheers<br>
  <br>
  <table cellspacing="0" cellpadding="0" width="100%">
    <tbody>
      <tr>
        <td> -- <br>
Franck Martin <<a href="mailto:franck at sopac.org">franck at sopac.org</a>><br>
SOPAC </td>
      </tr>
    </tbody>
  </table>
</blockquote>
</body>
</html>

--------------020805000409030100050704--




More information about the MapServer-users mailing list