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

mapview 2.11.2 doesn't show any map (while mapview 2.11.0 did) #488

Open
cedricbriandgithub opened this issue Jul 19, 2024 · 2 comments
Open

Comments

@cedricbriandgithub
Copy link

With 2.11.2

library(sf)
library(mapview)
mapview(franconia)
packageVersion("mapview") # '2.11.2'
sessionInfo()

image

R version 4.3.2 (2023-10-31 ucrt)
latform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045) 
 Matrix products: default

locale:
[1] LC_COLLATE=French_France.1252  LC_CTYPE=French_France.1252   
[3] LC_MONETARY=French_France.1252 LC_NUMERIC=C                  
[5] LC_TIME=French_France.1252    

time zone: Europe/Paris
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] mapview_2.11.0 sf_1.0-13      rj_4.0.10-2    safer_0.2.1   

with 2.11.0

library(sf)
library(mapview)
mapview(franconia)
packageVersion("mapview") # '2.110'
SessionInfo()

image

R version 4.2.3 (2023-03-15 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)

Matrix products: default

locale:
[1] LC_COLLATE=French_France.1252  LC_CTYPE=French_France.1252   
[3] LC_MONETARY=French_France.1252 LC_NUMERIC=C                  
[5] LC_TIME=French_France.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] mapview_2.11.2 sf_1.0-14      rj_4.0.9-12    safer_0.2.1  

For 2.11.2 setting

mapviewOptions(fgb = FALSE) 

Provides the correct rendering again

@tim-salabim
Copy link
Member

Can you try with the current dev version?

remotes::install_github("r-spatial/mapview")

@cedricbriandgithub
Copy link
Author

It works ! Thank you.

 library(mapview)
#GDAL version >= 3.1.0 | setting mapviewOptions(fgb = TRUE)
mapview(fanconia)
SessionInfo()

image

R version 4.3.2 (2023-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)

Matrix products: default


locale:
[1] LC_COLLATE=French_France.1252  LC_CTYPE=French_France.1252   
[3] LC_MONETARY=French_France.1252 LC_NUMERIC=C                  
[5] LC_TIME=French_France.1252    

time zone: Europe/Paris
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] mapview_2.11.2.9000 rj_4.0.10-2         safer_0.2.1   

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

2 participants