Re: [GRASS-user] r.in.xyz and postrgresql

2011-10-04 Thread Micha Silver
On Tue, 2011-10-04 at 17:52 -0700, kungphil wrote: Hi I am trying to import an xyz table from PostgreSQL db... I can connect to the db and select/view rows using; echo select in.x, in.y, in.val from in | db.select x|y|val 2776480|2547420|12 2776510|2547420|12 2776540|2547420|12

Re: [GRASS-user] r.in.xyz

2008-03-21 Thread Nikos Alexandris
On Thu, 2008-03-20 at 12:06 +0100, Edmondo Elisei wrote: Dear ALL, I solved succesfully! I followed the procedure suggested: v.in.ASCII == r.surf.rst Thanks to everyone I fell in love with GRASS and its fantastic community Hi Edmondo! I am also new (since last November). I was

Re: [GRASS-user] r.in.xyz

2008-03-20 Thread Edmondo Elisei
Dear ALL, I solved succesfully! I followed the procedure suggested: v.in.ASCII == r.surf.rst Thanks to everyone I fell in love with GRASS and its fantastic community 2008/3/19, Markus Neteler [EMAIL PROTECTED]: On Wed, Mar 19, 2008 at 2:55 PM, Nikos Alexandris [EMAIL PROTECTED] wrote:

Re: [GRASS-user] r.in.xyz

2008-03-19 Thread Nikos Alexandris
On Tue, 2008-03-18 at 23:18 -0700, Hamish wrote: Glynn: If you have a sparse set of points, import them as a vector map then use v.surf.rst. I'm not sure if r.fillnulls[1] handles sparse maps (islands of individual cells), or whether it's limited to filling small holes in mostly-filled

Re: [GRASS-user] r.in.xyz

2008-03-19 Thread Nikos Alexandris
On Wed, 2008-03-19 at 14:20 +0100, Nikos Alexandris wrote: [...] It's clear now. I think a bit more reading before posting doesn't hurt. [...] Any infomation somewhere about filtering noise with r.in.xyz? In man r.in.xyz! Yep, I have to read more before posting questions ;-P [...]

[GRASS-user] r.in.xyz, Vol 23, Issue 45

2008-03-18 Thread Edmondo Elisei
Dear all, I apologise to you for my previous message not in English written. That's the translation: I've a trouble in importing xyz points file. The r.in.xyz command seems working well; then I tried to make a surface with r.bilinear but the resulting map has no elevation (r.what returns

Re: [GRASS-user] r.in.xyz

2008-03-18 Thread Hamish
Edmondo Elisei wrote: I've a trouble in importing xyz points file. The r.in.xyz command seems working well; what did your exact r.in.xyz and g.region command lines look like? does it display ok? what does r.univar say about the result? what does 'g.region -p' say? then I tried to make a

Re: [GRASS-user] r.in.xyz

2008-03-18 Thread Edmondo Elisei
1) My r.in.xyz command line: r.in.xyz input=/grassdata/archivio_vettoriale/_subset_points.txt output=subset method=mean type=FCELL fs=, x=1 y=2 z=3 percent=100 2) g.region -p result: projection: 1 (UTM) zone: 33 datum: eur50 ellipsoid: international north: 4478400.26 south:

Re: [GRASS-user] r.in.xyz

2008-03-18 Thread Nikos Alexandris
Hi Edmondo! I did a quick test based on these numbers 232196.623264|4686029.38993|10.| 237080.972225|4686560.03525|50.| 236453.845939|4684943.97905|11.| 233969.461035|4684208.31167|13.|

Re: [GRASS-user] r.in.xyz

2008-03-18 Thread Glynn Clements
Nikos Alexandris wrote: 5) r.bilinear syntax r.bilinear input=subset output=subsetsurface --overwrite For the second part of the test: I am having trouble to resample with r.resamp.interp mode=bilinear. But I think this has to do with the available values (I got only 6 points

Re: [GRASS-user] r.in.xyz

2008-01-19 Thread Moritz Lennert
On 18/01/08 23:51, Jonathan Greenberg wrote: (sorry for the barrage of emails, i'm finagling with nnbathy today and having some problems with import/exporting into grass). Ok, so the awk suggestions worked wonders to fix my xyz file. Now when I do an r.in.xyz, its failing because nnbathy

[GRASS-user] r.in.xyz

2008-01-18 Thread Jonathan Greenberg
(sorry for the barrage of emails, i'm finagling with nnbathy today and having some problems with import/exporting into grass). Ok, so the awk suggestions worked wonders to fix my xyz file. Now when I do an r.in.xyz, its failing because nnbathy outputted a NaN z-value for a couple of

Re: [GRASS-user] r.in.xyz

2008-01-18 Thread Michael Perdue
You can use sed to find and replace patterns within a file. So; ~ cat temp.txt 1619923.0297213|4836235.79480289|0.01571819 1619927.57223432|4836235.09835698|nan 1619910.45256599|4836241.22590928|6.82026114 To make a substitution ~ sed 's/nan/-/g' ./temp.txt