Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 17-04-2019, 08:52   #1
Registered User

Join Date: Jun 2017
Posts: 67
SAT2CHART can't create charts from polygons

My set up:
Windows 10
Sat2chart v3.0.4.0
SAS.planet 190114.9821
GDAL-204-1911-core
ooRexx 5.0.00.11579-x86_32
Monitor resolution 1366x768

I can create charts fine from SASplanet screens but when I try to create from a polygon I get the following error:

Error: gdal_translate failed gdalrc=1
ERROR 4: Attempt to create new tiff file `C:\SAT2CHART\SAT2CHART.V3.0.4.0\temp\quilt_GE_Bac kground_Image_1555518849.tif' failed: Permission denied


Quilt_thread bad rc from R_Create_Quilted_Kap for chart_name=tiled_1 the rc=OK

In the temp file mentioned as having permission problems I can see that the process has successfully written some files in there so why it fails at some point I have no idea. I've tried using both GE and ArcGIS.Imagery as the map sources in SASplanet.

I recognise this is not an OpenCPN problem per se but would be interested to know if anyone could help me.

Many Thanks
__________________

baltika_no_9 is offline   Reply With Quote
Old 19-04-2019, 01:00   #2
Registered User

Join Date: Jun 2017
Posts: 67
Re: SAT2CHART can't create charts from polygons

Well it seems only to fail while trying to produce kap files. I don't have any problem if instead I select mbtiles as the output format.
__________________

baltika_no_9 is offline   Reply With Quote
Old 20-04-2019, 11:51   #3
Registered User
 
phiggins's Avatar

Join Date: Nov 2004
Location: Toronto, Canada
Posts: 1,457
Send a message via Skype™ to phiggins
Re: SAT2CHART can't create charts from polygons

I have reported this problem already and the response from the OpenCPN group was to terminate OpenCPN before creating an existing mbtiles chart as OpenCPN has a lock on the chart that already exists. Not a good solution in my opinion.
__________________
Paul,
" One moment you are running along, the next you are no more." Dean Spanley
phiggins is offline   Reply With Quote
Old 20-04-2019, 13:14   #4
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 5,072
Re: SAT2CHART can't create charts from polygons

Quote:
Originally Posted by phiggins View Post
I have reported this problem already and the response from the OpenCPN group was to terminate OpenCPN before creating an existing mbtiles chart as OpenCPN has a lock on the chart that already exists. Not a good solution in my opinion.
MBTiles is a database, closing and reopening the database after each query just so that you can overwrite it with new, completely different database anytime you decide it was a good idea completely out of scope would be a performance disaster, we can not allow that, sorry.
nohal is offline   Reply With Quote
Old 20-04-2019, 14:46   #5
Registered User

Join Date: Jun 2017
Posts: 67
Re: SAT2CHART can't create charts from polygons

Quote:
Originally Posted by phiggins View Post
I have reported this problem already and the response from the OpenCPN group was to terminate OpenCPN before creating an existing mbtiles chart as OpenCPN has a lock on the chart that already exists. Not a good solution in my opinion.
Paul

Thank you but I think my problem may be different from the one you're referring to. I get the error when I create charts on my Windows PC. It doesn't have OpenCPN on it at all, I just use it to generate charts as it's a pretty powerful machine. I run OpenCPN on an RPi.

Having discovered that I can generate mbtiles charts then the SAT2CHART/SASplanet combo works just fine for me. It just doesn't like making KAP charts from paths or polygons in my set up. Your effort in providing SAT2CHART is very much appreciated, it's astonishingly useful; thank you sincerely.
baltika_no_9 is offline   Reply With Quote
Old 22-04-2019, 04:47   #6
Registered User
 
yachtvalhalla's Avatar

Join Date: Aug 2009
Location: Philippines
Boat: Fuji 32 Ketch
Posts: 793
Re: SAT2CHART can't create charts from polygons

Quote:
Originally Posted by baltika_no_9 View Post
Well it seems only to fail while trying to produce kap files. I don't have any problem if instead I select mbtiles as the output format.

I don't understand why you want to create KAP charts when the color resolution on mbtiles charts is so much better.


Terry
__________________
VALHALLA's Mooring Page
yachtvalhalla is online now   Reply With Quote
Old 22-04-2019, 11:27   #7
Registered User

Join Date: Jun 2017
Posts: 67
Re: SAT2CHART can't create charts from polygons

Quote:
Originally Posted by yachtvalhalla View Post
I don't understand why you want to create KAP charts when the color resolution on mbtiles charts is so much better.


Terry
I can't disagree with that Terry but would be keen to know why the other option doesn't seem to work as it should.
baltika_no_9 is offline   Reply With Quote
Old 22-04-2019, 15:40   #8
Registered User
 
yachtvalhalla's Avatar

Join Date: Aug 2009
Location: Philippines
Boat: Fuji 32 Ketch
Posts: 793
Re: SAT2CHART can't create charts from polygons

Quote:
Originally Posted by baltika_no_9 View Post
I can't disagree with that Terry but would be keen to know why the other option doesn't seem to work as it should.

It does work for me with Windows 10 (two different machines) so you have a local problem to sort. Good luck.


Terry
__________________

__________________
VALHALLA's Mooring Page
yachtvalhalla is online now   Reply With Quote
Reply

Tags
charts

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
Help create better charts TimThornton Navigation 0 25-06-2010 03:52



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 01:48.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.