Just want to verify that it isn’t possible to fully style layers with data from
the SQL view providing the layer with data?
Curiously, Marks actually do seem to be able to work in this way - we have a
join in our SQL view that fetches the correct styling data for a given record
and we can style each point with a valid WellKnownName string coming from an
attribute.
E.g. ‘A->’ (below) works correctly with the shape string coming with each sql
record… But ‘B->’ and ‘C->’, which are fill and stroke colors, do not work by
the same mechanism?
Investigating the code and documentation suggests WellKnownName is a curious
exception. Is that correct? If not, is there an alternate syntax we have missed?
//Partial SLD example
<PointSymbolizer>
<Graphic>
<Mark>
<WellKnownName>
A-> ${shape_name}
</WellKnownName>
<Fill>
<CssParameter name="fill">
B-> ${fill_color}
</CssParameter>
</Fill>
<Stroke>
<CssParameter name=“stroke">
C-> ${stroke_color}
</CssParameter>
</Fill>
</Mark>
</Graphic>
</PointSymbolizer>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users