Daniele -

      Thank you for your reply, which serves to remind me that I should
have posted the solution to the list, because I was able to resolve this.

     I realized after going through the documentation that the ImageMosaic
plugin would need write permission to the mosaic directory. Once I gave the
tomcat user write permission to the directory, creating the mosaic worked.

     I would make two suggestions for the documentation/implementation of
the ImageMosaic plugin. One, that write failures to the mosaic directory
have a clear error message. As you can see from my original post, there
were no hints. Two, creating an image mosaic and then viewing it caused
Geoserver to throw 'too many open files' errors. A bit of documentation on
how to increase the limit on the number of open files would be a good
addition to the ImageMosaic docs. Once I figure out all of the steps, I
would be glad to contribute that.

Garey


On Thu, Sep 18, 2014 at 9:03 AM, Daniele Romagnoli <
daniele.romagn...@geo-solutions.it> wrote:

> Hi Garey,
> sorry for the late reply.
> Could you please report the full log exception?
> Could you also report the gdalinfo output?
>
> Best Regards,
> Daniele
>
>
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/NWWaa2 for more information.
> ==
>
> Ing. Daniele Romagnoli
> Senior Software Engineer
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 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.
>
>
> On Mon, Sep 8, 2014 at 8:01 PM, Garey Mills <gmi...@library.berkeley.edu>
> wrote:
>
>> Using Geoserver 2.5.2 with GDAL extensions installed on RHEL6, I have a
>> directory of '.img' files which should form a mosaic. Using gdalinfo I can
>> see that the '*.img' files are in Erdas Imagine format. Each file is
>> accompanied by an '*img.xml' and an '*.rrd' file.
>>
>> When, however, I try to import the directory into Geoserver, (ImageMosaic
>> store, when creating the store I choose the directory containing the
>> images, I get the following message:
>>
>> Could not list layers for this store, an error occurred retrieving them:
>> Failed to create reader from file:data/<directory name> and hints null
>>
>> This error message appears in the logs as well
>>
>> ImageMosaic docs say that GDAL image formats can be used. What might be
>> the problem?
>>
>> Garey Mills
>>
>>
>> --
>> Generate messages about directories that cannot  be
>> read,  files  that  cannot be opened ... rather than being silent ...
>> (from `man du`)
>>
>>
>> ------------------------------------------------------------------------------
>> Want excitement?
>> Manually upgrade your production database.
>> When you want reliability, choose Perforce
>> Perforce version control. Predictably reliable.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Geoserver-users mailing list
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>


-- 
Generate messages about directories that cannot  be
read,  files  that  cannot be opened ... rather than being silent ...
(from `man du`)
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to