Skip to content
New issue

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

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

Already on GitHub? # to your account

Bathymetry not showing #1981

Open
AdrienHoule opened this issue Jan 9, 2023 · 3 comments
Open

Bathymetry not showing #1981

AdrienHoule opened this issue Jan 9, 2023 · 3 comments
Assignees
Milestone

Comments

@AdrienHoule
Copy link

I'm trying to show the world bathymetry on the globe using gebco wms :

const wmsSource = new itowns.WMSSource({
url: 'https://www.gebco.net/data_and_products/gebco_web_services/web_map_service/mapserv',
version: '1.3.0',
name: 'GEBCO_LATEST_3',
style: '',
crs: 'EPSG:4326',
extent: {
west: '-180',
east: '360',
south: '-90',
north: '90',
},
transparent: true,
});

But everything appears flat.
cas1

The only way I can view the data is to up the scale.
cas2

So my question was do you know why this is happening and is there any solution to show my bathymetry without touching the scale ?

@mgermerie
Copy link
Contributor

Hi ! We currently have an issue on negative elevation display : all negative elevation values are clamped above -10 meters. This is explained in #1945. I will provide a fix for that in a short time.
However, since the clamp value is constant, I would intuitively say that increasing the scale should not make elevation data bellow -10 meters visible. I will take a closer look at scale implementation for ElevationLayer and let you know of my findings.

@mgermerie mgermerie added this to the 2.xx.x milestone Jan 11, 2023
@mgermerie mgermerie self-assigned this Jan 11, 2023
@AdrienHoule
Copy link
Author

Hi, I would like to know when you say short time, do you have any idea of when a fix for #1945 will be available ?
Also I would like to offer my help to fix this issues, is there any branch I could begin with and anything to know ?
If you need to contact me my email is adrien.houle@geomatys.com.
Thanks in advance for your return.

@mgermerie
Copy link
Contributor

Hi ! You are most welcome to contribute to solve #1945, thanks for your proposition. There is no branch at the moment, so you could start from iTowns' master. I will send you an email to try to set up a meeting if you agree.
Otherwise, I should be able to provide a fix by the end of this month (probably sooner though).

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants