MapInfo Pro

 View Only
  • 1.  Mapinfo Error

    Posted 07-26-2023 21:42

    does anyone have a clue on this error after running the last  MapBasic command?

    I've run the command on other tables with the same structure without an issue. 

    thanks

    Pete.



    ------------------------------
    Peter Cameron
    Knowledge Community Shared Account
    ------------------------------


  • 2.  RE: Mapinfo Error

    Employee
    Posted 07-27-2023 05:11

    Hi Peter

    Can you check if all your rows have a spatial object?

    I'm guessing the DTCreateAnnulus will fail if it hasn't been passed a spatial object for one of the rows.

    If you are using MapInfo Pro v2019 or newer, you could add this condition to your Update statement: Where OBJ:

    Update Sector_NR3600 Set OBJ = DTCreateAnnulus(OBJ, Bearing, 30, Radius, Bandwidth, 36, 2) Where OBJ

    PS: I'm glad to see that function is useful

    PPS: In an upcoming new version of DrawTools the function will be renamed to DTCreateAnnulusSector as I have realized that an annulus is in fact a whole doughnut.



    ------------------------------
    Peter Horsbøll Møller
    Principal Presales Consultant | Distinguished Engineer
    Precisely | Trust in Data
    ------------------------------