[udig-devel] Running uDig 1.1-RC10a on Linux,
I've attempted to display a layer
from a SHP file with an SLD that filters symbols out to several different
external graphics.,,The SLD validates, and the symbols do indeed display,
filtered as they should. However, any re-rendering of the map (zoom in or
out, for instance) generates about 10 instances of "An error has occurred.
See error log for details." before it finally displays the map correctly., ,
I'm
attaching a text file with snippets from the SLD and from the log. (We'll
see if that makes it through.) Any direction would be appreciated.,,I'd
like to echo Peter Schweitzer's comments: uDig is very usable and a place
to post the "How do I do this?" questions I haven't seen answered yet would
be helpful -- a place where we wouldn't be bothering the developers, that
is.,,Ron Bentley
Ron Bentley
ronbentley at earthlink.net
Wed May 30 13:05:45 PDT 2007
Running uDig 1.1-RC10a on Linux, I've attempted to display a layer from
a SHP file with an SLD that filters symbols out to several different
external graphics.
The SLD validates, and the symbols do indeed display, filtered as they
should. However, any re-rendering of the map (zoom in or out, for
instance) generates about 10 instances of "An error has occurred. See
error log for details." before it finally displays the map correctly.
I'm attaching a text file with snippets from the SLD and from the log.
(We'll see if that makes it through.) Any direction would be appreciated.
I'd like to echo the sentiments that a place to post the "How do I do
this?" questions I haven't seen answered yet would be helpful -- a place
where we wouldn't be bothering the developers, that is.
Ron Bentley
-------------- next part --------------
Excerpt from the SLD:
<sld:PointSymbolizer>
<sld:Graphic>
<sld:ExternalGraphic>
<sld:OnlineResource
xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:type="simple"
xlink:href="file:/home/rbentley/mec/Mapping/Symbols/customer-red.png"/>
<sld:Format>image/png</sld:Format>
</sld:ExternalGraphic>
<sld:Size>
<ogc:Literal>25.0</ogc:Literal>
</sld:Size>
</sld:Graphic>
</sld:PointSymbolizer>
Excerpt from the log:
!ENTRY org.eclipse.jface 4 2 2007-05-30 13:42:00.307
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.IllegalArgumentException: Argument not valid
at org.eclipse.swt.SWT.error(SWT.java:3358)
at org.eclipse.swt.SWT.error(SWT.java:3297)
at org.eclipse.swt.SWT.error(SWT.java:3268)
at org.eclipse.swt.graphics.GC.drawImage(GC.java:500)
at net.refractions.udig.ui.graphics.NonAdvancedSWTGraphics.drawImage(NonAdvancedSWTGraphics.java:456)
at net.refractions.udig.ui.graphics.NonAdvancedSWTGraphics.drawImage(NonAdvancedSWTGraphics.java:294)
More information about the udig-devel
mailing list