[Schmitzm-commits] r157 - trunk/src/schmitzm/geotools/gui
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Jun 22 15:01:09 CEST 2009
Author: mojays
Date: 2009-06-22 15:01:08 +0200 (Mon, 22 Jun 2009)
New Revision: 157
Modified:
trunk/src/schmitzm/geotools/gui/JMapPane.java
Log:
Modified: trunk/src/schmitzm/geotools/gui/JMapPane.java
===================================================================
--- trunk/src/schmitzm/geotools/gui/JMapPane.java 2009-06-22 12:58:36 UTC (rev 156)
+++ trunk/src/schmitzm/geotools/gui/JMapPane.java 2009-06-22 13:01:08 UTC (rev 157)
@@ -2489,14 +2489,14 @@
Envelope bbEnv = baseEnv;
if ( !baseCRS.equals(crs) )
bbEnv = JTSUtil.transformEnvelope(baseEnv, baseCRS, crs);
- // Filter fuer Envelope zusammenstellen
- Expression bbox = FilterUtil.FILTER_FAC.createBBoxExpression(bbEnv);
- GeometryFilterImpl bboxFilter = (GeometryFilterImpl) FilterUtil.FILTER_FAC.createGeometryFilter(AbstractFilter.GEOMETRY_BBOX);
- // GeometryFilterImpl bboxFilter = (GeometryFilterImpl)ff.createGeometryFilter(AbstractFilter.GEOMETRY_WITHIN);
- bboxFilter.setExpression2(bbox);
- return bboxFilter;
- }
+ // Filter fuer Envelope zusammenstellen
+ Expression bbox = FilterUtil.FILTER_FAC.createBBoxExpression(bbEnv);
+ GeometryFilterImpl bboxFilter = (GeometryFilterImpl) FilterUtil.FILTER_FAC.createGeometryFilter(AbstractFilter.GEOMETRY_BBOX);
+ // GeometryFilterImpl bboxFilter = (GeometryFilterImpl)ff.createGeometryFilter(AbstractFilter.GEOMETRY_WITHIN);
+ bboxFilter.setExpression2(bbox);
+ return bboxFilter;
}
+ }
/**
* {@link GeomFilterGenerator} for a "near distance" constraint.
More information about the Schmitzm-commits
mailing list