[GRASS-user] v.to.rast -d segmentation fault Re: Surfaces with faults

Maris Nartiss maris.gis at gmail.com
Mon Jul 24 22:33:06 PDT 2023


Please provide your input data and computational region settings. I
was not able to reproduce the issue with my data.

Māris.

otrd., 2023. g. 25. jūl., plkst. 07:17 — lietotājs bonushenricus
(<bonushenricus76 at gmail.com>) rakstīja:
>
> Hello
> the problem isn't in my ASCII file or in v.in.lines
> but a bug in v.to.rast, with the -d parameter.
> I used gdb
> > Thread 1 "v.to.rast" received signal SIGSEGV, Segmentation fault.
> > (gdb) bt
> > #0  0x0000000000000000 in ?? ()
> > #1  0x00007ffff7ef7091 in G_plot_point ()
>    from /usr/local/grass83/lib/libgrass_gis.8.3.so
> > #2  0x0000555555558d46 in do_lines ()
> > #3  0x000055555555abc6 in vect_to_rast ()
> > #4  0x0000555555557ad6 in main ()
> > (gdb)
>
>
>
> 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?
> > > --
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user


More information about the grass-user mailing list