earthenterprise icon indicating copy to clipboard operation
earthenterprise copied to clipboard

Imagery Resource Bounding Box Wraps Through Center For Images Spanning Longitude 180

Open tst-nrichman opened this issue 5 years ago • 0 comments

When an imagery resource is built from an image that crosses longitude 180, the bounding box doesn't respect the images relative area and instead uses the fixed values provided by the user. Since imagery exists on both sides, Fusion believes the image spans the middle of the map rather than cutting across the edges.

Images that span 180 appear to not be supported by Fusion as they are unable to build without these bounding box restrictions.

In the screenshot the imagery of Russia is bound between 176E and 176W. When a resource is bound to only show half of this image, the bounding box stretches as far as the user entered in an attempt to reach its other half.

image

image

A bug fix may not be possible without enhancements to how Fusion treats images that span longitude 180.

Steps to reproduce:

  1. Install GEE server
  2. Download imagery that spans longitude 180.
  3. Create an imagery resource using this image. Set the bounding box so that only one side of the image is contained. (The image will fail to build otherwise)
  4. View the resource in Fusion. Whichever side was cut off will expand its bounding box to the exact value entered by the user rather than relative to the sides of the image.

tst-nrichman avatar May 31 '19 17:05 tst-nrichman