Scrapes a tileserver and outputs the result in BSB format which is typically used for nautical charts navigation software
- libCurl
- ImageMagick / Magick++
- libPNG
- FreeImage
- http://libbsb.sourceforge.net/
- http://wiki.openstreetmap.org/wiki/Openseamap/DE:KAP-Dateien_aus_OSeaMap_erstellen#Benutzung_von_vorgefertigten_Kacheln
- https://github.com/nlohmann/json
- http://opencpn.de/handbuecher/elektronische-seekarten-selbst-erstellen
- http://opencpn.org/ocpn/chart_conversion_linux
- http://www.dacust.com/inlandwaters/imgkap/
- http://www.imagemagick.org/Magick++/
- http://sourceforge.net/p/freeimage/discussion/36110/thread/7e436844/
- http://a.tile.osm.org/{z}/{x}/{y}.png
- http://d2hcl9zx8watk4.cloudfront.net/tile/{z}/{x}/{y}?LAYERS=config_1_1_0&TRANSPARENT=FALSE&navtoken=TmF2aW9uaWNzX2ludGVybmFscHVycG9zZV8wMDAwMSt3ZWJhcHAubmF2aW9uaWNzLmNvbQ%3D%3D
Finding the most and best rectangles to fit the polygon. Requirements for the rectangles are
- non-rotated
- not too small
- non-overlapping