Problem with DXF

N R A nra at
Wed Jun 1 15:41:00 EDT 1994

A while back I asked for help with a problem using the function. 
Thanks to all who gave suggestions as the possible cause of my 

I've tracked down the problem to the POLYLINE statement and how GRASS 
handles the ARC. The problem was that Autocad was producing the DXF file 
with the finish angle being less than the start angle, e.g. finish at 5 
degrees, start at 270 degrees. GRASS didn't like that and instead 
generated a line consisting of a single point - not much of a line really 

I've amended the source code for the ARC routine to check that 
finish is >= start and if not increment the finish by 360 degrees.

My question is - how do I get this (or a better solution if someone has 
one) incorporated into the standard GRASS release.


Steve Culshaw
NRA North West
e-mail : nra at (use this for general usage)
or         sculshaw at (Private - only checked at best 

More information about the grass-dev mailing list