maybe a script to remove each fifth line of the ascii? carlos
On Wed, Mar 5, 2008 at 3:27 PM, Nikos Alexandris <[EMAIL PROTECTED]> wrote: > > On Wed, 2008-03-05 at 09:58 -0800, Dylan Beaudette wrote: > > Hi, > > Hi Dylan > > > > > 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? > > Not really a solution but maybe... > > If polygons have first and last points duplicated what happens if they > are converted in polylines? > > Duplicate coordinates still there? > > If not it could be an easy method to convert boundaries to lines and > continue your task. > > > > _______________________________________________ > grass-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/grass-user > -- +-----------------------------------------------------------+ Carlos Henrique Grohmann - Guano Geologist M.Sc - Doctorate Student at IGc-USP - Brazil Linux User #89721 - carlos dot grohmann at gmail dot com +-----------------------------------------------------------+ _________________ "Good morning, doctors. I have taken the liberty of removing Windows 95 from my hard drive." --The winning entry in a "What were HAL's first words" contest judged by 2001: A SPACE ODYSSEY creator Arthur C. Clarke Can't stop the signal. _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
