Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading a GeoTIFF DEM (32 bits) file is not working #1303

Open
joa-quim opened this issue Mar 7, 2024 · 5 comments
Open

Loading a GeoTIFF DEM (32 bits) file is not working #1303

joa-quim opened this issue Mar 7, 2024 · 5 comments

Comments

@joa-quim
Copy link

joa-quim commented Mar 7, 2024

Windows and 2.3.0 version here.

When I try to load a GeoTIFF DEM file (means each note contains a float32 value) I get a vertical curtain like the one shown in the screen-capture. I was expecting to see a 3D view of a relief surface. Am I wrong in my expectations or something is not working right?

image

@mwestphal
Copy link
Contributor

Hi @joa-quim

Can you share your file ?

Please use the issue template when possible.

@joa-quim
Copy link
Author

joa-quim commented Mar 7, 2024

OK, that file was a bit big so I cropped a smaller region that is attached bellow. To be clear, what I was expecting to see is something like the next fig that was made with another 3D viewer (note, I added a the shaded relief effect to better exemplify the expected outcome).

(Thanks for the instantaneous reply)

image

sagres.tif.zip

@mwestphal
Copy link
Contributor

Indeed, it looks like VTK is not reading this file the way you expect it. I have no idea why yet, more investigation needed.

I have the same results in F3D and in ParaView as well. More investigation needed.

@joa-quim
Copy link
Author

joa-quim commented Mar 7, 2024

Thanks again. In case it's useful, I read those type of files with GDAL that can read a lot of different raster (and vector too) formats. Being able to load these type of data in F3D would be very nice.

@mwestphal
Copy link
Contributor

Indeed, GDAL seems to be able to open these files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Investigate
Development

No branches or pull requests

2 participants