Ticket #54 (new enhancement)

Opened 8 years ago

Last modified 7 years ago

Add "Open in Google Earth"

Reported by: JonBlower Owned by: JonBlower
Priority: major Milestone: BETA
Component: wholesystem Version: 1.0
Keywords: Cc:

Description

Add mechanism to load WMS layer in Google Earth.

Change History

comment:1 Changed 8 years ago by JonBlower

Added KML as an output format for GetMap. There seems to be a problem with PNG transparency in Google Earth - transparent pixels appear white. This wasn't a problem in the original Godiva2 though!

comment:2 Changed 8 years ago by JonBlower

Above PNG transparency problem was a red herring - I had forgotten to add TRANSPARENT=true to the image URL.

This now works, but still have to add extra link to auto-scaled version. Also, would be good if BBOX was treated more sensibly (e.g. for UK data, when the field of view covers the world, should recast the BBOX to the bounds of the data - saves getting low-res data when zoomed out).

comment:3 Changed 8 years ago by JonBlower

Should use new method of loading large datasets via tiles (see KML 2.1 tutorial  http://earth.google.com/kml/kml_21tutorial.html#superoverlays)

comment:4 follow-up: ↓ 5 Changed 7 years ago by JonBlower

Created KMZ output format for WMS, which produces a self-contained zip with the KML file and the image frame(s). Animations are supported, but the following things need to be fixed:

  • Single-frame picture is not marked with a date
  • Label appears on image frames (is this a problem? Maybe not)

comment:5 in reply to: ↑ 4 Changed 7 years ago by JonBlower

Replying to JonBlower:

Created KMZ output format for WMS, which produces a self-contained zip with the KML file and the image frame(s). Animations are supported, but the following things need to be fixed:

  • Single-frame picture is not marked with a date
  • Label appears on image frames (is this a problem? Maybe not)

Also need to change website to allow user to download the self-contained KMZ

comment:6 Changed 7 years ago by JonBlower

Need to integrate region-based overlays from WMS2KML ( http://code.google.com/p/wms2kml/)

Note: See TracTickets for help on using tickets.