From: Jody G. (JIRA) <ji...@co...> - 2006-04-03 13:52:49
|
[ http://jira.codehaus.org/browse/GEOS-434?page=3Dall ] =20 Jody Garnett reopened GEOS-434: ------------------------------- Assign To: dblasby (was: Gabriel Rold=E1n) Suel we seem to have a miss understanding, I voted -1 because geotools was = not ready (did not have a convention in place) to support patches that exte= nded functionality defined by a standard. -1 means not yet but I will help,= and in response to your patch we have set up geotools to allow for this. I would love to see your patch applied to 2.2.x and included in a future ge= oserver release. The part we needed to do is completed and I would now vote= +1. (The only negative vote is +0). Jody > Patch to add Label Shields to geotools literenderer > --------------------------------------------------- > > Key: GEOS-434 > URL: http://jira.codehaus.org/browse/GEOS-434 > Project: GeoServer > Type: New Feature > Components: WMS > Versions: 1.3.0 RC4.SC1 > Reporter: Saul Farber > Assignee: dblasby > Priority: Minor > Fix For: 1.4.M0 > Attachments: labelshields-geoserver-1.3.0.RC4.SC1.patch, labelshields-ge= oserver-2.1-r17645.patch, labelshields-r18876.patch > > > This is a patch to the 1.3.0RC4.SC1 geotools subversion tag, which enable= s "Label Shields" in the SLD renderer. > Here are a few examples. > This textsymbolizer: > <TextSymbolizer> > <Label> > <PropertyName xmlns=3D"http://www.opengis.net/ogc/filter">RT_NUMBER</Pr= opertyName> > </Label> > <Fill> > <CssParameter name=3D"fill">#000000</CssParameter> > q</Fill> > <Font> > <CssParameter name=3D"font-family">/usr/lib/j2sdk1.5-sun/jre/lib/fonts/= LucidaSansDemiBold.ttf</CssParameter> > <CssParameter name=3D"font-weight">medium</CssParameter> > <CssParameter name=3D"font-style">bold</CssParameter> > <CssParameter name=3D"font-size">18</CssParameter> > </Font> > <Graphic> > <Mark> > <WellKnownName>circle</WellKnownName> > <Fill> > <CssParameter name=3D"fill">#BBBBBB</CssParameter> > </Fill> > </Mark> > <Opacity>.5</Opacity> > <Size>30</Size> > </Graphic> > </TextSymbolizer> > will produce the standard labeling, but with a gray circle of radius 30 = pixels UNDERNEATH the label. > The following textsymbolizer > <TextSymbolizer> > <Label> > <PropertyName xmlns=3D"http://www.opengis.net/ogc/filter">RT_NUMBER</Pr= opertyName> > </Label> > <Fill> > <CssParameter name=3D"fill">#FFFFFF</CssParameter> > </Fill> > <Font> > <CssParameter name=3D"font-family">/usr/lib/j2sdk1.5-sun/jre/lib/fonts/= LucidaSansDemiBold.ttf</CssParameter> > <CssParameter name=3D"font-weight">medium</CssParameter> > <CssParameter name=3D"font-style">bold</CssParameter> > <CssParameter name=3D"font-size">18</CssParameter> > </Font> > <Graphic> > <ExternalGraphic> > <OnlineResource xlink:href=3D"http://<myip>/~sfarber/images/Interstat= e_shield.gif"/> > <Format>image/gif</Format> > </ExternalGraphic> > <Size>30</Size> > </Graphic> > </TextSymbolizer> > will produce the standard labeling, but with a 30x30pixel scaled instanc= e of the graphic at the referenced URL UNDERNEATH the label. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |