Hello,

 

I was wondering if the PointSymbolizer is supposed to be able to support the
TTF and PropertyName substitution in a manner similar to the LineSymbolizer.

 

In the LineSymbolizer, I can do the following:

          <LineSymbolizer> <!-- Draw decoration -->

            <Stroke>

              <GraphicStroke>

                <Graphic>

                  <Mark>

 
<WellKnownName>ttf://Arial#<ogc:PropertyName>charHexValue</ogc:PropertyName>
</WellKnownName>

                    <Fill>

                      <CssParameter name="fill">#FFFF00</CssParameter>

                    </Fill>

.

But if I try something similar in the PointSymbolizer I get a strConcat
error and the SLD fails:

          <PointSymbolizer>

            <Graphic>

              <Mark>

 
<WellKnownName>ttf://Arial#<ogc:PropertyName>charHexValue</ogc:PropertyName>
</WellKnownName>

                <Fill>

                   <CssParameter name="fill">#FFFF00</CssParameter>

                </Fill>

.

 

Produces.

ERROR [geotools.rendering] - The specified mark strConcat([ttf://Arial#],
[charHexValue]) was not found!

java.lang.IllegalArgumentException: The specified mark
strConcat([ttf://Arial#], [charHexValue]) was not found!

        at
org.geotools.renderer.style.SLDStyleFactory.createPointStyle(SLDStyleFactory
.java:632)

        at
org.geotools.renderer.style.SLDStyleFactory.createPointStyle(SLDStyleFactory
.java:499)

        at
org.geotools.renderer.style.SLDStyleFactory.createStyleInternal(SLDStyleFact
ory.java:355)

        at
org.geotools.renderer.style.SLDStyleFactory.createStyle(SLDStyleFactory.java
:302)

        at
org.geotools.renderer.lite.StreamingRenderer.processSymbolizers(StreamingRen
derer.java:2554)

        at
org.geotools.renderer.lite.StreamingRenderer.process(StreamingRenderer.java:
2457)

        at
org.geotools.renderer.lite.StreamingRenderer.drawPlain(StreamingRenderer.jav
a:2313)

        at
org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRendere
r.java:1982)

        at
org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:80
4)

        at
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageM
apOutputFormat.java:490)

        at
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageM
apOutputFormat.java:250)

        at
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageM
apOutputFormat.java:125)

        at org.geoserver.wms.GetMap.executeInternal(GetMap.java:468)

        at org.geoserver.wms.GetMap.run(GetMap.java:208)

        at org.geoserver.wms.GetMap.run(GetMap.java:112)

 

Regards,

 

  Pete

 

--

Peter Blanchard                                       [email protected]

Senior Software Engineer                                  Cell: 619.253.7866

                                                          Fax:  813.907.9415

Programs Management Analytics & Technologies, LLC

www.PMATLLC.com

 

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to