[Schmitzm-commits] r1943 - trunk/schmitzm-gt/src/main/java/de/schmitzm/geotools
scm-commit at wald.intevation.org
scm-commit at wald.intevation.org
Sat Apr 14 11:46:59 CEST 2012
Author: alfonx
Date: 2012-04-14 11:46:59 +0200 (Sat, 14 Apr 2012)
New Revision: 1943
Modified:
trunk/schmitzm-gt/src/main/java/de/schmitzm/geotools/LegendIconFeatureRenderer.java
Log:
Modified: trunk/schmitzm-gt/src/main/java/de/schmitzm/geotools/LegendIconFeatureRenderer.java
===================================================================
--- trunk/schmitzm-gt/src/main/java/de/schmitzm/geotools/LegendIconFeatureRenderer.java 2012-04-14 00:24:41 UTC (rev 1942)
+++ trunk/schmitzm-gt/src/main/java/de/schmitzm/geotools/LegendIconFeatureRenderer.java 2012-04-14 09:46:59 UTC (rev 1943)
@@ -271,15 +271,11 @@
if (symbolizer instanceof TextSymbolizer) {
continue;
}
+
- // if (symbolizer instanceof RasterSymbolizer) {
- // log.warn("createImageForRule method can't be used for
- // RasterSymbolizers..");
- // }
- // else
final SimpleFeature sampleFeature = FeatureUtil
.createSampleFeature(featureType);
-
+
if (sampleFeature == null)
LOGGER.debug("sampleFeature " + sampleFeature);
@@ -293,8 +289,7 @@
size.height);
if (style2d != null) {
- StyledShapePainter styledShapePainter = new StyledShapePainter(
- null);
+ StyledShapePainter styledShapePainter = new StyledShapePainter();
styledShapePainter.paint(graphics, shape, style2d,
Integer.MAX_VALUE);
}
More information about the Schmitzm-commits
mailing list