Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I was wondering if there is a way to update a column in MapInfo with the digitised line direction. I have two TAB files, one is complete lines and the other is sections of the same lines (both have a unique ID). I was wondering if it would be possible to add a column in both files with the direction of the line so I can check if the directions are identical, e.g:

enter image description here

Thanks, Alan

share|improve this question
    
this question is incomplete as it stands, We need to know what the direction refers to. All lines have an inherent direction (digitized) from node, to node. you can create topology on lines which then gives them cost. Cost can be one way, two way, or blocked. If these are just lines that you want to compare, and you are not doing network analysis, or routing on now, please explain further your idea for the use of direction. –  Brad Nesom Jun 20 '13 at 13:29
    
It would be digitised direction. Data is being collected between the chainages and I have to ensure both lines have the same direction to ensure data delivered is in the right location compared to the original full sections. –  Alan Carr Jun 20 '13 at 13:39
    
please edit your question with appropriate descriptions. just push the edit button. –  Brad Nesom Jun 20 '13 at 13:41

1 Answer 1

To my knowledge there is no MapBasic function returning the order of digitalization. You line direction have several direction, so I would it digitalization order instead.

You could in MapBasic code a program checking if the end point of a line is north, west, east or south of the start point. And then update your column with the text north, west, east or south.

Not sure about complex lines, but worth a test.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.