On 16.2.2009, at 0:07, John Pybus wrote: > Somehow we'd managed to create a line with only one point. We'd > actually noticed this before (and even isolated a test-case, but > forgotten to send it to the list). That case is attached. > > There's little point to having a line with only one point -- it > would very nice if therion provided an error message to warn about > them.
You may check your th2 files in plain text editor - check my mail from 2009.09.21- null lines xxxxxxxxxxxxxxxxxxxxxxxx check the th2 file for such null or single point lines: line wall endline line wall -subtype unsurveyed endline or line border -close on # originaly two point line, but closed, so there are two line points in identical coordinates 699.5 -2003.0 699.5 -2003.0 endline or :) line wall -close off 320.0 -3625.0 endline xxxxxxxxxxxxxx I made a simple grep patter to find such "null lines" in th2 files: I have try grep search/replace ^\s*(\w+) \w+\s+end\1 and it look it works Martin
