Skip to content
This repository was archived by the owner on Sep 25, 2025. It is now read-only.

Latest commit

 

History

History
22 lines (14 loc) · 837 Bytes

File metadata and controls

22 lines (14 loc) · 837 Bytes

Drawing maps

This is my attempt at drawing maps using Rust, for educational purposes for now.

As of now, I am using winit for window management, vello for GPU rendering through wgpu, and OpenStreetMap vector data.

I am able to draw some features and layers of a single tile now:

Current Screenshot

Data

Test data for a tile (like tile1.mvt) can be obtained from a .mbtiles file like this:

sqlite3 input-file.mbtiles "select writefile('tile1.gz',tile_data) from tiles limit 1"

This data is encoded according to Vector Tile Specification.