/[schmitzm]
ViewVC logotype

Revision 472


Jump to revision: Previous Next
Author: alfonx
Date: Wed Oct 14 22:48:50 2009 UTC (15 years, 4 months ago)
Changed paths: 4
Log Message:
* AS-Feature: Added Double-Labeling to AtlasStyler
* AV-BugFix: Clicking points didn't work in GT2.6 and JMapPane because the dWithin filter broke?!


				// This is a tweak. The NearPointFilterGenerator doesn't work
				// any more in GT2.6... So we use a small BBOX.
				// Well, it's not the
				// NearPointFilterGenerator, but GeoTools that fails. I already
				// invested 3h in this... I guess the bug is in
				// ExtractBoundsFilterVisitor.visit(ProperyName) retuning null.
				// It should return the BBOX of value the named property.

				// Hashtable<MapLayer, FeatureCollection<SimpleFeatureType,
				// SimpleFeature>> result = findVisibleFeatures(
				// new NearPointFilterGenerator(geoCoord, dist,
				// getContext().getCoordinateReferenceSystem()),
				// state, envelope);

				final Envelope smallBox = new Envelope(geoCoord.getX() - dist,
						geoCoord.getY() -dist, geoCoord.getX()+dist, geoCoord.getY()+dist);

				Hashtable<MapLayer, FeatureCollection<SimpleFeatureType, SimpleFeature>> result = findVisibleFeatures(
						new BoundingBoxFilterGenerator(smallBox, getContext()
								.getCoordinateReferenceSystem()), state,
						envelope);



Changed paths

Path Details
Directorybranches/1.0-gt2-2.6/src/schmitzm/geotools/JTSUtil.java modified , text changed
Directorybranches/1.0-gt2-2.6/src/schmitzm/geotools/gui/GridPanel.java modified , text changed
Directorybranches/1.0-gt2-2.6/src/schmitzm/geotools/gui/JMapPane.java modified , text changed
Directorybranches/1.0-gt2-2.6/src/skrueger/AttributeMetadata.java modified , text changed

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26