[GRASSLIST:8715] Gridding xyz data

Hi guys,

It seems like such a simple task, but I can't seem to find a module to grid
xyz files:

733235.580 5011799.520 -12.693
733236.180 5011799.560 -12.685
733239.160 5011799.560 -12.692
733235.520 5011800.520 -12.693
....

Is there a module that will create rasters from this data format, or,
alternatively, is there a handy way of massaging this data into
Grass-friendly format?

Thanks,

~ Eric.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Eric Patton

Technologist, Geo-Spatial Data Services
Geological Survey of Canada (Atlantic)
Natural Resources Canada
Bedford Institute of Oceanography
Dartmouth, Nova Scotia, Canada B2Y 4A2

Postal address: P.O. Box 1006
Courier address: 1 Challenger Drive

Telephone: (902)426-7732
Facsimile: (902)426-4104
E-mail: epatton@NRCan.gc.ca

If it is already in the resolution you want, I guess you can just
import it and then converto to raster.

Carlos

On 10/20/05, Patton, Eric <epatton@nrcan.gc.ca> wrote:

Hi guys,

It seems like such a simple task, but I can't seem to find a module to grid
xyz files:

733235.580 5011799.520 -12.693
733236.180 5011799.560 -12.685
733239.160 5011799.560 -12.692
733235.520 5011800.520 -12.693
....

Is there a module that will create rasters from this data format, or,
alternatively, is there a handy way of massaging this data into
Grass-friendly format?

Thanks,

~ Eric.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Eric Patton

Technologist, Geo-Spatial Data Services
Geological Survey of Canada (Atlantic)
Natural Resources Canada
Bedford Institute of Oceanography
Dartmouth, Nova Scotia, Canada B2Y 4A2

Postal address: P.O. Box 1006
Courier address: 1 Challenger Drive

Telephone: (902)426-7732
Facsimile: (902)426-4104
E-mail: epatton@NRCan.gc.ca

--
+-----------------------------------------------------------+
              Carlos Henrique Grohmann - Guano
  Geologist M.Sc - Doctorate Student at IGc-USP - Brazil
Linux User #89721 - carlos dot grohmann at gmail dot com
+-----------------------------------------------------------+

The commanad is v.to.rast, once your list is transformed into a vector point database with v.in.ascii.

Stefania

--On Thursday, October 20, 2005 09:28 -0300 "Patton, Eric" <epatton@nrcan.gc.ca> wrote:

Hi guys,

It seems like such a simple task, but I can't seem to find a module to
grid xyz files:

733235.580 5011799.520 -12.693
733236.180 5011799.560 -12.685
733239.160 5011799.560 -12.692
733235.520 5011800.520 -12.693
....

Is there a module that will create rasters from this data format, or,
alternatively, is there a handy way of massaging this data into
Grass-friendly format?

Thanks,

~ Eric.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Eric Patton

Technologist, Geo-Spatial Data Services
Geological Survey of Canada (Atlantic)
Natural Resources Canada
Bedford Institute of Oceanography
Dartmouth, Nova Scotia, Canada B2Y 4A2

Postal address: P.O. Box 1006
Courier address: 1 Challenger Drive

Telephone: (902)426-7732
Facsimile: (902)426-4104
E-mail: epatton@NRCan.gc.ca

--------------------------
Stefania Merlo
Department of Archaeology
University of Cambridge
United Kingdom
e-mail: sm399@cam.ac.uk

Office: +44 1223 763518
Mobile: +44 787 6405064
--------------------------

It seems like such a simple task, but I can't seem to find a module to
grid xyz files:

733235.580 5011799.520 -12.693
733236.180 5011799.560 -12.685
733239.160 5011799.560 -12.692
733235.520 5011800.520 -12.693

If the xyz data is pre-gridded you can go the v.in.ascii + v.to.rast
route as others mentioned (or r.in.ascii); if it isn't you can use
v.surf.rst or v.surf.idw to make a surface. Alternatively you could do
v.to.rast and then r.surf.contour or r.surf.idw.

In general v.surf.rst does the best job.

Hamish