Origin destination Mapping

Comments

4 comments

  • Avatar
    Candido Dessanti

    Hi,

    sorry for the late reply, dut I really didn't see this message before.

    What do you mean? curved lines like that?

    image|690x475, 50%

    We have support for linestrings, but we haven't a built-in function that uses two points to generate a curved linestring nor a straight linestring.

    0
    Comment actions Permalink
  • Avatar
    HAPPY

    Thanks @candido.dessanti . yes, I meant curved lines like this.

    0
    Comment actions Permalink
  • Avatar
    Candido Dessanti

    Hi,

    Unlucky, right now, we don't have a function to create a linestring on the fly, so the only option to do that is to precalculate the linestrings outside the database, at least with the 5.10 release.

    An easy way to precalculate would be to use PostGIS. The final result using our flights' dataset is like that.

    image|690x327

    I will post directions on how to pre-compute those geometries ASAP.

    Regards, Candido

    0
    Comment actions Permalink
  • Avatar
    Michael Flaxman

    As a really weird coincidence...I helped write one of these and open sourced it awhile back. But it was before I discovered OmniSci so written in Django with postGIS:

    https://github.com/geodesign/spatialsankey

    So if you're up for some installations, the stack required would be postGIS + Django -> Heavy (via HeavyConnect). A fair bit of work for nice curved lines I'm afraid. Otherwise, if you've got some Python skills, you could extract our logic for generating and then export directly into Heavy with our python library.

    1
    Comment actions Permalink

Please sign in to leave a comment.