I am aware how to rasterize a 2D line, but if I have two coordinate triplicates (x1,y1,z1) and (x2,y2,z2), how can I efficiently rasterize the resulting connecting line such that the raster cell values represent the proper slope of the original points? I am willing to explore any solutions through ArcGIS, Arc Workstation, GDAL/OGR, SAGA GIS, etc.
-
2Welcome to GIS SE! As a new user be sure to take the Tour. Would you be able to edit your question to include the GIS software that you are using to try and do this, please?– PolyGeo ♦May 23, 2015 at 1:10
-
It appears you have accidentally created two accounts and may want to see about merging them.– Chris WMay 23, 2015 at 19:29
1 Answer
If you already have or can create the line itself as a 3D entity (ie with z values), the Feature to Raster tool can use the z value in creating the raster.
You could also use the points to create a raster via interpolation, and then use Extract by Mask to pull out just the cells along the line. Not sure if that will take a line as a mask, but if not you could just use feature to raster as above on the line and then use that result as a mask.