[mapserver-users] Possible Bug? use Style with Offset and Colorfrom DB twice in one class section
Steve Lime
sdlime at gmail.com
Sat Jul 30 09:10:16 PDT 2011
Can you file a ticket please? Steve (trac.osgeo.org/mapserver)
Sent from my iPad
On Jul 28, 2011, at 12:57 AM, "Ralf Trier" <Ralf.Trier at logos-ib.de> wrote:
> Hi Steve,
> I use Version 6.0.0.
>
> Ralf
>
>> -----Ursprüngliche Nachricht-----
>> Von: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-
>> bounces at lists.osgeo.org] Im Auftrag von Steve Lime
>> Gesendet: Donnerstag, 28. Juli 2011 06:02
>> An: Ralf Trier
>> Cc: mapserver-users at lists.osgeo.org
>> Betreff: Re: [mapserver-users] Possible Bug? use Style with Offset and
>> Colorfrom DB twice in one class section
>>
>> What version? I remember fixing something like this at one point...
>> Steve
>>
>> Sent from my iPad
>>
>> On Jul 26, 2011, at 4:13 AM, "Ralf Trier" <Ralf.Trier at logos-ib.de>
>> wrote:
>>
>>> Hello,
>>>
>>> I want to draw two parallel lines to baselines from a database. The
>>> parallel lines should be drawn with the color set in the db.
>>>
>>> Part of my map file:
>>>
>>> LAYER
>>> NAME "tttt"
>>> TYPE LINE
>>> PROJECTION
>>> "init=epsg:900913"
>>> END
>>> STATUS DEFAULT
>>> CONNECTIONTYPE postgis
>>> CONNECTION "host=192.168.1.10 dbname=xxx user=xxx"
>>> DATA "way from (select id, color01, color02, way from myTable)
>>> as foo using unique id using srid=900913"
>>> SIZEUNITS pixels
>>> CLASS
>>> STYLE
>>> OFFSET 5 -99
>>> COLOR [color01]
>>> WIDTH 10
>>> LINECAP square
>>> END
>>> STYLE
>>> OFFSET -5 -99
>>> COLOR [color02]
>>> WIDTH 10
>>> LINECAP square
>>> END
>>> END
>>> END
>>>
>>> Strange think happens. The first parallel line is drawn with the
>>> expected color. The second line (second style instruction) will be
>> drawn
>>> in a random color seems to come from another line. The color (second
>>> line) will change depending form the scale.
>>>
>>> Any ideas?
>>>
>>> Thanks
>>> Ralf
>>>
>>> _______________________________________________
>>> mapserver-users mailing list
>>> mapserver-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list