That the points will project to the nearest point of the profile, not along This is basically finding the along-section distance of the points. Step 4: Project points onto cross-section Step 3: Add UTM coordinates to shapefile (if they’re not there yet) Right click on the sample file in the Table of Contents in ArcMap, and go toĭata –> Export Data and make a shapefile out of it. To continue, so you have to... Step 2: Make the points into a shapefile This will plot the points as ‘events’ without them having the proper attributes In ArcMap, File –> Add data –> Add XY data To points step outlined in Step 4 after you have made a shapefile out of the If you only have X and Y, you can get Z with the values This assumes you have a spreadsheet that has all of your samples with some sort Part 2: Project sample locations onto the cross-section csv andĭelete the header row, so that it is only columns of numbers.
#ARCGIS CROSS SECTION TOOL CODE#
To plot it with the code I will show below, export the file as a. Your favorite spreadsheet program, and find the distance from the start forĮach point using the Pythagorean theorem. dbf file (basically the attribute table) of the point shapefile in Step 6: Calculate the distance along the profile of every point With meters on both axes, so UTM is good. Need some sort of projected coordinate system so that you can plot the profile This requires doing the operation twice, which is trivial. I like to add both UTM and Lon/Lat (WGS84) coordinates to my attribute table. XToolsPro –> Table Operations –> Add X,Y,Z coordinates Step 4: Get elevation values for the points (add to attribute table)ĪrcToolbox –> Spatial Analyst Tools –> Extraction –> Extract Values to Points Step 5: Get X,Y coordinates for the points (also add to attribute table) Make sure you input the line raster, not the DEM. In ArcToolbox, –> Conversion Tools –> From Raster –> Raster to Point Step 3: Make points out of every cell in the raster It seems reasonable to use the same cell size as your DEM but you probablyĭon’t have to. In ArcToolbox, –> Conversion Tools –> To Raster –> Polyline to Raster It’d probably be helpful to have the DEM loaded.
Part 1: Generate the topographic profile Step 1: Make the lineĬreate a polyline shapefile in ArcToolboxĮdit the line in ArcMap and draw the line. Using Python (with matplotlib) to do the plotting.
#ARCGIS CROSS SECTION TOOL TRIAL#
Trial period, and I think works for most recent versions of Arc. Nominally cost money although without paying the program still works after the I am doing this in ArcGIS 10 this also requires XToolsPro, which does Way to do this, I’d love to know, so share away! The point projection is less of a pain,Īlthough it still requires a bit of work. It should be easy toĭo it simply in Arc but it’s not. Getting a georeferenced topo profile is a bit of a pain. Point, there is not a lot of information out there for doing it with modern Geologists (especially structure/tectonics types) will have to do at some Topographic profile (drawn with no vertical exaggeration) that has proper
This involves drawing cross-sectionsĪnd projecting my sample locations onto those cross-sections, which requires a Weeks from my South Lunggar project, and placing that data in a proper I have been getting a lot of zircon (U-Th)/He cooling data these past couple of It has received minor formatting changes. This post was from my old blog, and was far and away the most 'popular'