Mapscript Bug? (was Re: [Mapserver-users] map drop shadow effect)

Jeff McKenna mckenna at dmsolutions.ca
Tue Jul 15 16:06:32 EDT 2003


I also get the same error, and have included a screen grab of my 
resulting map in the bug (it's actually bug#364).

Jeff



Yewondwossen Assefa wrote:
> I am gettting the same relult with a multiple styles and the shadow 
> effect. I have entered a Bug 346 on this.
> 
> Stephen, did this work for you ?
> 
> Later,
> 
> 
> Dan Barron wrote:
> 
>> Hi Dan,
>>
>> Since DM Solutions is the keeper of PHP/Mapscript, I thought I'd pass 
>> this along.
>>
>> In trying to use the STYLES with v4.0b2 PHP/Mapscript and SHP files to 
>> achieve a drop shadow effect, only the final STYLE COLOR actually 
>> fills within the polygon. So using the following:
>>
>> class
>> name 'myclass'
>> style
>> outlinecolor 0 0 255
>> color 0 255 0
>> offset 20 20
>> end
>> style
>> outlinecolor 255 0 0
>> color 204 204 204
>> offset 10 10
>> end
>> style
>> outlinecolor 0 0 0
>> color 255 255 204
>> end
>> end
>>
>> Gives two outlines of the polygon - one blue, one red - and one filled 
>> polygon outlined in black. Setting the backgroundcolor color object 
>> for a style object does not seem to work at all. I have also tried to 
>> explicitly change color, backgroundcolor for a style object in 
>> php/mapscript as well with the same results.
>>
>> I did not see these in bugzilla, so I wanted to verify if I am seeing 
>> a real bug - have you or DM Solutions developers been successful at 
>> using multiple style objects for a polygon layer and seeing that 
>> color, backgroundcolor and outlinecolor all behave normally?
>>
>> Dan Barron
>> dbarron at ddive.com
>>
>> At 11:10 AM 7/10/2003 -0400, Daniel Morissette wrote:
>>
>>> Then my previous reply was wrong... it seems that it's been done.
>>>
>>> Cool! :)
>>>
>>> Daniel
>>>
>>>
>>> Stepan Kafka wrote:
>>> >
>>> > There is possibility to CREATE shadows with offset parameter in the 
>>> current
>>> > version of Mapserver, eg.:
>>> >
>>> > CLASS
>>> > STYLE
>>> > COLOR 0 0 0
>>> > OFFSET 3 3
>>> > END
>>> > STYLE
>>> > COLOR 255 0 0
>>> > END
>>> > END
>>> >
>>> > Stepan Kafka
>>> >
>>> > > -----Pùvodní zpráva-----
>>> > > Od: mapserver-users-admin at lists.gis.umn.edu
>>> > > [mailto:mapserver-users-admin at lists.gis.umn.edu]za u~ivatele Dan 
>>> Barron
>>> > > Odesláno: 10. èervence 2003 0:32
>>> > > Komu: Daniel Morissette
>>> > > Kopie: Steve Lime; mapserver-users at lists.gis.umn.edu
>>> > > Pøedmìt: Re: [Mapserver-users] map drop shadow effect
>>> > >
>>> > >
>>> > > OK Thanks.
>>> > >
>>> > > After re-reading Steve's reply to the original post it sounded like
>>> > > Polygons were in the works but not working as yet - bad 
>>> assumption on my
>>> > > part. So has this popped onto the wish list or future
>>> > > development radar at
>>> > > all?
>>> > >
>>> > > Dan
>>> > >
>>> > > At 05:59 PM 7/9/2003 -0400, Daniel Morissette wrote:
>>> > > >Dan Barron wrote:
>>> > > > >
>>> > > > > Follow-up to an old post.
>>> > > > >
>>> > > > > In the latest version of MapServer has there been any further
>>> > > developments
>>> > > > > in creating drop shadow effects for polygons?
>>> > > > >
>>> > > >
>>> > > >I'm not aware of any developments in that direction.
>>> > > >
>>> > > >--
>>> > > >------------------------------------------------------------
>>> > > > Daniel Morissette morissette at dmsolutions.ca
>>> > > > DM Solutions Group http://www.dmsolutions.ca/
>>> > > >------------------------------------------------------------
>>> > > >_______________________________________________
>>> > > >Mapserver-users mailing list
>>> > > >Mapserver-users at lists.gis.umn.edu
>>> > > >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>>> > >
>>> > > _______________________________________________
>>> > > Mapserver-users mailing list
>>> > > Mapserver-users at lists.gis.umn.edu
>>> > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>>> > >
>>> > >
>>> > > ---
>>> > > Príchozí zpráva neobsahuje viry.
>>> > > Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
>>> > > Verze: 6.0.497 / Virová báze: 296 - datum vydání: 4.7.2003
>>> > >
>>> > ---
>>> > Odchozí zpráva neobsahuje viry.
>>> > Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
>>> > Verze: 6.0.497 / Virová báze: 296 - datum vydání: 4.7.2003
>>> >
>>> _______________________________________________
>>> Mapserver-users mailing list
>>> Mapserver-users at lists.gis.umn.edu
>>> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>>
>>
>>
>>
>>
> 


-- 
Jeff McKenna
GIS Specialist
DM Solutions Group Inc.
http://www.dmsolutions.ca




More information about the mapserver-users mailing list