Hello,
I have a problem with the use of MosaicIndexBuilder and my GeoTiff files.
First I have build the MosaicIndexBuilder from source of
/geotools/trunk/gt/modules/unsupported/coveragetools, which use the geotiff
support of gt2-geotiff-2.5-SNAPSHOT.jar
The Geotiff files uses a ModelTransformationTag for the projection
transformation, and will be projected in PCS: EPSG:23032 ED50 / UTM zone
32N.
If I call the MosaicIndexBuilder like: java -jar MosaicIndexBuilder.jar -s .
-w *.tif
i will get some warnings, and an exception:
Caused by: org.geotools.gce.geotiff.GeoTiffException: GEOTIFF Module Error
Report
Authority "EPSG" is unknown or doesn't match the supplied hints. Maybe it is
defined in an unreachable JAR file?
ModelPixelScaleTag: NOT AVAILABLE
ModelTiePointTag: NOT AVAILABLE
ModelTransformationTag: [
[0.3174591156874621,0.0,-0.31739982845239556,0.0,471002.9,5535016.6]]
GeoKey #1: Key = 1, Value = null ->where i use the ProjectedCSTypeGeoKey
(Short,1): PCS_ED50_UTM_zone_32N
GeoKey #2: Key = 1024, Value = 1
GeoKey #3: Key = 1025, Value = 1
org.opengis.referencing.NoSuchAuthorityCodeException: Authority "EPSG" is
unknown or doesn't match the supplied hints. Maybe it is defined in an
unreachable JAR
file?
at
org.geotools.referencing.factory.ManyAuthoritiesFactory.noSuchAuthority(ManyAuthoritiesFactory.java:488)
at
org.geotools.referencing.factory.ManyAuthoritiesFactory.getAuthorityFactory(ManyAuthoritiesFactory.java:466)
at
org.geotools.referencing.factory.ManyAuthoritiesFactory.getCRSAuthorityFactory(ManyAuthoritiesFactory.java:547)
at
org.geotools.referencing.factory.AuthorityFactoryAdapter.createCoordinateReferenceSystem(AuthorityFactoryAdapter.java:753)
at
org.geotools.referencing.factory.ThreadedAuthorityFactory.createCoordinateReferenceSystem(ThreadedAuthorityFactory.java:728)
at org.geotools.referencing.CRS.decode(CRS.java:419)
at
org.geotools.gce.geotiff.crs_adapters.GeoTiffMetadata2CRSAdapter.createProjectedCoordinateSystem(GeoTiffMetadata2CRSAdapter.java:313)
at
org.geotools.gce.geotiff.crs_adapters.GeoTiffMetadata2CRSAdapter.createCoordinateSystem(GeoTiffMetadata2CRSAdapter.java:236)
at
org.geotools.gce.geotiff.GeoTiffReader.getHRInfo(GeoTiffReader.java:276)
at
org.geotools.gce.geotiff.GeoTiffReader.<init>(GeoTiffReader.java:203)
at
org.geotools.gce.geotiff.GeoTiffFormat.getReader(GeoTiffFormat.java:251)
at
org.geotools.gce.geotiff.GeoTiffFormat.getReader(GeoTiffFormat.java:211)
at
it.geosolutions.utils.imagemosaic.MosaicIndexBuilder.run(MosaicIndexBuilder.java:401)
at java.lang.Thread.run(Unknown Source)
at
org.geotools.gce.geotiff.crs_adapters.GeoTiffMetadata2CRSAdapter.createProjectedCoordinateSystem(GeoTiffMetadata2CRSAdapter.java:335)
at
org.geotools.gce.geotiff.crs_adapters.GeoTiffMetadata2CRSAdapter.createCoordinateSystem(GeoTiffMetadata2CRSAdapter.java:236)
at
org.geotools.gce.geotiff.GeoTiffReader.getHRInfo(GeoTiffReader.java:276)
at
org.geotools.gce.geotiff.GeoTiffReader.<init>(GeoTiffReader.java:203)
... 4 more
Caused by: org.opengis.referencing.NoSuchAuthorityCodeException: Authority
"EPSG" is unknown or doesn't match the supplied hints. Maybe it is defined
in an unre
achable JAR file?
at
org.geotools.referencing.factory.ManyAuthoritiesFactory.noSuchAuthority(ManyAuthoritiesFactory.java:488)
at
org.geotools.referencing.factory.ManyAuthoritiesFactory.getAuthorityFactory(ManyAuthoritiesFactory.java:466)
at
org.geotools.referencing.factory.ManyAuthoritiesFactory.getCRSAuthorityFactory(ManyAuthoritiesFactory.java:547)
at
org.geotools.referencing.factory.AuthorityFactoryAdapter.createCoordinateReferenceSystem(AuthorityFactoryAdapter.java:753)
at
org.geotools.referencing.factory.ThreadedAuthorityFactory.createCoordinateReferenceSystem(ThreadedAuthorityFactory.java:728)
at org.geotools.referencing.CRS.decode(CRS.java:419)
at
org.geotools.gce.geotiff.crs_adapters.GeoTiffMetadata2CRSAdapter.createProjectedCoordinateSystem(GeoTiffMetadata2CRSAdapter.java:313)
... 7 more
Exception in thread "MosaicIndexBuilder" java.lang.NullPointerException
at
it.geosolutions.utils.imagemosaic.MosaicIndexBuilder.run(MosaicIndexBuilder.java:402)
at java.lang.Thread.run(Unknown Source)
Now I don't know if it's missing an additional referenced *.jar file which
will support spezific epsg's.
Has anyone an idea, which is wrong, or what happens with this stack message.
Thanks a lot
--
View this message in context:
http://www.nabble.com/MosaicIndexBuilder-and-EPSG%3A23032-tp14880648p14880648.html
Sent from the geotools-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel