[Mapserver-users] Drawing Lines - Perl

Sean Gillies sgillies at frii.com
Mon Jun 14 12:22:08 EDT 2004


If a MS_SHAPE_LINE type shape doesn't draw with shape->draw but does
draw when added to an MS_LAYER_LINE type layer we have a bug.

Sean

On Jun 14, 2004, at 9:51 AM, Manfred Meier wrote:

> I added a "$layer->addFeature($shape);" and got a red triangle. Is 
> that right??
>
> Manfred
>
>
> Sidnei de Souza schrieb:
>
>> Dear all,
>> I'm having a problem drawing lines on-the-fly with Perl mapscript and 
>> haven't found anything in the list archive that can help me.
>> I'm attaching a perl script that I think should work, but a blank 
>> image is produced.
>> I'm trying this in a RedHat Linux, with mapserver 4.2.0
>> If I change the layer and shape types to POLYGON instead of LINE, a 
>> correct polygon is produced.
>> Any help will be very welcome!




More information about the mapserver-users mailing list