[GRASSLIST:5438] Re: please help me generate an adjaceny list

Eric G. Miller egm2 at jps.net
Sat Feb 1 21:10:27 EST 2003


On Sat, Feb 01, 2003 at 07:16:37PM -0500, John Gillette wrote:
> I tried this. It turns out
> Lines->left  and  Lines->right
> can return negative numbers (which crashes the program).
> So I test for >0 instead of !=
> 
> Is there any documentation on the vector format 
> (besides the programming manual and dig_structs.h)?
> I assume the negative numbers are related to either
> islands or direction flow.
> 
> I have included the program and the make file
> in case it's useful.

Positive/Negative indicates direction.  Take the absolute value of the
number and test it is not zero.  There is no documentation other than
the source ;-(

-- 
echo ">gra.fcw at 2ztr< eryyvZ .T pveR" | rot13 | reverse




More information about the grass-user mailing list