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

kungphil phil.wilkes at dse.vic.gov.au
Tue Oct 4 20:52:34 EDT 2011


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
2776570|2547420|12
2776600|2547420|12
2776420|2547390|12
2776450|2547390|12
2776480|2547390|12
2776510|2547390|12
2776540|2547390|12

But when I pipe the output to;

r.in.xyz -i input=- output=test fs="|"

I get an error "Bad y-coordinate line 1 column2. <y>"

Can anyone help please!

Thanks, Phil

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/r-in-xyz-and-postrgresql-tp6860616p6860616.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list