[GRASS-user] Surfaces with faults
bonushenricus
bonushenricus76 at gmail.com
Mon Jul 24 12:18:43 PDT 2023
Ok
v.to.points creates 2 layer.
The good layer is the 2.
So with
v.to.rast -d input=fosso_punti type=point layer=2 output=fosso_dem
use=z
is correct.
I prefered the way with v.surf.rst from my original survey points, but
the way with v.to.points can help me.
Il giorno lun, 24/07/2023 alle 17.59 +0200, bonushenricus ha scritto:
> Hello
> I've just tried with the solution of this thread
> https://www.mail-archive.com/grass-user@lists.osgeo.org/msg40640.html
> so
> > v.in.lines -z --overwrite input=fosso.dat output=fosso_linea /
> > separator=comma
> > g.region vector=fosso_linea res=0.2
> > v.split input=fosso_linea output=fosso_linea_split length=0.2
> > v.to.points -i input=fosso_linea_split output=fosso_punti
> > v.to.rast -d input=fosso_punti type=point output=fosso_dem use=z
> but the result is
> > Command ended with non-zero return code -11 (0 sec)
>
> I believe there was something wrong in v.in.lines or in my ASCII
> file:
> the vector line hasn't attribute
>
> Il giorno lun, 24/07/2023 alle 16.44 +0200, bonushenricus ha scritto:
> > Hello
> > I would like to use the procedure described in "Open Source GIS: A
> > GRASS GIS Approach" second edition page 191 "7.3.5 Surfaces with
> > faults".
> > I have a survey of points. Some points are two ditches. I have run
> > a
> > v.surf.rst with the survey points without the ditch.
> > Attached is the ascii file of the ditch points (EPSG:32632)
> > I have therefore operated as follows:
> > > v.in.lines -z --overwrite input=fosso.dat output=fosso_linea /
> > > separator=comma
> > > g.region vector=fosso_linea res=0.2
> > > v.to.rast -d --overwrite input=fosso_linea type=line output=fosso
> > > /
> > > use=z
> > > v.surf.rst --overwrite segmax=60 npmin=100 dmin=1 dmax=6 /
> > > input=fosso_linea elevation=fosso_dem mask=fosso
> > the result is with no_data
> >
> > Some suggestions?
> > --
More information about the grass-user
mailing list