0

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.

1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.