Digitizing in GRASS
David D Gray
ddgray at armadce.demon.co.uk
Fri May 19 07:10:15 EDT 2000
Justin Hickey wrote:
>
> Hello
>
> I don't know if this will help you or not, but about a year ago I wrote a
> module v.out.poly. If I remember correctly, this module's output is the same as
> v.out.ascii except that it guarantees that each list of points is a complete
> polygon instead of possibly being only an edge of a polygon, and the
> coordinates are reversed.
>
Mostly I have been plagued by the opposite problem where you
are given complete rings, and have to split them into arcs and
nodes, but it can be a problem this way round as well.
>
> If you want to give it a try, I can send the code to you but I would strongly
> recommend that you look through the code to see if it does what you expect.
> It's not too long and is contained in a single file. I also put some comments
> in to describe what the code does.
>
Yes. I would like to have a look at that
David
More information about the grass-user
mailing list