Skip to content

FreemapSlovakia/rustmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published