[GRASS-user] reading/converting Z-map format with Grass/Gdal

Szilard Albert szilard.albert at gmail.com
Mon Mar 24 21:05:41 PDT 2014


Dear list,

I have a Z-map format text file, representing a geological horizon.
I need to convert it to some other format, something like a simple XYZ or
XYT
text file.

Example of format is below.

Any suggestions if I can achieve this with Grass/Gdal?
regards,
Szilard



!
!     ZIMS FILE NAME :  242grid
!     FORMATTED FILE CREATION DATE:  FEB 19 14
!     FORMATTED FILE CREATION TIME:  11:35
!
@242grid HEADER                          ,      GRID,         5
      15,0.1000000E+31  ,            ,      7,      1
     624,    663,   578000.0    ,   842800.0    ,   8715600.    ,
8964800.
    30000.00    ,         0.    ,         0.
@
0.1000000E+31  0.1000000E+31  0.1000000E+31  0.1000000E+31  0.1000000E+31
0.1000000E+31  0.1000000E+31  0.1000000E+31  0.1000000E+31  0.1000000E+31
0.1000000E+31  0.1000000E+31  0.1000000E+31  0.1000000E+31  0.1000000E+31
0.1000000E+31  0.1000000E+31  0.1000000E+31  0.1000000E+31  0.1000000E+31
0.1000000E+31  0.1000000E+31  0.1000000E+31  0.1000000E+31  0.1000000E+31
0.1000000E+31  0.1000000E+31  0.1000000E+31  0.1000000E+31  0.1000000E+31
0.1000000E+31  0.1000000E+31  0.1000000E+31  0.1000000E+31  0.1000000E+31
0.1000000E+31  0.1000000E+31  0.1000000E+31  0.1000000E+31  0.1000000E+31
0.1000000E+31  0.1000000E+31  0.1000000E+31  0.1000000E+31  0.1000000E+31
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20140325/b7eba29e/attachment.html>


More information about the grass-user mailing list