Thanks Andrea for the answer. Unfortunately, I have added the .prj files with no luck. I have also tried different file formats (png, geotiff) and pixel types (integer and float), and I’ve always got the same error.
Moreover, I haven’t been able to publish a mosaic that is correctly published on a different server (I mean, copying the same files to my test server and publishing them from Geoserver interface fails).
I am starting to think that there is some bug on the plugin, and that it may only arise under some environment circumstances. But it doesn’t seem to be related with Geoserver version, as both the successfully and the failing server are using 2.8.1 version (and I’ve got the same error on a 3rd test server using version 2.8.0).
Any idea?
mosaicintpng.zip
···
On 14 December 2015 at 08:56, Andrea Aime <andrea.aime@anonymised.com> wrote:
Hi Cesar,
only had a cursory look so far (could not test it), but if memory serves me right, this
kind of mosaic won’t load because GeoServer cannot read the georeferencing
in the XML files, and needs a .prj sidecar instead
Cheers
Andrea
–
On Sun, Dec 13, 2015 at 8:43 PM, César Martínez Izquierdo <cesar.izq@anonymised.com> wrote:
mosaicint.zip
I am trying to create an ImageMosaic coverage store which includes
with time dimension, but I am getting the following error:
“Could not list layers for this store, an error occurred retrieving
them: Failed to create reader from file:data/dev3/mosaicpng and hints
null”
I have tried using different raster formats (geotiffs and pngs) to try
to workaround the problem, but the error persists. Any idea?
The log shows the following error:
Caused by: java.io.IOException: Failed to create reader from
file:data/dev3/mosaicpng and hints null
at org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1443)
at org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1369)
at org.geoserver.catalog.impl.CoverageStoreInfoImpl.getGridCoverageReader(CoverageStoreInfoImpl.java:59)
at sun.reflect.GeneratedMethodAccessor231.invoke(Unknown Source)
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)
at com.sun.proxy.$Proxy8.getGridCoverageReader(Unknown Source)
at org.geoserver.web.data.layer.NewLayerPageProvider.getItemsInternal(NewLayerPageProvider.java:90)
… 115 more
I attach the contents of the data folder (they are just junk layers
created for testing purposes).
César
–
César Martínez Izquierdo
GIS developer
Blog: http://geotechnotes.wordpress.com/
ETC-SIA: http://sia.eionet.europa.eu/
Universitat Autònoma de Barcelona (SPAIN)
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.
Geosolutions’ Winter Holidays from 24/12 to 6/1
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
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.
César Martínez Izquierdo
GIS developer
Blog: http://geotechnotes.wordpress.com/
ETC-SIA: http://sia.eionet.europa.eu/
Universitat Autònoma de Barcelona (SPAIN)