I&#39;ve got a project at the University of Luxembourg where I need to calculate elevation profiles of arbitrary trajectories that are contained on a finite list of paths. I will use this in a custom application for a controls experiment I&#39;m working on. I&#39;ve got a shapefile that contains all the possible paths as lines (with altitude information) from the local mapping administration.<br>
<br>I&#39;m terribly new to GIS, but so far I&#39;ve managed to get GDAL working on my machine and extract the XY coordinates of the features. What I&#39;m trying to do now is find the best way to identify what features, i.e. path segments, are in an immediate neighborhood of the current location. This is especially critical when in areas where lines cross, but paths do not, e.g. bridges and tunnels.<br>
<br>Is there any way to do this with a shapefile and GDAL? I&#39;ve looked through the API so far, but it&#39;s a little confusing since I&#39;m new to all the terminology. If not, what should I be using? I had thought a raster map might do it, but that seems like a lot of extra work if I can do it quickly and efficiently with a shapefile.<br>
<br>Cheers,<br>Kenn Sebesta<br><br>