Ask A Cartographer

xyz file into arcmap

April 28 2010 | 4 comments
Categories: Map Data

how to plot my xyz file into beautiful color contouring lines along with coast land relief

my data in xyz as ex. 83.23566 17.23456 3.6
83.23568 17.23459 4.2

longitude latitude depth

i would like to plot this single file into arcmap and should have complete control to modify and make contour map

-pls help

Mapping Center Answer:

The online help topic is called "Adding x,y coordinate data as a layer". You will need to perform following steps in order to get the final output (i.e. contours):

  1. If the X,Y,Z data are in textfile format, then open the file in Excel and in the Text Import Wizard, chose Delimited as the Original Data Type.  Click Next and set the delimiters (tab, space, semicolon, etc...) and then complete the rest of the dialogs for the wizard. Save the file in Excel format.
  2. Open ArcMap and browse to the location where you saved the Excel file you saved in Step 1 and open that file.
  3. On the top bar menu, click Tools then click Add XY Data.  Browse to the location of the Excel file, and select the fields that contain the x and y coordinates.  Then set the coordinate system. Click OK to add this as a temporary layer to your map.
  4. To make this a permanent feature class, you can export it.  Right click on the layer name in the Table of Contents, click Data and then click Export Data... 
  5. Make sure the Spatial Analyst extension is enabled.  Using the Topo to Raster tool you can create the topological surface.  You will need to use the POINTELEVATION option for the input data type. Once the surface is created, you can generate contours.
  6. Use the Contour tool in the Surface toolset of the Spatial Analyst toolbox. Choose as the Input the surface you created in Step 5 and provide the other required parameters. This will generate the contours.

another suggestion posted by David Lock on May 6 2010 9:33AM
I use the ASCII 3D to Feature Class tool and then create a TIN in 3D analyst.. (far easier than using excel if you ask me!)

Regards

David
re:another suggestion posted by Rajinder Nagi on May 6 2010 1:13PM
Thanks David for bringing up the another approach. Yes, you can use ASCII 3D to Feature Class tool to create point feature class instead of excel route, but you need to have 3D Analyst extension.
explain to me, David posted by Faizal KV on Jul 29 2010 4:06AM
Hi
David, please help me in plotting a xyz data(x=long, y=latitude and z= depth)in an easier way. I tried the the above way, but i am not getting a contour.
re:explain to me, David posted by Rajinder Nagi on Jul 29 2010 9:54AM
Once you get the TIN surface, you can create the contours from 3D Analyst toolbar by providing TIN as Input surface. This option is available on 3D Analyst toolbar under 3D Analyst -> Surface Analysis -> Contour.

If you would like to post a comment, please login.

Contact Us | Legal | Privacy |