I'm having trouble finding documentation on how to set the background color of a map or make it transparent.
Another issue I was having was combining labels. I would like to label a street "N South St", not just "South" or display block numbers like "1200-1299". I got around this by combining the database fields into one, but that is kind of a hack.
Any help would be appreciated.
tom
I figured out how to make a complex label ie:
<Label><ogc:PropertyName>fedirp</ogc:PropertyName> <ogc:PropertyName>fename</ogc:PropertyName> <ogc:PropertyName>fetype</ogc:PropertyName></Label>
The problem I'm having now is the spaces between the PropertyName fields are not rendering. I also tried quoting, which just made the quotes and spaces both appear.
I'm still looking for how to change the background color.
Any help is greatly appreciated,
tom
On May 13, 2008, at 3:29 PM, Tom Farnham wrote:
I'm having trouble finding documentation on how to set the background
color of a map or make it transparent.
Another issue I was having was combining labels. I would like to label
a street "N South St", not just "South" or display block numbers like
"1200-1299". I got around this by combining the database fields into
one, but that is kind of a hack.
Any help would be appreciated.
tom
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Tom Farnham ha scritto:
I figured out how to make a complex label ie:
<Label><ogc:PropertyName>fedirp</ogc:PropertyName> <ogc:PropertyName>fename</ogc:PropertyName> <ogc:PropertyName>fetype</ ogc:PropertyName></Label>
The problem I'm having now is the spaces between the PropertyName fields are not rendering. I also tried quoting, which just made the quotes and spaces both appear.
I'm still looking for how to change the background color.
For background color: &BGCOLOR=0xRRGGBB
For transparent background: &TRANSPARENT=TRUE
For more information, see the WMS 1.1.1 specification:
http://portal.opengeospatial.org/files/?artifact_id=1081&version=1&format=pdf
Cheers
Andrea