[mapserver-users] Raster reprojection

Vladimir Guzmán vguzman at bigfoot.com
Tue Feb 26 09:35:08 EST 2002


I'm sorry to disturb you again with the same problem, but I can not 
figure out why do I have to install gdal library,
if I didn't need it with MS 3.4.

The error appears when I use a tiff image as background map, so I 
decided to use a png, with the same result:

*Warning*: MapServer Error in msDrawRasterLayer( PNG ): Raster 
reprojection supported only with the GDAL library. in 
*/usr/local/apache/htdocs/sig/admin/templates/mapa_form.php* on line *246*

*Fatal error*: Call to a member function on a non-object in 
*/usr/local/apache/htdocs/sig/admin/templates/mapa_form.php* on line *247*

But the error doesn't appear every time,  only in some zooms.

Do I have to install gdal anyway?
Why?

Thanks a lot,

-- 
Vladimir Guzmán R.
-----------------
www.main-task.com



Pushkar Pradhan wrote:

>You should have to recompile mapserver with the --without-tiff option
>and --with-gdal=/path/to/gdal-config
>Otherwise what happens is that when MS comes across the TIFF img. it calls
>the TIFF libs. and GDAL libs. will never be called.
>
>>Hello.
>>I'm having a problem with ms.
>>>From time to time, I get an error:
>>
>>Warning: MapServer Error in msDrawRasterLayer( TIFF ): Raster reprojection
>>supported only with the GDAL library. in
>>/usr/local/apache/htdocs/sig/templates/mapa_form.php on line 234
>>
>>I've read in the mail-list, and Frank Warmerdam says that it is necessary to
>>reconfigure without tiff support.
>>Reconfigure what? GD? MS? PHP?
>>
>>My configure options:
>>PHP:
>>./configure --with-dbase=yes --with-system-regex --with-png=yes --without-ttf
>>--with-apxs=/usr/local/apache/bin/apxs --with-mysql --with-pgsql
>>--with-config-file-path=/etc
>>MS:
>>./configure --with-gd=/programas/gd-1.8.4 --with-php=/programas/php-4.0.6
>>--with-apxs=/usr/local/apache/bin/apxs --with-sde --with-ttf
>>
>>Thanks a lot,
>>
>>
>>--
>>Vladimir Guzmán
>>www.main-task.com
>>
>
>------------------------------------------------------------------------------
>PUSHKAR S. PRADHAN
>Research Assistant
>MISSISSIPPI STATE UNIVERSITY,
>STARKVILLE, MS 39759.
>
>Engineering Research Center
>Box 9627
>Mississippi State, MS 39762-9627
>------------------------------------------------------------------------------
>
>





More information about the mapserver-users mailing list