I finally have found a cross-platform way to generate kap files from tile servers in 3 steps. It doesn't require using google earth
api, or ge2kap.
Enter the bounding coordinates of the area to gather into a mapproxy-seed configuration, eg:
bbox: [-61.75, 11.95, -61.6616, 12.05]
This simple example using a single
bounding box, but it is possible to use many bounding boxes, or even polygons and shapefiles to define areas. Perhaps the draw plugin could export boundaries into a format supported by mapproxy.
If you use a higher level like 18 you get more resolution, but each level is 4x more data.
Then you must make a working mapproxy config file. This can work for all the seeds and can define various tile servers for sources. I have an example in my new project
Run mapproxy seed to obtain the data in a single
mbtiles database file
Run mbtiles2kaps.py to convert it to kap files. I have included scripts in this project
As a final note, kap and png are _not_ a good format for satellite
jpg is much better. mbtiles supports jpg, but so far reading mbtiles charts
is not yet possible, but in the future will be which will eliminate the last step and reduce network and disk requirements. (it is already possible to build jpg mbtiles databases with mapproxy if you have limited bandwidth)