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

vapour_vrt() needs an overview picker #186

Closed
mdsumner opened this issue Feb 2, 2023 · 1 comment
Closed

vapour_vrt() needs an overview picker #186

mdsumner opened this issue Feb 2, 2023 · 1 comment

Comments

@mdsumner
Copy link
Member

mdsumner commented Feb 2, 2023

set a level, a resolution, or a dimension

Use this:

url <- "https://services.ga.gov.au/gis/rest/services/Topographic_Base_Map/MapServer/WMTS/1.0.0/WMTSCapabilities.xml,layer=Topographic_Base_Map,tilematrixset=default028mm"
dsn <- sprintf("WMTS:%s,layer=Topographic_Base_Map,tilematrixset=default028mm", url)
info <- vapour::vapour_raster_info(dsn)
## level 13 is a reasonable size to experiment with
(overviews <- matrix(info$overviews, ncol = 2, byrow = TRUE))

dm <- overviews[13L, , drop = TRUE]

which I'm using in grout.

@mdsumner
Copy link
Member Author

done in de37ebf

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

No branches or pull requests

1 participant