geonode icon indicating copy to clipboard operation
geonode copied to clipboard

poor resolution on GeoTIFF

Open aquilaimaging opened this issue 9 years ago • 5 comments

Hello, I am having a problem with a geotiff I imported through the geonode interface. The file does not display correctly, it has a very low resolution & I am not able to zoom in very close.

I checked it out in the openlayers preview from geoserver and it looks fine. I'm not sure why it is not rendering correctly in geonode interface.

Can anyone explain or point me in the direction of a fix?

GeoNode install details - Host OS: Ubuntu 14.04, Virtual Box: 5.1.10, VM OS: Ubuntu 14.04, GeoNode: 2.4.1

The geotiff is about 250mb

Thanks in advance! :)

aquilaimaging avatar Dec 15 '16 23:12 aquilaimaging

I added a geotiff directly to geoserver then added the wms into geonode, thinking maybe it was not formating right when being added vis the geonode interface. But the problem persisted with this alternate method as well.

update: attempted all of the above with several geotiffs form different sources with the same results.

This seems like I am i am missing some simple here...

Thoughts?

aquilaimaging avatar Dec 16 '16 20:12 aquilaimaging

It would help to have a (smaller) dataset to replicate the problem. From what you describe, though, it is not a problem related to GeoNode, but to GeoServer: correct?

capooti avatar Dec 21 '16 16:12 capooti

@capooti

It would help to have a (smaller) dataset to replicate the problem.

Here's a link to download the tif, if you would like replicate the issue. There are two "matilija 40m" is about 250mb and "matilija 60m" is about 150mb

https://drive.google.com/open?id=0B7HD5XkwsmeJRXFnTDcza09KUTA

From what you describe, though, it is not a problem related to GeoNode, but to GeoServer: correct?

No, this is incorrect. Per my initial comment:

I checked it out in the openlayers preview from geoserver and it looks fine. I'm not sure why it is not rendering correctly in geonode interface.

As far as I can tell this is a problem in geonode as the geotiff renders fine in the openlayers preview in geoserver.

Can you or anyone else provide some guidance as to how to fix this?

aquilaimaging avatar Dec 22 '16 19:12 aquilaimaging

Oh I see. This is because your layer cover a small extent and the default numZoomLevels for GeoExplorer is set to 20, which prevents your from being able to zoom in to a smaller area in your raster. You should be able to override numZoomLevels in the javascript.

capooti avatar Dec 23 '16 15:12 capooti

Ah ok. This was the other problem I was trying to sort out :) I'm glad to here my problem(s) are one in the same. I will try to sort out the zoom level. Thanks for your response and your time!

aquilaimaging avatar Dec 23 '16 17:12 aquilaimaging