[Mapserver-users] Interlaced Reference

Steve Lime steve.lime at dnr.state.mn.us
Mon Oct 6 23:47:04 EDT 2003


I may be wrong, but older versions of MapServer respected the settings of the input reference map. If it was a transparent image then so was the output image, same for interlacing. By chance is the input reference image interlaced?

Steve

>>> Vladimir Guzmán <vguzman at maintask.com> 10/06/03 7:34 PM >>>
Hello again.

I'm trying to use fpdf to get a "printable" map with phpmapscript.
Everything is fine, except that when I try to generate the Reference 
Map, I get the following error:

*FPDF error: *Interlacing not supported: 
/usr/local/apache/htdocs/tmp/MS_CTzMgP.png

This is because phpmapscript is producing an interlaced png, and FPDF 
can't handle it.

But I have the following in my .map file:

OUTPUTFORMAT
   NAME png
   MIMETYPE "image/png"
   DRIVER "GD/PNG"
   FORMATOPTION "INTERLACE=OFF"
END

#
# Start of reference map
#
REFERENCE
 IMAGE "/usr/local/apache/htdocs/sig_curaduria/graphics/reference7.png"
   EXTENT 983737 984000 1007778 1026000
 SIZE 183 320
 STATUS ON
 COLOR -1 -1 -1
 OUTLINECOLOR 255 0 0
END


And it works perfect for the legend, the scale and the map itself.
The file /usr/local/apache/htdocs/sig_curaduria/graphics/reference7.png 
is not interlaced.

My phpmapscript configuration:

MapServer Version     MapServer version 4.0-beta1 OUTPUT=PNG OUTPUT=JPEG 
OUTPUT=WBMP OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE 
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER INPUT=OGR 
INPUT=GDAL INPUT=SHAPEFILE
PHP MapScript Version     ($Revision: 1.168 $ $Date: 2003/06/04 17:57:12 $)



Any hints?

Thanks a lot,

-- 
Vladimir Ilich Guzmán R.
------------------------
http://www.maintask.com


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





More information about the mapserver-users mailing list