HI all,
I have problem with image mosaic plugin using geotiff.
The geoserver version is 2.8.1.
The same configurartion works with tiff copied from snow time series
examples.
in the page "Add Raster Data Source" I saw the following error:
"Could not list layers for this store, an error occurred retrieving
them: Failed to create reader from file:workspaces/.... and hints null"
I think there's a problem involving geotiff data tags.
This is the exception encoutered
2016-04-12 12:27:37,001 ERROR [imagemosaic.Utils] -
java.lang.NullPointerException
at
org.geotools.gce.imagemosaic.RasterManager$SpatialDomainManager.prepareCoverageSpatialElements(RasterManager.java:203)
at
org.geotools.gce.imagemosaic.RasterManager$SpatialDomainManager.<init>(RasterManager.java:178)
at
org.geotools.gce.imagemosaic.RasterManager.initialize(RasterManager.java:1472)
at
org.geotools.gce.imagemosaic.ImageMosaicConfigHandler.indexingPostamble(ImageMosaicConfigHandler.java:410)
at
org.geotools.gce.imagemosaic.ImageMosaicDirectoryWalker$MosaicDirectoryWalker.<init>(ImageMosaicDirectoryWalker.java:132)
at
org.geotools.gce.imagemosaic.ImageMosaicDirectoryWalker.run(ImageMosaicDirectoryWalker.java:196)
at org.geotools.gce.imagemosaic.Utils.createMosaic(Utils.java:359)
at org.geotools.gce.imagemosaic.Utils.checkSource(Utils.java:1237)
at
org.geotools.gce.imagemosaic.ImageMosaicReader.initReaderFromURL(ImageMosaicReader.java:516)
at
org.geotools.gce.imagemosaic.ImageMosaicReader.<init>(ImageMosaicReader.java:468)
at
org.geotools.gce.imagemosaic.ImageMosaicFormat.getReader(ImageMosaicFormat.java:483)
at
org.geotools.gce.imagemosaic.ImageMosaicFormat.getReader(ImageMosaicFormat.java:103)
at
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1441)
at
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1369)
at
org.geoserver.catalog.impl.CoverageStoreInfoImpl.getGridCoverageReader(CoverageStoreInfoImpl.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:146)
this is the listgeo output for the tif file
Geotiff_Information:
Version: 1
Key_Revision: 1.2
Tagged_Information:
ModelTransformationTag (4,4):
7.80859375 0 0 981591
0 -6.51432291666667 0 5538963
0 0 0 0
0 0 0 1
End_Of_Tags.
Keyed_Information:
GTModelTypeGeoKey (Short,1): ModelTypeProjected
GTRasterTypeGeoKey (Short,1): RasterPixelIsArea
GeographicTypeGeoKey (Short,1): GCS_WGS_84
ProjectedCSTypeGeoKey (Short,1): User-Defined
PCSCitationGeoKey (Ascii,24): "WGS84 / Google Mercator"
ProjectionGeoKey (Short,1): User-Defined
ProjCoordTransGeoKey (Short,1): CT_Mercator
ProjLinearUnitsGeoKey (Short,1): Linear_Meter
ProjLinearUnitSizeGeoKey (Double,1): 1
ProjNatOriginLongGeoKey (Double,1): 0
ProjNatOriginLatGeoKey (Double,1): 0
ProjFalseEastingGeoKey (Double,1): 0
ProjFalseNorthingGeoKey (Double,1): 0
ProjScaleAtNatOriginGeoKey (Double,1): 1
End_Of_Keys.
End_Of_Geotiff.
Projection Method: CT_Mercator
ProjNatOriginLatGeoKey: 0.000000 ( 0d 0' 0.00"N)
ProjNatOriginLongGeoKey: 0.000000 ( 0d 0' 0.00"E)
ProjScaleAtNatOriginGeoKey: 1.000000
ProjFalseEastingGeoKey: 0.000000 m
ProjFalseNorthingGeoKey: 0.000000 m
GCS: 4326/WGS 84
Datum: 6326/World Geodetic System 1984
Ellipsoid: 7030/WGS 84 (6378137.00,6356752.31)
Prime Meridian: 8901/Greenwich (0.000000/ 0d 0' 0.00"E)
Projection Linear Units: 9001/metre (1.000000m)
Corner Coordinates:
Upper Left ( 981591.000, 5538963.000) ( 8d49' 4.02"E, 44d39'55.73"N)
Lower Left ( 981591.000, 5533960.000) ( 8d49' 4.02"E, 44d38' 0.24"N)
Upper Right ( 989587.000, 5538963.000) ( 8d53'22.60"E, 44d39'55.73"N)
Lower Right ( 989587.000, 5533960.000) ( 8d53'22.60"E, 44d38' 0.24"N)
Center ( 985589.000, 5536461.500) ( 8d51'13.31"E, 44d38'57.99"N)
Thanks
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users