Search the Knowledgebase |
Browse by Category |
|
|
|
| How can I convert SHP to XYZ or GRD? |
| User Opinions |
66%
33%
|
|
Thank you for rating this answer.
|
Surfer requires XYZ data points in an ASCII or Excel XLS file to create a grid. SHP files store the XY coordinates in the SHP file and the Z coordinates in a DBF file. Surfer can load the SHP file as a base map, but it does not have the ability to read the DBF file.
There are a few different ways you can convert the SHP to an XYZ data file. Our Didger and MapViewer programs have the ability to read the Z value from the DBF file and write out ASCII XYZ. So some options include:
1. Using Didger for the conversion.
2. Using MapViewer for the conversion.
3. Using Arcv2CAD to convert the SHP to DXF, and then using DXF2XYZ to convert the DXF to an XYZ file.
4. You can import the SHP as a base map in Surfer, turn off the axes,
and export it to a BLN file. Open the BLN file in the Surfer worksheet,
remove the BLN headers (a 1-line header with the number of data points
in column A and a 1 in column B), and then add the elevation data from
the DBF to column C in the worksheet, matching up the correct elevation
value with each object or vertex. Depending on how many objects or vertices you have, this
could be easy or could be difficult. If you can do this, you can then
use File | Save As in the worksheet to save the data to a DAT file for
use with gridding.
See Also: Related KB Question: How can I convert a 3D SHP file to an XYZ or GRD file using Didger 4?
|
| Visitor Comments |
|
No visitor comments posted. Post a comment
|
| Attachments |
|
No attachments were found.
|