[mapserver-users] Problems with sld´s polgonsymbolizer interpretation

Yewondwossen Assefa yassefa at dmsolutions.ca
Wed Jan 14 07:40:35 PST 2009


Thilo,

  Both ways of specifying css parameters are valid according to the 
specs. Only the first way is currently supported.

  I have update mapserver bug 
http://trac.osgeo.org/mapserver/ticket/1076 to be able to support the 
Literal expression for css parameters for the upcoming 5.4 release.

Best Regards


Thilo Wehrmann wrote:
> I could identify why my sld could not be interpreted but it doesn´t make
> sense to me. The problem is that without the value in the ogc:Literal
> context it worked like:
> <sld:Fill>
> <sld:CssParameter name="fill">#FFECBF</sld:CssParameter>
> <sld:CssParameter name="fill-opacity">
> <ogc:Literal>1</ogc:Literal>
> </sld:CssParameter>
> </sld:Fill>
> 
> instead of this one:
> <sld:Fill>
> <sld:CssParameter name="fill">
> <ogc:Literal>#FFECBF</ogc:Literal>
> </sld:CssParameter>
> <sld:CssParameter name="fill-opacity">
> <ogc:Literal>1</ogc:Literal>
> </sld:CssParameter>
> </sld:Fill>
> 
> And that was the reason why fonts are interpreted, too. There were no
> ogc:Literal specifications used. For working purpose I can replace all the
> ogc:Literal tag but I think this can be only a transitional solution.
> 
> Thilo Wehrmann
> 
> 
> Thilo Wehrmann wrote:
>>     hello together,
>> sorry for possible double submission. Currently we work at the dynamic
>> generation of wms service layers for our project data. For styling
>> issues we use slds stored in exist database. The access to the sld works
>> straight but we figure out some problems with line/polygonsymbolizer
>> interpretation of the returned slds. For the raster data everything
>> works fine but for all vector data the fill colours won´t be used
>> (standard grey is used instead. Mapserver 5.2.1 uses the sld because
>> changes of the font settings are recognized and correctly rendered.
>>
>> [SLDs deleted...]
>>
>> The compiled map file after sld interpretation says nothing about these
>> settings and standard colours are used for painting. I read that there
>> were some problems in earlier versions of mapserver concerning stroke
>> colours...
>>
>> Does anybody know about this problem or knows a workaround? mapserver is
>> quite an impressive piece of software.
>>
>> Thank you and best regards,
>>  Thilo Wehrmann
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>>
> 


-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------




More information about the MapServer-users mailing list