Hi list,
I just experienced the following problem: I'm using the
shapefile-renderer and want to render 2 layers: the first is a very big
shapefile, symbolized by the LineSymbolizer.
The second one is a smaller shapefile, symbolized by the PointSymbolizer.
Rendering for the big shape usually takes about 8 seconds, if rendering
the whole one.
Rendering for the small shape, takes less than 1 second.
Anyways, when defining the PointSymbolizer in the XML-thing, the big
shapefile needs about 30 seconds or more to render, whether I render the
small one too or not.
Why is that? Is there a mistake in my XML-Definition, but if, shouldn't
the parser just stop?
Bernhard
8<---snip-snap-----------------------
final Style style
= loadStyle
(" <UserStyle>"
+ " <FeatureTypeStyle>"
+ " <Rule>"
+ " <LineSymbolizer>"
+ " <Stroke>"
+ " <CssParameter name=\"stroke\">#000000</CssParameter>"
+ " <CssParameter name=\"width\">1.0</CssParameter>"
+ " </Stroke>"
+ " </LineSymbolizer>"
+ " </Rule>"
+ " <Rule>" // when adding this one, it takes very long
to render.
+ " <PointSymbolizer>" // when removing it, whether I
render the small one or not
+ " <Fill>" // it works as fast as expected
+ " <!-- CssParameters allowed are fill"
+ " (the color) and fill-opacity -->"
+ " <CssParameter
name=\"fill\"><Literal>#FF0000</Literal></CssParameter>"
+ " </Fill>"
+ " </PointSymbolizer>"
+ " </Rule>"
+ " </FeatureTypeStyle>"
+ "</UserStyle>");
8<---snip-snap-----------------------
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users