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

messaging when no data obtained #9

Open
mdsumner opened this issue Jan 5, 2023 · 0 comments
Open

messaging when no data obtained #9

mdsumner opened this issue Jan 5, 2023 · 0 comments

Comments

@mdsumner
Copy link
Member

mdsumner commented Jan 5, 2023

this for example, a url created by {mapSpain}, is a perfectly good dsn on its own

#custom_wms <- esp_make_provider(
#  id = "an_id_for_caching",
 # q = "https://idecyl.jcyl.es/geoserver/ge/wms?",
 # service = "WMS",
 # layers = "geolog_cyl_litologia"
#)

wms <- "https://idecyl.jcyl.es/geoserver/ge/wms?request=GetMap&service=WMS&version=1.0.0&format=image/png&layers=geolog_cyl_litologia&styles=&srs=EPSG:3857"

# but, gets no data unless we specify 'resample = near'
 x <- imagery(source = custom_wms$q, extent = c(-8, -1, 39, 43), projection = "OGC:CRS84", resample = "near")
ximage::ximage(x)

or maybe, imagery shouldn't default to resampling - check with outcome of GDAL issue warp issue with traversal of anti-meridian #7019

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