Giter Site home page Giter Site logo

basemapr's People

Contributors

chrisjb avatar eroten avatar kross0926 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

basemapr's Issues

Error - annotation_raster not found

base_map() throws error

library(sf)
#> Linking to GEOS 3.10.1, GDAL 3.4.1, PROJ 8.2.0; sf_use_s2() is TRUE
library(basemapR)
basemapR::base_map(bbox = st_bbox(localauth_data))
#> old-style crs object detected; please recreate object with a recent sf::st_crs()
#> attribution: &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors &copy; <a href="https://carto.com/attributions">CARTO</a>
#> Error in purrr::pmap(args, annotation_raster, interpolate = TRUE): object 'annotation_raster' not found

Created on 2022-01-20 by the reprex package (v2.0.1)

Error in `purrr::map()

ggplot() +

  • base_map(bbox = my_bbox, basemap = 'hydda', increase_zoom = 2) +
  • geom_sf(data = camden, fill = NA) +
  • geom_sf(data = wandsworth, fill = NA) +
  • ggthemes::theme_map()
    attribution: Tiles courtesy of http://openstreetmap.se/ OpenStreetMap Sweden; Map data © OpenStreetMap contributors
    Error in purrr::map():
    ℹ In index: 1.
    Caused by error in curl::curl_download():
    ! Timeout was reached: [] Operation timed out after 10000 milliseconds with 0 out of 0 bytes received
    Run rlang::last_trace() to see where the error occurred.

Return tiles as Raster

Nice work with this.

I have been trying to figure out how to add functionality to return the tiles as one merged raster file, but it is beyond me. Is it possible to return the pngs as one merged raster layer?

I think it would be nice for use with rayshader (ex, https://wcmbishop.github.io/rayshader-demo/).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.