Hi Asle,
That would be some sort of labelling, right? In that case, there's the
TextSymbolizer you can use in your SLD. You use the Label tag. The Propertyname
contains the name of the column in your PostGIS database that you want to use
to label the locations.
<TextSymbolizer>
<Label>
<ogc:PropertyName>column_name</ogc:PropertyName>
</Label>
...
</TextSymbolizer>
More on the TextSymbolizer and Labelling
http://docs.geoserver.org/latest/en/user/styling/sld-reference/labeling.html
Regards,
Edward
Date: Thu, 26 Apr 2012 19:14:10 +0200
From: [email protected]
To: [email protected]
Subject: [Geoserver-users] How do I make a text layer (text instead of
markers)?
Hello,I have a geoserver 2.1 running fine with many layers with markers.I want
to show a layer where the markers are the text from a field in the database
(Postgis) instead of an icon. How do I do that? Can anyone send me in the right
direction? Do I use SLD styling? Or do I do this in OpenLayers etc.? Thanks for
any help to a newbie!
~asle
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users