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
Download history 48/week @ 2024-06-15 50/week @ 2024-06-22 21/week @ 2024-06-29 136/week @ 2024-07-06 55/week @ 2024-07-13 49/week @ 2024-07-20 46/week @ 2024-07-27 51/week @ 2024-08-03 45/week @ 2024-08-10 94/week @ 2024-08-17 46/week @ 2024-08-24 784/week @ 2024-08-31 1425/week @ 2024-09-07 3459/week @ 2024-09-14 1294/week @ 2024-09-21 1982/week @ 2024-09-28

8,413 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

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

Dependencies

~2.1–3MB
~54K SLoC