3

I have a TAB file in ESPG 27700 projection and MapInfo is rounding Y coordinate values upon export. It also occurs when viewing the table (although selecting the value shows its 'true' form)

enter image description here

enter image description here

Upon export to .csv the value stays at 53.5834. I have tried creating a character field and updating it with the MIDY value and this doesn't work either.

I am currently experimenting with generating a general text direction assigned to a polyline by first splitting it to lines and using the difference between the X and Y coordinates of the centreline of each segment and 'counting' the predominant X and Y directions (disregarding values <=5m, the 'NEG' values) with the aim of possible re-creating my steps in MapBasic:

enter image description here

1
  • 2
    You can use Format$(MIDX, "#.########") to get more decimals on you floating values - or use a Decimal column for your coordinates May 12, 2015 at 8:41

1 Answer 1

1

It turns out the Centroid(X) and Centroid(Y) in MapInfo are not the line centre point coordinates in BNG. (However to get around the rounding problem I exported the table as a DBF). Instead, I generated these in ArcGIS instead and got perfect results. I achieved my desired result by calculating differences in X and Y values between subsections and taking the predominantly occurring directions and combining them to get a general direction:

E.g. I have determined section N to be a general NW direction:

enter image description here

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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