Firstly, sorry to bring you all back into a work frame of mind, but I am currently tearing my hair out. We've got a table containing a great number of polylines, these polylines represent flood boundaries. Unfortunately, the digitiser has not joined the lines up to produce complete areas, in other words, we can not select all lines which are to form one boundary and then combine, and convert to regions because all start and end points of the lines do not overlay the start/end points of the next line in the boundary. This is a major problem as we have a huge number of these boundaries. Firstly, does anyone know of a tool that will help in this task. The steps that I see need to be taken are: - Get the start/end points of a line - Find the closest start/end point of another line. - Move one start/end point of one of the lines to match the other line's start/end points. - Then combine these two lines. - Then go back to the first step and go through. ie loop through records. If the start point is for the same line as the end point, I need to overlay these points. Having done this I need to then convert this polyline to region, and then move on to the next set of lines. I hope you all follow that. The problem I've had this morning is this, I have successfully pulled out the start/end X and Y co-ordinates of polylines, I've tried to draw a circle on the end point of this circle of radius .25m, from this circle I select any other intersecting lines. (Crude, but I'm still learning). The problem is that when my circle is drawn, it's centre is not going on the end point of the line, but on one of the boundary corners of the line. Therefore the circle does not contain the end of one line and the end/start of the adjacent line (if one exists) If anyone can help me with suggestions/code/web addresses of tools which will do this please get in touch with me. Thanks for any help. ___________________________________ Simon Fox Rivers and Coastal Section WS Atkins Consultants Ltd Tel. 01925 622029 Fax. 01925 622054 ---------------------------------------------------------------------- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
