I have two datasets - contours and vector (water, roads,...)
Vector layers were used as breaklines to generate the contours. Then the contours were generalized a bit.
For quality check I need to find the elevation difference between those two datasets at their intersections.
If I use Intersect tool in ArcGIS and output it with both file attributes to a point file, I get the contour elevation nicely, since it is the same over all the element vertice Z values. But for vector data of roads or rivers every vertex has its own Z value and intersect only gives me the value of elements lowest Z value (if I have a line with two points and one is 3m and the other 4m and contour intersects exactly in the middle, the intersect elevation value should be 3.5m, but instead 3 is written to point file).
I thought of creating TIN from vector data set and adding value from there to the intersect points, but as soon as there is another vector object with different elevations close to intersect point that does not intersect with contour but crosses the other vector between its two vertices, it forces the TIN to follow it and with that the intersect value is not correct anymore.
Is there a tool that allows me to get the interpolated Z value between two vertices? It doesn't even have to be ESRI software. I am not however very good at code.