#openstreetmap #osm

slippy-map-tiles

Work with Slippy map tile names, found in OpenStreetMap

13 breaking releases

Uses old Rust 2015

0.16.0 Aug 14, 2020
0.15.0 Jul 20, 2019
0.14.0 Feb 28, 2018
0.13.1 Apr 13, 2018
0.5.0 Mar 17, 2016

#12 in #openstreetmap

42 downloads per month
Used in mapbox_vector_tile

GPL-3.0 and maybe AGPL-3.0+

74KB
1.5K SLoC

slippy-map-tiles

Build Status Crates.io Documentation

Utilities for working with Slippy map tile names. Documentation

Read more about slippy map tilename.

Copyright

Copyright 2016 Rory McCann rory@technomancy.org. Licenced under the GNU GPL v3 (or later). If you'd like another licence, contact me.


lib.rs:

Abstractions and functions for working with OpenStreetMap (etc.) tiles

Examples

use slippy_map_tiles::Tile;

let t = Tile::new(6, 35, 23).unwrap();

You cannot create invalid tiles

# use slippy_map_tiles::Tile;
assert!(Tile::new(0, 3, 3).is_none());

Dependencies

~1–1.3MB
~38K SLoC

;6_