Thanks to all who got involved over the weekend with the issue I reset
below. It turned out that Lars was right; the map I had received contained a
part that really belong to the next UTM zone.

One thing should have been a good hint for me it but I missed the underlying
implication. I had copied the table in a plain lon-lat, and done the
creation of objects and they were perfect.

Any geographic projection is good only for a limited "domain"; MI cannot be
held responsible in a situation outside the normal range of a projection.
Lesson learned.

Jacques Paris
e-mail  [EMAIL PROTECTED]
MapBasic-MapInfo support  http://www.paris-pc-gis.com


Original message:

I have used a table with the "Universal Transverse Mercator (WGS84) Zone 32
Northern Hemisphere (i.e. 8,104...) to build lines over region borders. I do
that by extracting with ObjectNodeX..Y of 2 successive nodes coordinates and
using the creatline() function. All that is done after setting the coordsys
to that of the table.

I have used the program in many occasions without problem but the above
projection makes my program crash. The origin of the crash is that the
created lines are not lying exactly over the corresponding "sides" of the
regions. I have observed for one node (I guess it is representative of the
situation) a shift in the X direction only: a region node at (872411.6012,
5819181.1726) is converted to a line end at (872411.6502, 5819181.1726).
This shift of 4 cm about is enough to make my program crash



---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 3192

Reply via email to