MapInfo Pro Developers User Group

Welcome to the MapInfo Pro Developers community!  We are a group dedicated to the discussion and understanding of MapBasic and .Net MapInfoPro AddIn development. Bring your questions and ideas here. This group includes several members of the Pro development team from around the world.

Please feel free to start a discussion in the discussion tab or join in a conversation.

Product Information  Ideas Portal  MapInfo Community Downloads

Discussions

Members

Resources

Events

 View Only

Combining multiple polylines into one object

  • 1.  Combining multiple polylines into one object

    Posted 06-28-2018 09:04

    Is there a facility I'm missing that allows the combination of multiple joining polylines to be combined in to one object but with only one section.

    If the lines to join are positioned say East-West, West-East, East-West. West-East, then using the 'objects combine' procedure results in a polyline of multiple sections and when you label the nodes the sections are still in different directions. This can mean that node 1 of section 1 is not at the start of the line but part way along the line.

    I've got MB code to loop though lines and join them individually depending upon how they join but when your trying to join a large number of lines this can take time. Could there be an option to allow MapInfo to do the processing and the resulting polyline have one section. So in this case the node count would start in the East and finish at the western end of the line.

    Cheers

    David