Happy #MapInfoMonday and #MapBasicMonday
Last week I attended the Basarsoft Technology Day hosted by our partner Basarsoft in Ankara, Turkey. I did a live session with tips & tricks from MapInfo Pro v2023 and some #MapInfoMonday tips.
During the meeting, I got a question: How can I follow a table of (poly)lines to see where they go? This question typically comes from people working in utilities or with streams or rivers. And of course from people doing navigation or route planning.
Let me start by saying the best and fastest option would be to use a tool like MapInfo RouteFinder/RouteFinder for MapInfo. This would allow you to create a network from your dataset and then use this in various analyses with great performance.
Having said this, you certainly can do a simple "follow the lines" analysis in MapInfo Pro using MapBasic.
Prerequisites
First, you need a linear dataset to make up your network. This could be a network of cables, pipes, roads, or as in my example streams. You can see my streams on the map below. They cover a larger area than what you see.
Keep in mind that typically, a network also has a direction. For streams, the water flows downstream. I have checked the direction on parts of my network and the line direction indicates the direction in which the water flows. You can turn on Show Line Direction for a layer via the Style tab. This will make small arrows appear on the lines to indicate their direction.
------------------------------
Peter Horsbøll Møller
Principal Presales Consultant | Distinguished Engineer
Precisely | Trust in Data
------------------------------