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

bonushenricus bonushenricus76 at gmail.com
Mon Jul 24 22:41:57 PDT 2023


Thank you.
the CRS is EPSG:32632
fosso.dat I attached
><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.1
> 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

Il giorno mar, 25/07/2023 alle 08.33 +0300, Maris Nartiss ha scritto:
> 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
-------------- next part --------------
687244.011,4910560.273,482.096
687240.364,4910558.058,482.109
687236.976,4910556.868,482.224
687233.285,4910555.428,482.328
687229.403,4910553.534,482.447
687224.965,4910551.415,482.629
687220.509,4910549.32,482.71
687216.282,4910546.997,482.89
687211.919,4910544.472,483.09
687208.558,4910542.642,483.261
687204.914,4910540.584,483.411
687204.912,4910540.58,483.32
687204.91,4910540.585,483.318
687200.661,4910538.442,483.673
687196.32,4910536.328,483.925
687191.518,4910534.29,484.293
687186.415,4910532.11,484.606
687181.112,4910530.163,484.737
687175.282,4910528.125,484.931
687169.458,4910526.233,485.236
687165.078,4910524.769,485.454
687160.04,4910522.885,485.697
687155.365,4910521.006,485.94
687151.164,4910519.457,486.282
687146.398,4910517.688,486.647
687141.874,4910515.805,487
687136.644,4910513.793,487.386
687132.068,4910512.125,487.659
687127.667,4910510.478,487.808
687122.314,4910508.022,487.879
687118.571,4910505.605,488.063
687114.031,4910501.636,488.301
687110.273,4910498.216,488.499
687108.325,4910496.676,488.602
687104.514,4910493.377,488.952
687101.82,4910491.029,489.219
687098.956,4910488.78,489.501
687096.126,4910486.848,489.734
687093.251,4910484.774,489.993
687088.748,4910482.092,490.242
687084.967,4910480.104,490.434
687080.853,4910478.109,490.631
687079.416,4910477.4,490.858
NaN,NaN,NaN
687034.891,4910501.481,486.212
687036.539,4910499.803,486.445
687038.564,4910497.364,486.72
687041.869,4910494.061,487.317
687046.279,4910490.702,487.837
687051.119,4910486.971,488.42
687056.483,4910483.767,488.936
687062.8,4910480.263,489.641
687068.777,4910477.408,490.42
687075.301,4910474.554,491.299
687082.093,4910471.638,492.264


More information about the grass-user mailing list