[Geoserver-users] Does time in GeoServer work?

Hi list!

I’m trying to replicate the time sample founded in the GeoServer User Manual here

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

Here you are my GeoServer status

  • 2.2.3
  • 0fd3212ede1a8e13257ae5785cc8a752ee0a645c
  • 22-Dec-2012 15:59
  • 8.5 (rev 06286dc3c15c2498aa5b3580de5df928f07d31dc)
    I can see the layer at this url on my local pc

http://localhost:8080/geoserver/CesareWorkspace/wms?service=WMS&version=1.1.0&request=GetMap&layers=CesareWorkspace:inet_weu&styles=&bbox=-31.290000915527344,27.6374969482422,18.514999389648438,55.056663513183594&width=599&height=330&srs=EPSG:4326&format=application/openlayers

In the user manual for to try the layer in Google Earth I see

“Navigate to http://localhost:8080/geoserver/wms/kml_reflect?layers=inet_weu&legend=true. This should cause Google Earth to open.”

Adapting the url at my sample

http://ltr9r0ma2.domnt.csi.it:8080/geoserver/CesareWorkspace/wms/kml_reflect?layers=CesareWorkspace:inet_weu&legend=true

the result is


No such operation CesareWorkspace/wms null kml_reflect

In the same time the follow url

http://ltr9r0ma2.domnt.csi.it:8080/geoserver/CesareWorkspace/wms/kml?layers=CesareWorkspace:inet_weu

it works. The right one?

In any case, when I try to open the kml in Google Earth i can see the layer on the globe but no time slider is shown…

Any suggestions?

Thank you in advance …

Cesare

Cesare Gerbino

http://cesaregerbino.wordpress.com/
http://www.facebook.com/cesare.gerbino
http://www.facebook.com/pages/Cesare-Gerbino-GIS-Blog/246234455498174?ref=hl
https://twitter.com/CesareGerbino
http://www.linkedin.com/pub/cesare-gerbino/56/494/77b

On Thu, Feb 21, 2013 at 10:27 PM, cesare gerbino <cesaregerbino@anonymised.com…> wrote:

Hi list!

I’m trying to replicate the time sample founded in the GeoServer User Manual here

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

Here you are my GeoServer status

  • 2.2.3
  • 0fd3212ede1a8e13257ae5785cc8a752ee0a645c
  • 22-Dec-2012 15:59
  • 8.5 (rev 06286dc3c15c2498aa5b3580de5df928f07d31dc)
    I can see the layer at this url on my local pc

http://localhost:8080/geoserver/CesareWorkspace/wms?service=WMS&version=1.1.0&request=GetMap&layers=CesareWorkspace:inet_weu&styles=&bbox=-31.290000915527344,27.6374969482422,18.514999389648438,55.056663513183594&width=599&height=330&srs=EPSG:4326&format=application/openlayers

In the user manual for to try the layer in Google Earth I see

“Navigate to http://localhost:8080/geoserver/wms/kml_reflect?layers=inet_weu&legend=true. This should cause Google Earth to open.”

Adapting the url at my sample

http://ltr9r0ma2.domnt.csi.it:8080/geoserver/CesareWorkspace/wms/kml_reflect?layers=CesareWorkspace:inet_weu&legend=true

the result is


No such operation CesareWorkspace/wms null kml_reflect

In the same time the follow url

http://ltr9r0ma2.domnt.csi.it:8080/geoserver/CesareWorkspace/wms/kml?layers=CesareWorkspace:inet_weu

it works. The right one?

Hmm… the tutorial is old, it’s likely that the URL over there is not supported anymore since we
have workspace specific services.

In any case, when I try to open the kml in Google Earth i can see the layer on the globe but no time slider is shown…

Any suggestions?

Did you specify the time template for KML? That’s the thing that enables the KML time slider.
If you have specified a time dimension in the time/elevation section of the layer instead,
that won’t have any effect on KML.

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


Hi Andrea!

Hmm… the tutorial is old, it’s likely that the URL over there is not supported anymore since we
have workspace specific services.
Ops … I’ll use the url that works …

Did you specify the time template for KML? That’s the thing that enables the KML time slider.
If you have specified a time dimension in the time/elevation section of the layer instead,
that won’t have any effect on KML.

I don’t have set time in time&elevation section in the layer definition.
Where I’ve to specify the time template fork my KML? Any sample?

Thank you in advance

Cesare

Cesare Gerbino

http://cesaregerbino.wordpress.com/
http://www.facebook.com/cesare.gerbino
http://www.facebook.com/pages/Cesare-Gerbino-GIS-Blog/246234455498174?ref=hl
https://twitter.com/CesareGerbino
http://www.linkedin.com/pub/cesare-gerbino/56/494/77b

2013/2/25 Andrea Aime <andrea.aime@anonymised.com>

On Thu, Feb 21, 2013 at 10:27 PM, cesare gerbino <cesaregerbino@anonymised.com…> wrote:

Hi list!

I’m trying to replicate the time sample founded in the GeoServer User Manual here

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

Here you are my GeoServer status

  • 2.2.3
  • 0fd3212ede1a8e13257ae5785cc8a752ee0a645c
  • 22-Dec-2012 15:59
  • 8.5 (rev 06286dc3c15c2498aa5b3580de5df928f07d31dc)
    I can see the layer at this url on my local pc

http://localhost:8080/geoserver/CesareWorkspace/wms?service=WMS&version=1.1.0&request=GetMap&layers=CesareWorkspace:inet_weu&styles=&bbox=-31.290000915527344,27.6374969482422,18.514999389648438,55.056663513183594&width=599&height=330&srs=EPSG:4326&format=application/openlayers

In the user manual for to try the layer in Google Earth I see

“Navigate to http://localhost:8080/geoserver/wms/kml_reflect?layers=inet_weu&legend=true. This should cause Google Earth to open.”

Adapting the url at my sample

http://ltr9r0ma2.domnt.csi.it:8080/geoserver/CesareWorkspace/wms/kml_reflect?layers=CesareWorkspace:inet_weu&legend=true

the result is


No such operation CesareWorkspace/wms null kml_reflect

In the same time the follow url

http://ltr9r0ma2.domnt.csi.it:8080/geoserver/CesareWorkspace/wms/kml?layers=CesareWorkspace:inet_weu

it works. The right one?

Hmm… the tutorial is old, it’s likely that the URL over there is not supported anymore since we
have workspace specific services.

In any case, when I try to open the kml in Google Earth i can see the layer on the globe but no time slider is shown…

Any suggestions?

Did you specify the time template for KML? That’s the thing that enables the KML time slider.
If you have specified a time dimension in the time/elevation section of the layer instead,
that won’t have any effect on KML.

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


On Mon, Feb 25, 2013 at 10:28 PM, cesare gerbino <cesaregerbino@anonymised.com…> wrote:

I don’t have set time in time&elevation section in the layer definition.
Where I’ve to specify the time template fork my KML? Any sample?

It’s in the tutorial, “create the template” section:
http://docs.geoserver.org/latest/en/user/googleearth/tutorials/time/time.html

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it