Antialias lines - error

Jennifer Strahan jennifer at GREENINFO.ORG
Wed Sep 20 13:51:04 PDT 2006


Hello Andreas,

Thanks for your response.  I currently have:

MapServer version 4.8.3.
PHP/Mapscript ($Revision: 1.242.2.2 $ $Date: 2006/03/16 21:03:01 $)
GD version  2.0 or higher

I am thinking about upgrading to 4.10 for the 
curved label support, but I'll probably wait 
until it's out of beta.  Any other suggestions on 
how I can get this working without upgrading?

Thanks,
Jennifer

At 01:40 PM 9/20/2006, you wrote:
>Jennifer,
>
>which version of Mapserver/Mapscript and GD are 
>you using? I've myself experienced random 
>crashes when trying to use antialiasing with 
>Mapserver versions prior to 4.8. Besides, back 
>then, even if the map rendered successfully, antialiasing didn't work.
>
>You should upgrade to the last stable version 
>(4.8.4) at least. You might even want to try the new 4.10 beta.
>
>Best regards,
>
>Jennifer Strahan wrote:
>>Hello,
>>I would like to use Antialias for some of my 
>>line layers.  It works fine for one of my 
>>layers (regional trails), but when I use it for 
>>another layer (highways), I get this error 
>>message:  Premature end of script headers: 
>>/var/www/cgi-bin/php.  If the map extent 
>>includes the entire highways layer, the map 
>>image is generated.  If I try to zoom in, the 
>>map image is not generated and I get that 
>>error.  Here's the layer definition in the mapfile:
>>LAYER
>>   GROUP "Line"
>>   NAME "Highways"
>>   STATUS ON
>>   TYPE LINE
>>   DATA Highways_dot
>>   TRANSPARENCY alpha
>>   CLASS
>>     NAME "Highways"
>>     STYLE
>>        WIDTH 1.5
>>           COLOR 140 140 138
>>        ANTIALIAS true
>>     END
>>   END #class
>>END # Layer
>>Here's the image output info:
>>OUTPUTFORMAT
>>   NAME png24
>>   DRIVER "GD/PNG"
>>   MIMETYPE "image/png"
>>   IMAGEMODE RGB
>>   EXTENSION "png"
>>END
>>Any suggestions?
>>Thanks,
>>Jennifer
>>
>>
>>Jennifer Strahan (Shanks)
>>GreenInfo Network - 1996-2006: A Decade of Mapping the Public Interest
>>116 New Montgomery  Street   Suite 738  San Francisco CA  94105
>>PH: (415)979-0343 x306    Fax:  415-979-0371     Web:  www.greeninfo.org
>
>--
>--------------------------------------------------------------------
>Andreas Albarello
>Analysis & SW Development
>
>Territorium Online srl/GmbH
>Via Buozzi/Buozzistraße 12 - I 39100 Bolzano/Bozen
>email: andreas.albarello at territoriumonline.com
>web:   www.territoriumonline.com
>--------------------------------------------------------------------
>

Jennifer Strahan (Shanks)
GreenInfo Network - 1996-2006: A Decade of Mapping the Public Interest
116 New Montgomery  Street   Suite 738  San Francisco CA  94105
PH: (415)979-0343 x306    Fax:  415-979-0371     Web:  www.greeninfo.org



More information about the MapServer-users mailing list