Hi Daniele,

Thanks for your response. I’ve been out of the office..

I’ll answer you below as well:

| Are you sure that your ImageMosaic is really serving both of them?

Looking at this:
https://github.com/geotools/geotools/blob/master/modules/plugin/imagemosaic/src/main/java/org/geotools/gce/imagemosaic/ImageMosaicWalker.java#L164
Once the coverage Format has been cached for the first prototype file, 
additional files are checked against it. If the format doesn't accept them, 
they are skipped. You may want to check your catalog index to see if it 
contains all of them.

No they’re not, that’s the problem, once I created the data store I wanted to 
add more files (ECW and TIFF) to the ImageMosaic so I re-harvest it but the 
TIFF files are not added. One thing I’ve noticed is that in the 
workspace.properties file I’ve got the following line

SuggestedSPI=it.geosolutions.imageio.plugins.ecw.ECWImageReaderSpi

What makes me think that there’s no way in which I’d get the tiff files 
harvested for this ImageMosaic. I guess I’ll  have to create another 
ImageMosaic for tiff files.

As for the time filter values and QGIS I’ll continue making different tests 
with different configurations. Let’s see if anyone can point me to the right 
direction.

Thanks.

Regards,


Agur bero bat,

[cid:image003.jpg@01D013A2.40566D60]
[nirekin_eus]

David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y 
Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren 
Arloa.
da...@hazi.eus<mailto:da...@hazi.eus> | www.hazi.eus<http://www.hazi.eus/>
T 945 003 240 – M 627 923 170 – F 945 003 290
Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute – Araba


*********************  LEGE OHARRA   *******************   AVISOLEGAL   
*******************   DISCLAIMER   *****************************
Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua 
dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido 
legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo 
ni conservarlo.
This message is personal and confidential, unauthorised use is legally 
prohibited. If you are not the intended recipient, delete it without resending 
or backing it.

De: dany.geoto...@gmail.com [mailto:dany.geoto...@gmail.com] En nombre de 
Daniele Romagnoli
Enviado el: miércoles, 23 de noviembre de 2016 11:26
Para: David Alda Fernandez de Lezea
CC: GeoServer Users
Asunto: Re: [Geoserver-users] RV: Questions regarding ImageMosaic

Hii,

please, read below.

On Wed, Nov 23, 2016 at 7:51 AM, David Alda Fernandez de Lezea 
<da...@hazi.eus<mailto:da...@hazi.eus>> wrote:
Hi,

Any comments on this? Any ideas?

Thanks in advance.

Agur bero bat,


David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y 
Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren 
Arloa.
da...@hazi.eus<mailto:da...@hazi.eus> | www.hazi.eus<http://www.hazi.eus>
T 945 003 240 - M 627 923 170 - F 945 003 290
Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute - Araba

*********************  LEGE OHARRA   *******************   AVISOLEGAL   
*******************   DISCLAIMER   *****************************
Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua 
dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido 
legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo 
ni conservarlo.
This message is personal and confidential, unauthorised use is legally 
prohibited. If you are not the intended recipient, delete it without resending 
or backing it.

-----Mensaje original-----
De: David Alda Fernandez de Lezea [mailto:da...@hazi.eus<mailto:da...@hazi.eus>]
Enviado el: jueves, 17 de noviembre de 2016 12:19
Para: GeoServer Users
Asunto: [Geoserver-users] Questions regarding ImageMosaic

Hi list,

I finally managed to get my imagemosaic data store & layer working but now I'm 
facing two problems..

Problem 1.
Situation: I have a directory in which I have ecw and tiff files (all of them 
are sentinel images with the same name structure), I have the datasore created 
and working fine.
Are you sure that your ImageMosaic is really serving both of them?

Looking at this:
https://github.com/geotools/geotools/blob/master/modules/plugin/imagemosaic/src/main/java/org/geotools/gce/imagemosaic/ImageMosaicWalker.java#L164
Once the coverage Format has been cached for the first prototype file, 
additional files are checked against it. If the format doesn't accept them, 
they are skipped. You may want to check your catalog index to see if it 
contains all of them.

The thing is that when I re-harvest the datastore content it only adds the new 
ecw files but not the tiff files.

Is it possible to have two different type of files inside the same directory 
and the same ImageMosaic working for both of them?



Problem2.
Situation: I have an imagemosaic layer configured with the time-dimension 
enabled and with the following configuration:
        Presentation: List
        Default Value: Smallest Domain Value
When I load the layer into QGIS and using the TimeManager, I set all the fields 
properly but when it comes to start the animation, it's behavior is a bit 
strange. It loads the first image but when it has to change t another date in 
which there's no data it doesn't maintain the previous image, it shows a 
blank/white image until it finds another coincidence. It isn't supposed to keep 
the smallest value until it finds another one bigger?

My Dimension values are:
Taken from getcapabilities
<Dimension name="time" default="2015-08-18T00:00:00Z" units="ISO8601"> 
2015-08-18T00:00:00.000Z,2015-08-21T00:00:00.000Z,2015-08-28T00:00:00.000Z,2015-12-06T00:00:00.000Z,2015-12-09T00:00:00.000Z,2015-12-26T00:00:00.000Z,2016-03-15T00:00:00.000Z,2016-05-04T00:00:00.000Z,2016-07-03T00:00:00.000Z,2016-07-13T00:00:00.000Z,2016-09-01T00:00:00.000Z,2016-09-04T00:00:00.000Z,2016-09-11T00:00:00.000Z,2016-09-14T00:00:00.000Z,2016-09-21T00:00:00.000Z,2016-10-01T00:00:00.000Z,2016-10-04T00:00:00.000Z,2016-10-21T00:00:00.000Z,2016-10-31T00:00:00.000Z
</Dimension>

As far as I remember from the WMS specification, the WMS won't interpolate 
between time values if it doesn't report supporting that specific nearest-value 
functionality, as far as I know, is not the currently supported. So it simply 
returns a background value (the white image you see) instead of an invalid 
dimension exception.
(while writing this reply, I have found the reference: [1])

In QGIS I set the initial date to 2015-08-18 and end date 2016-08-18.

I don't know if I've got it properly configured .. Any ideas What could be 
wrong?

I'm not familiar with QGIS time-based animation. Wondering if it has any way to 
parse the available times from the capabilities and scan from these values.
Let's see if anyone can chime in on this topic.

Cheers,
Daniele



[1]: Annex C.4.3 from OGC® 06-042 OpenGIS® Web Map Server Implementation 
Specification


Thanks in advance.

Regards,


Agur bero bat,


David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y 
Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren 
Arloa.
da...@hazi.eus<mailto:da...@hazi.eus> | www.hazi.eus<http://www.hazi.eus>
T 945 003 240 - M 627 923 170 - F 945 003 290 Hazi | Granja Modelo de Arkaute 
s/n | 01192 Arkaute - Araba

*********************  LEGE OHARRA   *******************   AVISOLEGAL   
*******************   DISCLAIMER   ***************************** Mezu hau 
pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago 
legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido 
legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo 
ni conservarlo.
This message is personal and confidential, unauthorised use is legally 
prohibited. If you are not the intended recipient, delete it without resending 
or backing it.


------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net<mailto: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.

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to