What's wrong with v.out.ascii? Couldn't you export and then remove duplicate
points by checking the coordinates? To avoid checking both X and Y, these
could be summed, so a single check would be enough.

giovanni


2008/3/5, Dylan Beaudette <[EMAIL PROTECTED]>:
>
> Hi,
>
> I have some "squares" which are stored as polygons. When converting these
> to
> points (v.to.points) I am left with the 5 points (first and last point are
> duplicated) that define the corners of the "square".
>
> Is there a vector module (v.edit / v.clean) that could remove duplicate
> points? I would like to replace the manual operation with v.digit with
> something that can be scripted. Note that there are multiple "squares", so
> a
> simple v.out.ascii | head -4 | v.in.ascii  would be a little awkward.
>
> Ideas?
>
> --
> Dylan Beaudette
> Soil Resource Laboratory
> http://casoilresource.lawr.ucdavis.edu/
> University of California at Davis
> 530.754.7341
> _______________________________________________
> grass-user mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to