Rust

From OpenStreetMap Wiki
Jump to navigation Jump to search

Rust is a multi-paradigm programming language focused on performance and safety, especially safe concurrency. Rust is syntactically similar to C++, but provides memory safety without using garbage collection.

Basic

PBF

  • osmpbfreader (doc) Read OpenStreetMap PBF files.
  • osmpbf (doc) Read PBF format.
  • pbf-reader (doc) PBF file format reader.
  • osm_pbf_iter (doc) Parse OpenStreetMap .pbf dumps while trying to avoid copying.
  • osm4routing (doc) Converts PBF to CSV.
  • osm-proto-rs (doc) Prost-generated native Rust bindings for the OSM PBF file format.
  • osm-to-geojson (doc) A CLI application that filters OSM PBF data files based on tags and then converts them to GeoJSON features in an NDJSON format.
  • osm-io (doc) Read/Write PBF files and convert to pg_dump files ready to load into OSM PostgreSQL.

XML

  • osm (doc) OSM XML serialization and other OpenStreetMap utilities.
  • osm-xml (doc) Simple osm xml v0.6 parser.
  • osmio (doc) Read and write OpenStreetMap data files.
  • vadeen_osm (doc) Reading and writing xml and o5m. Pbf in the near future.

Tiles

Rendering

  • sailor (doc) A sailing navigation application.
  • maplibre-rsAn experimental implementation of MapLibre in Rust.
  • galileo General purpose cross-platform GIS-rendering library written in Rust.

Graphs

  • osmgraphing (doc) Playing around with graphs created via parsing OpenStreetMap data.
  • osmgpsmap (doc) Openstreetmap widget for GTK.

Stats

Public Transport

Other

  • hecate (doc) OpenStreetMap Inspired Data Storage Backend Focused on Performance and GeoJSON Interchange.
  • ferrostar (doc) Data models, core business logic, routing engine interface (Valhalla-focused, but supports other OSRM-like routes) and state machine for building navigation applications.
  • build_pbf_glyphs (doc) A CLI utility (built on top of libraries pbf_font_tools (doc) and sdf_glyph_renderer (doc)) for generating SDF glyphs from fonts for use in MapLibre or Mapbox renderers.
  • spreet (doc) A spritesheet generator that processes icons into the format used by MapLibre and Mapbox renderers.

See also