Hi Franco,
Do you have any chance to run gdalinfo on that file and report back the
output?
(I wonder if there is an issue with the CoordinateReferenceSystem, such as
some missing elements defining it).
Please, let us know.
Cheers,
Daniele
On Tue, Apr 12, 2016 at 12:32 PM, Franco Minutiello <
franco.minutie...@darts.it> wrote:
> 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
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==
Ing. Daniele Romagnoli
Senior Software Engineer
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
------------------------------------------------------------------------------
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users