MapInfo Pro Developers User Group

 View Only
  • 1.  Alter object add node

    Posted 04-11-2022 17:05
    Hello,
    I am using the above command to create a polyline using the centroid points from another table.

    The problem I am encountering is that the points of the other table are continuously removed and added, and there is no way I can think of to order them.

    So what is happening is the nodes are added in the order they are encountered and this is causing this looping affect when altering the object.

    I thought about buffering to "crawl" along the points from begin to end but this is not practical because of millions of points.

    Any suggestions is appreciated. Pls see below...

    Paul Thomas



    ------------------------------
    Paul Thomas
    Cook Shire Council
    Cooktown QLD
    ------------------------------


  • 2.  RE: Alter object add node

    Posted 04-12-2022 10:30
    I think you have to rethink your dataflow.
    Such as updating the polylines at the same time as the points are added.
    If that makes sense.

    Or grab a copy of the points table and then work on that, rather than having the input changing all the time.


    ------------------------------
    Uffe Kousgaard
    ROUTEWARE
    Roskilde
    ------------------------------



  • 3.  RE: Alter object add node

    Posted 04-12-2022 16:37
    Hi Uffe,
    I figured this might be the case and have already headed down that path, thanks Paul

    ------------------------------
    Paul Thomas
    Cook Shire Council
    Cooktown QLD
    ------------------------------