Details
-
Type:
Wish
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 8.0-RC1
-
Fix Version/s: 8.0-RC1
-
Component/s: referencing
-
Labels:None
Description
When running tests for PropertyDataStore from Eclipse the console is always opened to show:
May 1, 2012 4:10:37 PM org.geotools.referencing.operation.AuthorityBackedFactory createFromDatabase
WARNING: Failed to create a coordinate operation from "European Petroleum Survey Group" authority factory.
org.opengis.referencing.FactoryException: Could not locate grid file emhpgn.las
at org.geotools.referencing.operation.transform.NADCONTransform.locateGrid(NADCONTransform.java:248)
at org.geotools.referencing.operation.transform.NADCONTransform.<init>(NADCONTransform.java:232)
at org.geotools.referencing.operation.transform.NADCONTransform$Provider.createMathTransform(NADCONTransform.java:640)
at org.geotools.referencing.operation.DefaultMathTransformFactory.createParameterizedTransform(DefaultMathTransformFactory.java:463)
at org.geotools.referencing.operation.DefaultMathTransformFactory.createBaseToDerived(DefaultMathTransformFactory.java:352)
at org.geotools.referencing.factory.epsg.DirectEpsgFactory.createCoordinateOperation(DirectEpsgFactory.java:2727)
at org.geotools.referencing.factory.BufferedAuthorityFactory.createCoordinateOperation(BufferedAuthorityFactory.java:1041)
at org.geotools.referencing.factory.epsg.CoordinateOperationSet.createObject(CoordinateOperationSet.java:91)
at org.geotools.referencing.factory.IdentifiedObjectSet$Iter.toNext(IdentifiedObjectSet.java:394)
at org.geotools.referencing.factory.IdentifiedObjectSet$Iter.<init>(IdentifiedObjectSet.java:378)
at org.geotools.referencing.factory.IdentifiedObjectSet.iterator(IdentifiedObjectSet.java:221)
at org.geotools.referencing.factory.IdentifiedObjectSet.resolve(IdentifiedObjectSet.java:239)
at org.geotools.referencing.factory.epsg.DirectEpsgFactory.createFromCoordinateReferenceSystemCodes(DirectEpsgFactory.java:2849)
at org.geotools.referencing.factory.BufferedAuthorityFactory.createFromCoordinateReferenceSystemCodes(BufferedAuthorityFactory.java:1065)
at org.geotools.referencing.operation.AuthorityBackedFactory.createFromDatabase(AuthorityBackedFactory.java:242)
at org.geotools.referencing.operation.DefaultCoordinateOperationFactory.tryDB(DefaultCoordinateOperationFactory.java:1562)
at org.geotools.referencing.operation.DefaultCoordinateOperationFactory.createOperationStep(DefaultCoordinateOperationFactory.java:1006)
at org.geotools.referencing.operation.DefaultCoordinateOperationFactory.createOperation(DefaultCoordinateOperationFactory.java:286)
at org.geotools.referencing.operation.BufferedCoordinateOperationFactory.createOperation(BufferedCoordinateOperationFactory.java:256)
at org.geotools.referencing.CRS.findMathTransform(CRS.java:1150)
at org.geotools.data.DefaultFeatureResults.<init>(DefaultFeatureResults.java:126)
at org.geotools.data.AbstractFeatureSource.getFeatures(AbstractFeatureSource.java:219)
at org.geotools.data.property.PropertyDataStore2Test.testQueryReproject(PropertyDataStore2Test.java:256)
Does this represent a configuration or dependency problem? Or can this warning be asked to relax a little.
Not having a grid is a common situation, certainly would be better logged at finer/debug level.
I'll take a look.