The most difficult part of this lab was saving the final raster. I received an error stating that the raster had no tif attribute. I placed the file extension before the .save function (finalrast.tif.save(S:\GIS_Programming\...)). This returned an invalid pointer error. I then began searching online to look for similar issues and found a thread on stack overflow. Following the advice I found on the thread, I moved the file extension to the end of the file path (...\Results.tif). This allowed me to save the raster; however, it saved in the wrong location. I solved the issue by adding the file name to the file path before the extension (..\Results\FinalRaster.tif).
Wednesday, June 24, 2020
Module 7: Rasters
The most difficult part of this lab was saving the final raster. I received an error stating that the raster had no tif attribute. I placed the file extension before the .save function (finalrast.tif.save(S:\GIS_Programming\...)). This returned an invalid pointer error. I then began searching online to look for similar issues and found a thread on stack overflow. Following the advice I found on the thread, I moved the file extension to the end of the file path (...\Results.tif). This allowed me to save the raster; however, it saved in the wrong location. I solved the issue by adding the file name to the file path before the extension (..\Results\FinalRaster.tif).
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment