Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 860 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 860 Bytes

RustMap

Attempt to reimplement https://github.com/FreemapSlovakia/freemap-mapnik into Rust, helping mapnik to rest in peace.

Why?

  • Mapnik is no more actively developed except for keeping it to build itself with tools of the recent versions.
  • Better control of the rendering
  • Improve resource demands (CPU, memory)
  • I want to improve my Rust proficiency

Technical details

  • uses the same PostGIS schema as freemap-mapnik
  • uses Cairo for rendering
  • uses GDAL to read from GeoTIFFs

Running

Install Rust and run:

cargo run

TMS URL is then http://localhost:3050/{zoom}/{x}/{y}@2x[|.png|.svg] (adjust your scaling).

TODO

  • Texts along line
  • Icons
  • Porting missing features from freemap-mapnik styles
  • Nodejs binding
  • support for PDF, WebP, Avif, Jpeg
  • ...and other things still missing but present in freemap-mapnik