Tom,

I've written some MB code to do this, but its bulky and complicated to run.
Someday I'll clean in up and perhaps get it on MapInfo-L.  If your
interested my VERY general algorithm is this:

1.    Add evenly spaced nodes to both tables (the table I want to modify,
and my base table) at a small interval - so both tables are heavily noded.

2.  Step through each node in each polyline in the table I'm modifying - and
perform a proximity analysis to nodes in the base table.  Select the closest
base table node found in the prox. search and, if its within a preset
tolerance, snap your modify table node to it.

3. Step through all nodes in all polylines in your modify table and delete
any duplicates.  Run a node thinning program if desired.

We use this program to adjust existing street data (tiger or streetinfo or
whatever) to fit nicely post-processed GPS stream data collected by our
field guys as they are driving and collecting other data.

John Brosowsky
GeoComm Corp.


>-----Original Message-----
>From: Tom Manson <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>Date: Wednesday, July 14, 1999 1:51 PM
>Subject: MI - fitting a straight line to a curve.
>
>
>Dear list,
>
>I have a little query regarding fitting a straight line to an arc
>(line with a bend). We extract data from one source, and wish to
>overlay it to existing sewer records. However, since some of the
>sewers have bends in them, and we only have a start and finish point,
>is there any way to 'bend' the imported data to match up with the
>original sewer records?
>
>In both sets of data the start and finish coordinates are the same,
>if that helps.
>
>
>Tom
>
>ps  I know it's possible to add nodes and do the job manually, but I
>was hoping there may be a quicker way!
>
>----------------------------------------------------------------------
>To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
>"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
>

----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to