moorwegsiedlung

APACHE-2.0 License

Stars
0
Committers
2

Moorwegsiedlung

This is deployed at: https://lfrancke.github.io/moorwegsiedlung/

Fonts

I followed the instructions on the docs page to download the necessary fonts locally: https://codeload.github.com/protomaps/basemaps-assets/zip/refs/heads/main Last downloaded: adc3c3638ead91a59d1b0640e89a9af1e037c227

Sprites & Map Style

The sprites and style come from osm-liberty: https://github.com/maputnik/osm-liberty

Maps Download

Prebuilt

./pmtiles extract \
  https://build.protomaps.com/20240109.pmtiles \
  moorwegsiedlung.pmtiles \
  --bbox=9.713459,53.588748,9.734724,53.601635
  --maxzoom=14

This creates a larger file than necessary because it seems to download low resolution data for the whole world despite setting maxzoom.

Custom

To create a custom map, which includes features that are not part of the pre-built Protomaps one needs to build a custom map.

  • Download a OSM PBF extract for e.g. Schleswig-Holstein from Geofabrik
  • Use Tilemaker or Planetiler to generate a custom pmtile
  • Use the pmtiles CLI to only extract the bits you need
  • TODO: It must be possible to cut the bit one needs out of the PBF in the first place to save some space/time during processing

Planetiler

Notes / Resources

Build vector tiles

Other stuff

Geocoder

Troubleshooting

Unimplemented Type 4 error means that some fonts are not available.

TODO

The map style uses an old syntax and needs to be migrated using

Credits

Favicon

This favicon was generated using the following font:

Map Style & Sprites

This comes from the osm-liberty project and uses various licenses (BSD, CC0 1.0, etc.)

Fonts

https://github.com/protomaps/basemaps-assets SIL Open Font License