This project provides sea mark vector tiles. It uses the data collected by the OpenSeaMap.
- Smaller file sizes
- Better suited for offline usage
- Support for high-DPI displays
- Keep the sea marks upright when rotating the map
- Possibility to change the style of the sea marks
There have been some attempts in the past to generate vector tiles from the OpenSeaMap data. Some of them are:
- https://github.com/OpenSeaMap/vectortiles-generator (last commit Aug 27, 2016)
- osm2vectortiles/osm2vectortiles#402 (archived Dec 26, 2017)
- https://osmand.net/ (not feature complete, sea marks near each other missing)
- https://web.archive.org/web/20210624173209/https://www.openseachart.org/doku.php/enc (ENC format, links to government data, not available anymore)
- https://www.elwis.de/DE/Service/Inland-ENC-der-WSV/Inland-ENC-der-WSV-node.html (ENC format, German waterways)
- https://github.com/tilery/OpenRiverboatMap (CartoCSS style, only waterways)
- https://wiki.openstreetmap.org/wiki/User:Kannix/vector-tiles, https://maps.grade.de/ (only waterways)
- Reproducibility through documentation and availability of source code and assets
- Use of available open source tools to reduce custom code and tools (osmium, tippecanoe, etc.)
- Possibility to generate and self-host tiles
- Support offline usage (small file sizes)
- Usage of modern file formats and standards (MBTiles, PMTiles, GeoJSON, MVT, etc.)
- Keep all resources centralized in one place (this GitHub repository)
- Performant rendering of sea mark tiles
- All documentation and discussions are in english to avoid regional fragmentation
- Support for consumer devices (smartphones, tablets and laptops)
- Not every feature from the OpenSeaMap is currently rendered ( e.g. Sectored and Directional Lights)
- Completely up-to-date tiles (e.g. daily updates)
- Plotters like Garmin or Raymarine are not supported
- Download OpenSeaMap data
- Filter data to only include sea marks (
seamark:type=
exists) - Convert data to GeoJSON
- Generate vector tiles from GeoJSON
- (optional) Convert them into PMTiles
- Serve vector tiles
- Display the tiles with by using Mapbox / MapLibre style JSON
- Can't display small craft facilities if multiple are on the same point separated by a semicolon
- Some sea marks are not rendered correctly
- Sectored and Directional Lights
- Buoys, Beacons and Lights with multiple colors
- Multiple lights at one point