The issues that have been raised recently (refer MI-L Cosmetic Precision -
Big problem) are ones that I am currently struggling with.

I use a mapbasic code routine to snap lines to point features.  The routine
searches for a point feature, grabs it coordinates and updates the node of
the line.  This all works fine but when I then update the original polyline
record with the revised object MapInfo appears to randomly change the end
point of the line.  I have even written a debug routine to check this - the
routine alters the coordinate of a polyline, updates the record then queries
the node on the updated polyline and 9 times out of 10 it is not the same.

I know that this is not due to projection accuracy issues as I have tested
this exhaustively.  I know this is not due to my logic as again I have
tested this (over and over and over!!!)

One of the weird things about this error is that each time I run exactly the
same code on exactly the same data I get different results and if I run it
long enough sometimes the polylines will correctly update.

The only thing I can think of is that 
        a) it is a MapInfo bug 
        b) it is related to the projection engine that deals with my region
of the world (New Zealand)

Other developers must have had this problem before!  But I cannot find any
references to this is the archives.

I have been developing in MapInfo/MapBasic for 7 years so I am confident I
have covered all bases in terms of the problem being the logic of my code.

Anyone got any ideas?  

 

Martin Roundill
GIS and WEB MANAGER, IM (Ext 8344)
Providing effective coordinated and independent expertise, supporting all
Council's operational and strategic information management requirements.

Note:
This message is for the named person's use only.  It may contain confidential, 
proprietary or legally privileged information.  No confidentiality or privilege is 
waived or lost by any mistransmission.  If you receive this message in error, please 
immediately delete it and all copies of it from your system, destroy any
hard copies of it and notify the sender.  You must not, directly or indirectly, use, 
disclose, distribute, print, or copy any part of this message if you are not the 
intended recipient. Any views expressed in this message are those of the individual 
sender, except where the message states otherwise and the sender is authorised to 
state them to be the views of any such entity.

Thank You.

http://www.waitakere.govt.nz

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

Reply via email to