Dear Niklas,
please, read below...

Regards,
Simone Giannecchini
==
GeoServer Professional Services from the experts!
Visit http://bit.ly/gs-services for more information.
==
Ing. Simone Giannecchini
@simogeo
Founder/Director GeoSolutions Italy
President GeoSolutions USA

phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39  333 8128928

http://www.geosolutionsgroup.com
http://twitter.com/geosolutions_it

-------------------------------------------------------
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.


On Tue, Aug 10, 2021 at 6:39 AM Niklas Elelid <nik...@swepilot.se> wrote:

> Hi!
>
> Sorry for another question but I'm not having any luck with finding the
> answer to this.
>
> I have 2 issues that might or might not be related, no idea really.
>
> 1. A newly created ImageMosaic layer with TIME dimension (List) is not
> returned in the XML when requesting GetCapabilities. Doing GetMap
> requests with the times for which images are available works fine, no
> problem, it's just not shown in the capabilities XML. I have three other
> layers from other stores that ARE shown in the XML.
>

We need more info to be able to help.
What do you mean by "Doing GetMap
requests with the times for which images are available works fine, no
problem"?
Do you see any errors in the log when you issue a GetCap? You can make a
single layer GetCap by adding /workspace/layer before ows to isolate.
Can you share a screenshot of the Dimensions tab content?


>
> 2. All my layers have TIME dimension. I might have misunderstood the WMS
> specification but I am under the impression that if I make a GetMap
> request for a specific time that does not exist in the published layer,
> the server should return an exception. (E.g. images exist for the year
> 2021 and if I make a request for a time in 2020 it should return an
> exception). My problem is that yes it does return an exception,
> sometimes.... Sometimes it returns just an empty png and it seems
> completely random. I do not have "Nearest match" enabled. I need to have
> an exception returned if the user requested time does not have a
> corresponding image that exactly matches the time.


> Any recommendations/workarounds how to solve especially the second issue?
>
> I'm running version 1.18.2 and the ImageMosaic information is stored in
> Postgres.
>

I do not remember what the WMS spec says but GeoServer by default returns a
blank Image if your request falls in the right bbox but does not meet any
WMS dimension.
If you activate the Nearest Match it broadens the search period time.

I kind of remember that we added the possibility to return an exception
when no TIME match is found but I can't find the issue now.
Maybe @Andrea Aime <andrea.a...@geosolutionsgroup.com> remember about this?


>
> Thanks in advance for any assistance provided.
>
> /Niklas
>
>
>
> _______________________________________________
> 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
>
_______________________________________________
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

Reply via email to