Dear Liyuneh. Thanks for the clarification. Your naming convention and configuration is good so there isn't any problem in keeping using it. The tutorial was maybe misleading, but the main concept is that all the files need to have a well known pattern in the name so that the time value can be deterministically retrieved through regex.
It won't properly work if you have some files like: country_probablistic_above_O61e59d821d5d2486e18d2ee3_202201.tif country_probablistic_above_O71e59d821d5d2486e18d2ee3_2022Februrary.tif country_probablistic_above_O81e59d821d5d2486e18d2ee3_2023August.tif country_probablistic_above_O91e59d821d5d2486e18d2ee3_202402.tif Due to a different naming involving times/dates. But that's not your case since as far as I can see they follow a known naming convention being used by the regex. Hope this helps. Regards, Daniele Romagnoli == GeoServer Professional Services from the experts! Visit http://bit.ly/gs-services-us for more information. == Daniele Romagnoli Senior Software Engineer GeoSolutions Group phone: +39 0584 962313 fax: +39 0584 1660272 https://www.geosolutionsgroup.com/ http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail. <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Mail priva di virus. www.avg.com <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> On Thu, May 12, 2022 at 11:04 AM Liyuneh Gebre <liye...@gmail.com> wrote: > Dear Daniele, > thanks for your reply and the time dimension enabled and from the file > name structure {fxtID} part is dynamic or changing along with the time as > shown below. > * file structure:* > country_probablistic_above_{fxtID)_{YYYYmm}.tif > country_probablistic_above_O71e59d821d5d2486e18d2ee3_202201.tif > country_probablistic_above_O61e59d82125d2486e18d2ce3_202301.tif > > *indexer.properties* > TimeAttribute=time > Schema=*the_geom:Polygon,location:String,time:java.util.Date > PropertyCollectors=TimestampFileNameExtractorSPI[timeregex](time) > > *timeregex.properties* > regex=[0-9]{6},format=yyyyMM > > Just my question is is there any problem to keep this file naming or > should we or must follow *same name convention* *of tiff files as shown > in * > https://docs.geoserver.org/latest/en/user/tutorials/imagemosaic_timeseries/imagemosaic_timeseries.html#:~:text=every%20tif%20file%20must%20follow%20the%20same%20naming%20convention.%20in%20this%20tutorial%20will%20be%20used%20%7Bcoveragename%7D_%7Btimestamp%7D.tif > > best regards, > > > On Thu, May 12, 2022 at 10:51 AM Daniele Romagnoli < > daniele.romagn...@geosolutionsgroup.com> wrote: > >> Dear Liyuneh, >> I'm not 100% sure to have understood your question. >> Can you clarify it a bit? Also including some config properties and >> sample names. >> >> In the meantime, a few more questions and feedback: >> Did you configure an ImageMosaic with a time dimension, where the time >> value is being extracted from the file name? >> If you are working with a time series, I suppose that you need to assign >> a time to each element of the series so that you can query it by time. The >> file naming convention allows the matching: 1 file in the mosaic -> 1 >> element in the time series based on the time contained in the name. >> There are a few more PropertyCollectors based on a temporal information, >> that you might want to check if you don't have the timestamp in the name: >> https://docs.geoserver.org/stable/en/user/data/raster/imagemosaic/configuration.html#property-collectors >> >> *CurrentDateExtractorSPI* >> Returns the current date and time (useful to track ingestion times in a >> mosaic) >> >> *FSDateExtractorSPI* >> Returns the creation date of the file being harvested. >> >> *DateExtractorSPI* >> Returns the date found in tiff file header “DateTime” (code 306) >> >> Please, let us know. >> >> Regards, >> >> Daniele Romagnoli >> >> == >> GeoServer Professional Services from the experts! >> >> Visit http://bit.ly/gs-services-us for more information. >> == >> >> Daniele Romagnoli >> Senior Software Engineer >> >> GeoSolutions Group >> phone: +39 0584 962313 >> fax: +39 0584 1660272 >> >> https://www.geosolutionsgroup.com/ >> http://twitter.com/geosolutions_it >> ------------------------------------------------------- >> >> Con riferimento alla normativa sul trattamento dei dati personali (Reg. >> UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si >> precisa che ogni circostanza inerente alla presente email (il suo >> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è >> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il >> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra >> operazione è illecita. Le sarei comunque grato se potesse darmene notizia. >> >> This email is intended only for the person or entity to which it is >> addressed and may contain information that is privileged, confidential or >> otherwise protected from disclosure. We remind that - as provided by >> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this >> e-mail or the information herein by anyone other than the intended >> recipient is prohibited. If you have received this email by mistake, please >> notify us immediately by telephone or e-mail. >> >> >> >> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> >> Mail >> priva di virus. www.avg.com >> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> >> <#m_-1990551874357997484_m_-6823208658367128472_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> >> >> On Wed, May 11, 2022 at 10:53 AM Liyuneh Gebre <liye...@gmail.com> wrote: >> >>> Dear all, >>> I have tried to query and access the layer successfully using different >>> granule names {coveragename_fxtID}_{timestamp}.tif while fxtID changes with >>> the timestamp in imagemosaic store. My question is what will be the >>> limitations for not using granule naming convention >>> {coveragename}_{timestamp} in time series imagemosaic? >>> thanks >>> >>> -- >>> *Liyuneh Gebre**, **Associate Researcher* >>> >>> *Ethiopian Institute of Agricultural Research,EIAR* >>> >>> *Cell Phone:+251 911858155* >>> >>> *linkedIn: https://www.linkedin.com/in/liyuneh-gebre-b842b440/ >>> <https://www.linkedin.com/in/liyuneh-gebre-b842b440/>* >>> *skype:liyenew_1* >>> *Addis Ababa, Ethioipa* >>> _______________________________________________ >>> Geoserver-users mailing list >>> >>> Please make sure you read the following two resources before posting to >>> this list: >>> - Earning your support instead of buying it, but Ian Turton: >>> http://www.ianturton.com/talks/foss4g.html#/ >>> - The GeoServer user list posting guidelines: >>> http://geoserver.org/comm/userlist-guidelines.html >>> >>> If you want to request a feature or an improvement, also see this: >>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer >>> >>> >>> Geoserver-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/geoserver-users >>> >> > > -- > *Liyuneh Gebre**, **Associate Researcher* > > *Ethiopian Institute of Agricultural Research,EIAR* > > *Cell Phone:+251 911858155* > > *linkedIn: https://www.linkedin.com/in/liyuneh-gebre-b842b440/ > <https://www.linkedin.com/in/liyuneh-gebre-b842b440/>* > *skype:liyenew_1* > *Addis Ababa, Ethioipa* >
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users