Extract skyline in canvas space and/or terrain space


is it possible to extract the line defining the skyline (i.e. the delineation between the terrain and the sky) as a WKT/WKT or GeoJSON geometry for a given a terrain and a given point of view (i.e. a given camera; position + orientation + FoV)?

  • in the canvas space (2D)
  • in the terrain space (3D)


Any hints are welcome, I’m starting from scratch.