Skip to content

Releases

basemapper v0.1.1

Choose a tag to compare

@ar-puuk ar-puuk released this 23 Nov 06:37
f8b83d7

A maintenance release: no change to the packages' code since v0.1.0.

What changed

  • Install instructions name the release. The READMEs, the landing page and the getting-started guides install v0.1.1 instead of the development branch, and tools/version.py set keeps those pins in step with the package version.
  • The Python guide runs on every documentation build, as the R articles do; great-docs' _freeze/ results are no longer kept in the repository.
  • R NEWS and the Python changelog date the 0.1.0 release; CHANGELOG.md links each section to its tag.

Install

pak::pak("ar-puuk/basemapper/r-basemapper@v0.1.1")
pip install "basemapper @ git+https://github.com/ar-puuk/basemapper@v0.1.1#subdirectory=py-basemapper"
[dependencies]
basemapper-core = { git = "https://github.com/ar-puuk/basemapper", tag = "v0.1.1" }

Each compiles the Rust core: you need a Rust toolchain, and Rtools on Windows for R.

Documentation: https://ar-puuk.github.io/basemapper/ · Full changelog: v0.1.0...v0.1.1

basemapper v0.1.0

Choose a tag to compare

@ar-puuk ar-puuk released this 23 Nov 02:59
9f43edb

basemapper's first numbered release: MapLibre GL basemaps rendered headlessly, with a Rust core shared by R and Python. No browser, GPU, display server or GDAL.

Highlights

  • MapLibre's look, headless. Vector styles are drawn by a CPU port of MapLibre GL JS's renderer, tested pixel by pixel against MapLibre GL JS (fills, lines, labels, icons, patterns, hillshade). Any fractional zoom and pixel ratio.
  • One API in three languages. The same functions and arguments in R, Python and Rust: basemap(), render_png(), render_svg(), render_array(), list_layers(), get_attribution(), ...
  • 82 named basemaps, including OpenFreeMap, Esri, CARTO, Stadia, MapTiler, USGS, and the Utah Geospatial Resource Center's vector basemaps (UGRC.Lite, UGRC.Dark, UGRC.Hybrid, UGRC.Outdoors) and all 36 UGRC Discover layers (with a quad word).
  • Your own tiles: any MapLibre style, tile URLs, TileJSON, PMTiles, ArcGIS services, WMS and WMTS.
  • True vector SVG with editable text and embedded fonts, for raster and vector basemaps.
  • Under your plots: ggplot2 (geom_basemap()), tmap (tm_basemap()), matplotlib (add_basemap()) and plotnine (geom_basemap()), rendered at the output resolution, in any CRS, with the provider's credit.
  • Stack and filter: several styles as one map; keep or drop labels and features (water, roads, parks, ...), across a stack as one basemap.
  • A tile cache that looks after itself, within 250 MB by default.

Install

From GitHub (each compiles the Rust core: you need a Rust toolchain, and Rtools on Windows for R):

pak::pak("ar-puuk/basemapper/r-basemapper@v0.1.0")
pip install "basemapper @ git+https://github.com/ar-puuk/basemapper@v0.1.0#subdirectory=py-basemapper"
[dependencies]
basemapper-core = { git = "https://github.com/ar-puuk/basemapper", tag = "v0.1.0" }

New since v0.0.6

  • The tile cache deletes expired tiles and keeps within a size limit (250 MB; tile_cache(max_size =) or BASEMAPPER_CACHE_MAX_SIZE), as CRAN asks; BASEMAPPER_CACHE_DIR sets one folder for R and Python.
  • Each package reports the version they share: packageVersion("basemapper"), basemapper.__version__, basemapper_core::VERSION.
  • A root CHANGELOG.md, written from the commit history; earlier milestones are tagged v0.0.1 to v0.0.6.

Documentation: https://ar-puuk.github.io/basemapper/ · What changed in each package: R, Python · Full changelog: v0.0.6...v0.1.0