Details
-
Type:
Improvement
-
Status:
Reopened
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.4.2, 2.5-M1
-
Fix Version/s: 2.5.9
-
Component/s: referencing
-
Labels:None
Description
As reported in this mail thread:
http://www.nabble.com/Relaxing-coordinate-checks-in-MapProjection--td16154359.html
it would be very useful to relax the current bound checks on MapProjection (line ...) as they are breaking rendering in at least two applications depending on GeoTools (GeoServer and uDig).
Implementation ideas:
- add a new hint to ask for transform leniency
- use the current "lenient transform" hint to act on bound checks as well
The latter is probably the easiest way, but has backwards compatibility issues. At the moment the CRS.findMathTransform(from, to , lenient) javadoc states:
param lenient {@code true} if the coordinate operations should be created
even when there is no information available for a datum shift.
Most datastore and rendering code sets lenient to true in order to get a best effort behaviour, so the change proposed above would be consistent with the current intended usage, but not fully with the javadoc (thought it can be argued that it doesn't say anything about exception being thrown either, so the current behaviour is not specified in the javadocs either?).
Issue Links
- depends upon
-
GEOT-2117
Review GeoToolkit fixes
-
- is depended upon by
-
GEOS-1804
WMS requests returning blank depending on bounds
-
-
GEOS-1807
Coverages do not reproject properly betweeen EPSG:4326 and EPSG:900913
-
- is related to
-
GEOT-1747
GridCoverageRenderer fails to display coverages whose envelope touches the poles when reprojection to 900913 is required
-
- relates to
-
GEOT-1724
GeneralEnvelope should accepts envelopes crossing the antimeridian
-
we have got the same Problems with the Bounds check using GeoTools in our Application.
It would be very usefull if there will be a new hint to prevent throwing an Exeption in that case.