I am using ArcGIS 10.5 and have a shapefile containing contour lines. I would like to get the height values at equidistant positions. In other words, I would like to interpolate and sample the contour lines. The result should be a table containing height values for the range of x-y values of the shapefile, depending on the sampling distance.
The goal is to export the data as a simple CSV file to use it in programs such as MATLAB or Python.
Unfortunately, I am stuck finding the correct tool or process in ArcGIS for this.
In the ArcToolbox I found
Conversion Tools -> To Raster, but this seems to raster the contour lines themself.
Also, I found the help describing how to export a complete XY coordinate values to a text file from ArcMap, but here the XY coordinates are not equidistant and I am unable to export to TXT as the menu only allows exporting to a file with an extension of