[GRASS-user] raster map from coordinates in python

Stefan Blumentrath Stefan.Blumentrath at nina.no
Mon Feb 12 05:41:59 PST 2018

Dear all,

I have a numpy array with x,y, z coordinates that I would like to write to a rater map.
When I convert the array to a StringIO-object and feed it to r.in.xyz I get:
OSError: [Errno 7] Argument list too long
I checked the content of the StringIO object and it contains only three columns (separated by space) and rows separated by '\n'...
Any hints on how to accomplish that without writing out stuff to a textfile?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20180212/be6293cb/attachment.html>

More information about the grass-user mailing list