Cruisers Forum
 


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 31-05-2020, 21:06   #46
Registered User
 
phiggins's Avatar

Join Date: Nov 2004
Location: Toronto, Canada
Posts: 1,610
Send a message via Skype™ to phiggins
Re: Sat2Chart

skipperearly,

Thank you for your compliments.

What kind of charts are you you creating kaps or mbtiles?
__________________
Paul,
" One moment you are running along, the next you are no more." Dean Spanley
phiggins is offline   Reply With Quote
Old 01-06-2020, 02:01   #47
Registered User

Join Date: Feb 2012
Location: Austria
Posts: 281
Re: Sat2Chart

At the moment I am testing with mbtiles and multizoom as they are so much easier to pass on for different systems, although I am aware of the reduced color depth to kaps.
skipperearly is offline   Reply With Quote
Old 01-06-2020, 11:24   #48
Registered User
 
phiggins's Avatar

Join Date: Nov 2004
Location: Toronto, Canada
Posts: 1,610
Send a message via Skype™ to phiggins
Re: Sat2Chart

Ok thanks,

I may be able to give you an indication of the file size of the resulting chart(s) but the time it will take depends on too many variables including how long the download(s) will take.
__________________
Paul,
" One moment you are running along, the next you are no more." Dean Spanley
phiggins is offline   Reply With Quote
Old 01-06-2020, 20:37   #49
Registered User
 
yachtvalhalla's Avatar

Join Date: Aug 2009
Location: Philippines
Boat: Fuji 32 Ketch
Posts: 856
Re: Sat2Chart

[QUOTE=martinworswick;3125091
There are some large libraries of kap charts on various users websites,are you aware of any libraries of mbtiles?
Regards,
Martin[/QUOTE]
Hi Martin,

Focusing on Asia, and mostly SE Asia, are my collection of charts (both Kap and Mbtiles), anchorages and routes (plus some other stuff) at this link:

Terry

Terry
__________________
VALHALLA's Mooring Page
yachtvalhalla is offline   Reply With Quote
Old 04-06-2020, 12:59   #50
Registered User
 
phiggins's Avatar

Join Date: Nov 2004
Location: Toronto, Canada
Posts: 1,610
Send a message via Skype™ to phiggins
Re: Sat2Chart

Skipperearly:
Quote:
One feature which I would find useful is to get as early as possible some indication on how long this job will need and what file size to expect.
In the next version , Sat2Chart will estimate how large the resulting file size will be for mbtiles. As you can see in the attachment there are a couple of charts with small file sizes and one huge one around 5 gigabytes, that one will take a long time to process.

Hope this will satisfy your requirement. As I said, estimating the time is not possible.
Attached Thumbnails
Click image for larger version

Name:	File size.jpg
Views:	16
Size:	92.6 KB
ID:	216603  
__________________
Paul,
" One moment you are running along, the next you are no more." Dean Spanley
phiggins is offline   Reply With Quote
Old 05-06-2020, 05:08   #51
Registered User
 
Viking Sailor's Avatar

Join Date: Nov 2006
Location: San Francisco Bay
Boat: Fantasia 35
Posts: 1,225
Re: Sat2Chart

Hey Paul,


Can you measure the initialization time, multiply that times a constant, and divide the results into the file size to get a time estimate? The constant can be a value based upon the type of file being generated and maybe selected for file size. You will probably need to do some testing to determine value(s) for the constant. If you can get within say 10% it would probably be good enough.


Paul
Viking Sailor is offline   Reply With Quote
Old 05-06-2020, 13:20   #52
Registered User

Join Date: Jan 2011
Location: UK/France
Boat: Gib'Sea 402
Posts: 423
Re: Sat2Chart

Why don't you do that for yourself, then it's tailored to your own system
hoolie is online now   Reply With Quote
Old 05-06-2020, 13:29   #53
Registered User
 
phiggins's Avatar

Join Date: Nov 2004
Location: Toronto, Canada
Posts: 1,610
Send a message via Skype™ to phiggins
Re: Sat2Chart

Viking Sailor,

How do I calculate the Download time?
__________________
Paul,
" One moment you are running along, the next you are no more." Dean Spanley
phiggins is offline   Reply With Quote
Old 05-06-2020, 16:11   #54
Registered User
 
Viking Sailor's Avatar

Join Date: Nov 2006
Location: San Francisco Bay
Boat: Fantasia 35
Posts: 1,225
Re: Sat2Chart

Quote:
Originally Posted by phiggins View Post
Viking Sailor,

How do I calculate the Download time?

Download either the beginning of the desired file, or another file of known size. Measure the time required to do this download. Use this measurement to estimate a nominal time to download the desired file. Display the estimated time to download and process the file. Download and process the file. Repeat the calculations for the next file.
Viking Sailor is offline   Reply With Quote
Old 05-06-2020, 18:12   #55
Registered User
 
phiggins's Avatar

Join Date: Nov 2004
Location: Toronto, Canada
Posts: 1,610
Send a message via Skype™ to phiggins
Re: Sat2Chart

You cannot take one download and use it to estimate the rest. They all may be different. One may have zero download time and another may take hours. Can't be done.
__________________
Paul,
" One moment you are running along, the next you are no more." Dean Spanley
phiggins is offline   Reply With Quote
Old 05-06-2020, 23:01   #56
Registered User
 
Viking Sailor's Avatar

Join Date: Nov 2006
Location: San Francisco Bay
Boat: Fantasia 35
Posts: 1,225
Re: Sat2Chart

Paul,

I have from time to time downloaded a number of files. Sometimes the download process provides a download rate (MB/s) and/or a time to download completion. I suspect that this info is provided by the download server via an API. When I offered the above suggestion I assumed that you would be aware of such an API and would have applied it to solving this problem. Thus, I could only conclude that there is no API available to provide the needed download statistics. As an alternative the suggested method is based upon my observations that over the short term the download rate is fairly consistent from a given server over an established link. However, I have also observed that the server load or the quality of the link can vary resulting in an erroneous time calculation. The thing is the time calculations only need to be your best guess to be helpful. And it doesn't even have to be time, it could be a percentage of completion which can be at a variable rate. (As in: Windows updates)


Paul
Viking Sailor is offline   Reply With Quote
Old 06-06-2020, 01:07   #57
Registered User
 
phiggins's Avatar

Join Date: Nov 2004
Location: Toronto, Canada
Posts: 1,610
Send a message via Skype™ to phiggins
Re: Sat2Chart

I think providing an estimate of the size of the resulting mbtiles files is sufficient for a user to determine how long it will take.

BTW love your Netflix series (Vikings).
__________________
Paul,
" One moment you are running along, the next you are no more." Dean Spanley
phiggins is offline   Reply With Quote
Old 06-06-2020, 03:59   #58
Registered User

Join Date: Jan 2011
Location: UK/France
Boat: Gib'Sea 402
Posts: 423
Re: Sat2Chart

Quote:
Originally Posted by Viking Sailor View Post
Paul,

I have from time to time downloaded a number of files. Sometimes the download process provides a download rate (MB/s) and/or a time to download completion. I suspect that this info is provided by the download server via an API. When I offered the above suggestion I assumed that you would be aware of such an API and would have applied it to solving this problem. Thus, I could only conclude that there is no API available to provide the needed download statistics. As an alternative the suggested method is based upon my observations that over the short term the download rate is fairly consistent from a given server over an established link. However, I have also observed that the server load or the quality of the link can vary resulting in an erroneous time calculation. The thing is the time calculations only need to be your best guess to be helpful. And it doesn't even have to be time, it could be a percentage of completion which can be at a variable rate. (As in: Windows updates)


Paul
As I suggested above - why don't you do your own tests if you're worried about it? Most people when they find the PC's busy just go and do something else for a while.

TBH I think Paul has a hell of a lot of other things to occupy himself without spending hours conjecturing about your download speeds.
hoolie is online now   Reply With Quote
Old 06-06-2020, 05:49   #59
Registered User
 
Viking Sailor's Avatar

Join Date: Nov 2006
Location: San Francisco Bay
Boat: Fantasia 35
Posts: 1,225
Re: Sat2Chart

Quote:
Originally Posted by phiggins View Post
I think providing an estimate of the size of the resulting mbtiles files is sufficient for a user to determine how long it will take.

BTW love your Netflix series (Vikings).

OK! Looking forward to seeing what you implement.





I've never watched that series.
Viking Sailor is offline   Reply With Quote
Old 07-06-2020, 00:58   #60
Registered User

Join Date: Feb 2012
Location: Austria
Posts: 281
Re: Sat2Chart

Having started this idea of "estimating space an d time" I feel I should comment on some of the statements above.
When creating mbtiles with option sasplanet and e.g. 5 splits I can see in each download dialog various estimates including time. I appreciate that too frequent updating of the estimates will result in undesirable overheads but there should be something better than just leave it to the user to guess based on the expected file sizes.https://www.cruisersforum.com/forums...lies/peace.gif

Something else:
When testing and producing mbtiles in different parts of the geography I produced the attached error.

I was first trying to produce charts from polygons and in another run (rebooted in between to make sure!) following a path. Found it confusing that the "select zoom levels" dialog asks for polygons when only path is the source and vice versa. Also pre-selected zoomlevels can easily be overlooked (e.g x11 onwards) and then Sat2Chart tries to make tiles for the path and then also the tiles from the last polygon run.
Would like to suggest:
- offer a "clear all zoom selection" option
and
- some dialog logic based on path OR polygon vs path AND polygon as source for map creation.

just my2cent - and its a great program - thanks!
Attached Thumbnails
Click image for larger version

Name:	Sat2Chart error.png
Views:	16
Size:	237.6 KB
ID:	216731  
skipperearly is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
SAT2CHART P_Dub OpenCPN 10 18-03-2020 15:49
sat2chart kap images low resolution Sailmonkey OpenCPN 3 16-10-2019 18:20
SAT2CHART can't create charts from polygons baltika_no_9 OpenCPN 7 22-04-2019 15:40

Advertise Here


All times are GMT -7. The time now is 15:52.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.