Question: 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
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):
- 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.
- Open ArcMap and browse to the location where you saved the Excel file you saved in Step 1 and open that file.
- 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.
- 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…
- 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.
- 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.
Formerly a Mapping Center Ask a Cartographer Q & A.