That all sounds like the response I would expect - GetFeatureInfo (effectively) draws the map image and returns the pixel value at the query point. So if there is no map then you get no response, if it is blank then you get 0 and if there is an image you get that value.
Ian On Fri, 26 Jul 2024 at 19:46, Andrew Orzechowski < andrew.orzechow...@gmail.com> wrote: > > We are using an ImageMosaic data store as part of a GeoServer 2.25.3 > deployment. The data store consists of grey scale images with applicable > time ranges. The layer that is fed by the ImageMosaic data store has the > time dimension enabled. Our users view the layers through the output of WMS > GetMap calls and they can also obtain the value at a specific point using > the GetFeatureInfo call. > > We are trying to understand the results we receive from GetFeatureInfo > when using the time range filters. > > If the user makes a GetFeatureInfo call to a location where an image > exists and the time range in the query overlaps with the image's applicable > time range, they get the value we expect. > > If the user makes a GetFeatureInfo call to a location where no image > exists regardless of the time range in the query, they get the value of 0 > back. We believe this is the result of the creation of the blank response > in the RasterLayerResponse class. > > However, if a user makes a GetFeatureInfo call to a location where an > image exists, but the time range in the query does not overlap with the > image's applicable time range, they get a response with no results. We > believe this is due to the null returned they dry run visitor logic in > RasterLayerResponse. > > Is the 0 result (due to no results ever) and empty result (no results > based on the filters) the expected behavior of GetFeatureInfo? > > Thanks, > Andy > > > _______________________________________________ > GeoTools-GT2-Users mailing list > GeoTools-GT2-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > -- Ian Turton
_______________________________________________ GeoTools-GT2-Users mailing list GeoTools-GT2-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users