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

Contours at lower zoom levels #3120

Open
fallaciousreasoning opened this issue Feb 5, 2024 · 8 comments
Open

Contours at lower zoom levels #3120

fallaciousreasoning opened this issue Feb 5, 2024 · 8 comments

Comments

@fallaciousreasoning
Copy link

User Story

In order to see a more detailed view of the terrain as a user I want to be able to see contours in more detail
instead of the current system, where 20m contours are only visible from zoom level 14, and 100m contours are only visible from zoom level 11.

Acceptance Criteria

The current behaviour could stay the same, but it would be great if the tiles included contours slightly more zoomed out - currently the data isn't as useful as the Topo50 series because its hard to get an idea of the steepness of various bits of terrain.

Basemaps Topo Series
image image
image image
image image

In each case, the Topo50/Topo250 map shows significantly more elevation detail. If the tiles included this data (but didn't render it) we could customize how detailed the contours should be at each zoom level. Potentially, this could be controlled via some query parameters?

@dwsilk
Copy link
Member

dwsilk commented Mar 26, 2024

Hi @fallaciousreasoning, thanks heaps for raising this issue. We are currently working on providing a terrain-rgb service which will allow 3D mapping / dynamic hillshades and theoretically dynamic contour generation (although that may be very resource intensive). This will utilise our increasing coverage of LiDAR data. We'll incorporate your feedback when we look at how to improve our vector tile service with these improved elevation data sources and services.

@fallaciousreasoning
Copy link
Author

Thanks for all your work on this @dwsilk - the data LINZ provides is super useful 😄

@dwsilk
Copy link
Member

dwsilk commented Apr 8, 2024

Worth noting that once we release the terrain-rgb service, https://github.com/onthegomap/maplibre-contour could be used to incorporate user-configured contours within a MapLibre web map.

See also maplibre/maplibre-style-spec#583 regarding bringing this functionality into the maplibre style spec.

@fallaciousreasoning
Copy link
Author

Wow, that proposal sounds like exactly what I need - thanks :)

@dwsilk
Copy link
Member

dwsilk commented Oct 10, 2024

The terrain-rgb service has now been released: https://basemaps.linz.govt.nz/@-41.3649877,174.6876136,z7.49?i=elevation
Our topographic vector tiles also now include a far more detailed hillshade that is rendered from the terrain-rgb service: https://basemaps.linz.govt.nz/@-41.1332005,175.0810181,z16.96?style=topographic&i=topographic

And maplibre-contour is being used by some of our customers to generate contours from the terrain-rgb service as well.

@fallaciousreasoning
Copy link
Author

Wow, awesome @dwsilk. Is that data going to be available to download as well? I've been working on generating my own terrain-rgb tiles from the DEM model LINZ provides but I'm definitely not doing an amazing job (I get a lot of artifacts):
https://alpha.topos.nz/#lat=-43.226122&lon=170.948456&zoom=12.7&rotation=0&pitch=0&basemap=topoVector&overlays=hillshade%2Ccontour-source&lla=-43.226571&llo=170.947646&lab=Lauper+Pk+%282428m%29

Any chance you have an mbtiles file available for the terrain-rgb tiles?

@dwsilk
Copy link
Member

dwsilk commented Oct 23, 2024

We do not, the terrain-rgb tiles are rendered on-the-fly from Cloud Optimised GeoTIFFs. The source LiDAR survey data is however all available in a public bucket - s3://nz-elevation.

Anyway, it looks like you're rendering contours from our terrain-rgb service now when I click on that link? Looks really fast too!

@fallaciousreasoning
Copy link
Author

Yeah, using your terrain-rbg service now (it works great). I generated my own tiles first but got way more artifacts than what you're putting out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants