cesium-native icon indicating copy to clipboard operation
cesium-native copied to clipboard

Support raster overlays with an arbitrary projection

Open kring opened this issue 4 years ago • 2 comments

Using PROJ or something, probably.

We will need to wait until the geometry is loaded, compute the bounds of all vertices in the projected coordinate system, and then select the raster overlay tiles with the appropriate LOD to cover all the vertices.

kring avatar Sep 15 '20 07:09 kring

@kring I've been thinking about this as well for OWT. Do you have a sense whether this would be implemented by reprojecting the imagery to geographic or by projecting the mesh's texture coordinates?

lilleyse avatar Sep 15 '20 13:09 lilleyse

My current thinking is to generate a set of texture coordinates per projection, because:

  • It's hard to reproject the imagery without losing quality.
  • It'll be unusual (I think) for overlays with more than 1-2 different projections to be attached to a single tileset, so the texture coordinates won't get prohibitive.

kring avatar Sep 15 '20 13:09 kring