Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 01-08-2016, 10:20   #1
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
satellite imagery in linux

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, google api, or ge2kap.

1)

Enter the bounding coordinates of the area to gather into a mapproxy-seed configuration, eg:

Code:
seeds:
  level17:
    caches: [default]
    coverages: [grenada]
    levels:
      from: 17
      to: 17

coverages:
  grenada:
    bbox: [-61.75, 11.95, -61.6616, 12.05]
    srs: "EPSG:4326"
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.

2)

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:

https://github.com/seandepagnier/mbtiles-nautical-boxes

Run mapproxy seed to obtain the data in a single mbtiles database file

3)

Run mbtiles2kaps.py to convert it to kap files. I have included scripts in this project:

https://github.com/seandepagnier/mbtiles-nautical-tools


As a final note, kap and png are _not_ a good format for satellite imagery.

jpg is much better. mbtiles supports jpg, but so far reading mbtiles charts in opencpn 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)
seandepagnier is offline   Reply With Quote
Old 05-08-2016, 01:29   #2
Registered User

Join Date: Aug 2016
Posts: 150
Re: satellite imagery in linux

thanx for your great job. I'm using another way for create a KAP Charts.

https://github.com/wellenvogel/mobac_convert
BlackSea is offline   Reply With Quote
Old 05-08-2016, 05:27   #3
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: satellite imagery in linux

I am playing with mobac. Apparently it can save as mbtiles also.

What I don't understand with the script is why it claims it can't match the ellipsoid model, when in fact it could if it embedded the wpx and wpy parameters into the kap.

In any case, the real issue is gathering the required areas and levels to build a complete nautical chart. Otherwise the data required is huge, covering areas on both land and sea (we only care about coastlines)

What did you do about this? Do you just manually select boxes and levels, or do you have a better system? So far I am building a database of bounding boxes at various levels with 20,000 boxes of various zoom levels. The highest levels are small areas around ports or narrow passes.


From here I should make a tool to filter them based on areas so you can for example, only grab the med or australia or what you like.
seandepagnier is offline   Reply With Quote
Reply

Tags
linux, satellite


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
satellite imagery dominoMarie Challenges 2 05-07-2014 07:53
Challenge: Interpreting Satellite Imagery SV Someday Came Challenges 14 10-04-2009 10:39
Satellite Imagery II jscott Marine Electronics 0 21-11-2007 13:06
Satellite Imagery Lodesman Marine Electronics 56 21-11-2007 10:07

Advertise Here


All times are GMT -7. The time now is 13:45.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.