Re: [Geoserver-users] GetFeatureInfo with time range

2018-08-21 Thread Simone Giannecchini
Dear Thomas,
this is the normal behavior since the getfeatureinfo returns a single value.

What you are looking for is the operation implemented by the
GetTimeSeries  operation which is implemented by the ncWMS extension:
http://docs.geoserver.org/latest/en/user/community/ncwms/index.html

See examples here:
http://docs.geoserver.org/latest/en/user/community/ncwms/index.html#ncwms-gettimeseries-operation


Regards,
Simone Giannecchini
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==
Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob:   +39  333 8128928

http://www.geo-solutions.it
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.


On Wed, Aug 15, 2018 at 5:06 PM tmoranduzzo 
wrote:

> I've been building a WMS service for time series data following this
> tutorial:
>
>
> http://docs.geoserver.org/latest/en/user/tutorials/imagemosaic_timeseries/imagemosaic_timeseries.html
>
> Everything is fine and my GetMap function work well and all the maps are
> loaded according to their data. The problem is when I want to use the
> GetFeatureInfo function. if I use it to retrieve the feature value of a
> point for a single date it works well, but if I try to add the time range
> parameter I only get the feature info of the starting date.
>
> I use it in this way:
>
> http://localhost/geoserver/cite/wms?SERVICE=WMS=1.3.1=GetFeatureInfo=image%2Fjpeg=true_LAYERS=cite%3A9_S_int=ocean=cite%3A9_S_int_FORMAT=application%2Fjson_COUNT=50=50=50=EPSG%3A4326=101=101=-77.27783203125%2C-46.5380859375%2C-72.83935546875%2C-42.099609375=2018-08-09/2018-08-11
>
> I've always used the time range in this way for all wms service I used. Now
> that I'm trying to build my own WMS service I get this problem. I've
> enabled
> the time dimension setting the presentation value to List.
>
> Here in the following the layer properties retrieved with GetCapabilities:
>
> 
> 9_S_int
> CMEMS_int_S
> 
> 
> CMEMS_int_S
> WCS
> ImageMosaic
> 
> EPSG:4326
> CRS:84
> 
>
> -83.8750025510788
>
> -63.79166538715362
>
> -55.70833460489909
>
> -35.62500127156576
> 
>  miny="-55.70833460489909" maxx="-63.79166538715362"
> maxy="-35.62500127156576"/>
>  miny="-83.8750025510788" maxx="-35.62500127156576"
> maxy="-63.79166538715362"/>
> 
> units="ISO8601">2018-08-08T00:00:00.000Z,2018-08-09T00:00:00.000Z,2018-08-10T00:00:00.000Z,2018-08-11T00:00:00.000Z,2018-08-14T00:00:00.000Z
>
> 
>
>
> Are there other properties I should check to enable the time range
> capability?
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> 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] GetFeatureInfo with time range

2018-08-15 Thread tmoranduzzo
I've been building a WMS service for time series data following this
tutorial:

http://docs.geoserver.org/latest/en/user/tutorials/imagemosaic_timeseries/imagemosaic_timeseries.html

Everything is fine and my GetMap function work well and all the maps are
loaded according to their data. The problem is when I want to use the
GetFeatureInfo function. if I use it to retrieve the feature value of a
point for a single date it works well, but if I try to add the time range
parameter I only get the feature info of the starting date.

I use it in this way:
http://localhost/geoserver/cite/wms?SERVICE=WMS=1.3.1=GetFeatureInfo=image%2Fjpeg=true_LAYERS=cite%3A9_S_int=ocean=cite%3A9_S_int_FORMAT=application%2Fjson_COUNT=50=50=50=EPSG%3A4326=101=101=-77.27783203125%2C-46.5380859375%2C-72.83935546875%2C-42.099609375=2018-08-09/2018-08-11

I've always used the time range in this way for all wms service I used. Now
that I'm trying to build my own WMS service I get this problem. I've enabled
the time dimension setting the presentation value to List.

Here in the following the layer properties retrieved with GetCapabilities:


9_S_int
CMEMS_int_S


CMEMS_int_S
WCS
ImageMosaic

EPSG:4326
CRS:84

   
-83.8750025510788
   
-63.79166538715362
   
-55.70833460489909
   
-35.62500127156576



2018-08-08T00:00:00.000Z,2018-08-09T00:00:00.000Z,2018-08-10T00:00:00.000Z,2018-08-11T00:00:00.000Z,2018-08-14T00:00:00.000Z




Are there other properties I should check to enable the time range
capability?



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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