Miles Jordan wrote:
> Richard (Abe) Coughlin wrote:
>> I've seen a few references to a link regarding database-driven styling,
>> but when I click on any of them they send me to the geoserver home page.
>>
>>
>> See http://geoserver.org/display/GEOSDOC/SLD+Snippets (the link).
>>
>> A reference to this link
>>
>> http://getsatisfaction.com/opengeo/topics/database_driven_styling_what
>> _am_i_doing_wrong.
>>
>>
>> I guess the link has been moved or similar. Can anyone tell me where
>> it is or if you saved/copied/printed it, can you send it to me.
>
> Not sure where that information is exactly now (pretty sure it is
> somewhere) but you can get the whole page from google's cache if you
> need to: http://webcache.googleusercontent.com/search?q=cache:1-
> sAaDyNW60J:geoserver.org/display/GEOSDOC/SLD%2BSnippets+sld+snippets+g
> eoserver&cd=1&hl=en&ct=clnk&gl=au&source=www.google.com.au
>
> The basic idea is that you can substitute styling attributes with values
> from your feature type, as in the example from the page: .
As I was saying before my last message magically sent...
...
<PolygonSymbolizer>
<Fill>
<CssParameter
name="fill"><ogc:PropertyName>income_color</ogc:PropertyName></CssParameter>
<CssParameter name="fill-opacity">0.5</CssParameter>
</Fill>
<Stroke>
<CssParameter
name="stroke"><ogc:PropertyName>income_color</ogc:PropertyName></CssParameter>
<CssParameter name="stroke-width">1</CssParameter>
</Stroke>
</PolygonSymbolizer>
...
Where the value inside of the PropertyName element is the name of your feature
attribute, or table column.
Regards,
Miles
___________________________________________________________________________
Australian Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If you are not
the
intended recipient, you are notified that use or dissemination of this
communication is
strictly prohibited by Commonwealth law. If you have received this transmission
in error,
please notify the sender immediately by e-mail or by telephoning +61 3 6232
3209 and
DELETE the message.
Visit our web site at http://www.antarctica.gov.au/
___________________________________________________________________________
------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world?
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users