Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 09-05-2015, 22:33   #1
Registered User

Join Date: Dec 2006
Posts: 80
Editing boat xml

I tried to edit boat.xml with Polar_pi and weather_routing_pi and I was unable to get either of these to work. I want to tweak my polar file (boat.xml) and Polar_pi crashes when I tried to load it and when I tried to edit it in weather_routing_pi I was unable to display a spreadsheet style format required to alter the values for the polar.

How do other folks edit boat.xml? I also tried to load it into openoffice without success.

Thank, Jim
__________________

__________________
jimthom is offline   Reply With Quote
Old 09-05-2015, 22:59   #2
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: chesapeake bay
Boat: bristol 27
Posts: 2,809
Re: Editing boat xml

boat.xml does not contain any polar data. Instead it contains the filenames of one or more polar files (csv format) or parameters to automatically compute the polar data.

Try loading it with a text editor, then opening the csv file it references also with a text editor or possibly the polar plugin.
__________________

__________________
boat_alexandra is online now   Reply With Quote
Old 09-05-2015, 23:35   #3
Registered User

Join Date: Dec 2006
Posts: 80
Re: Editing boat xml

Thank you; I opened boat.xlm with notepad but it does not reference any csv or pol files; so it must compute the polar file from the boat parameters.

Can I add a line in the boat.xml file to reference one of pol files supplied in the weather_routing_pi directory? I can then edit this.
__________________
jimthom is offline   Reply With Quote
Old 10-05-2015, 00:11   #4
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: chesapeake bay
Boat: bristol 27
Posts: 2,809
Re: Editing boat xml

yes. Or you can open a polar file from the weather routing plugin and it should automatically save the boat.xml file to reference it.
__________________
boat_alexandra is online now   Reply With Quote
Old 23-05-2015, 10:35   #5
Registered User

Join Date: May 2012
Location: West Africa
Boat: Jeanneau Sun Legende 41
Posts: 52
Send a message via Skype™ to jean_pfoumf
Re: Editing boat xml

Hello

I have just installed OpenCPN and plugins on my new Linux Mint 17.1.
Everything works except I can't find any Boat.xml in WeatherRouting plugin.
Where can I download boat.xml ? or a description to create it ?

Jean
__________________
jean_pfoumf is offline   Reply With Quote
Old 23-05-2015, 23:21   #6
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,394
Re: Editing boat xml

Jean it should have been installed under the plugin's data directory. Perhaps do a search?

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
__________________
rgleason is online now   Reply With Quote
Old 24-05-2015, 02:12   #7
Registered User

Join Date: Nov 2014
Location: Netherlands
Posts: 179
Re: Editing boat xml

Jean,

On the Weather Routing Configuration page in the Boat section click on Edit.
This will open the Boat window.
Here you can enter your boat info and define a Polar file if you have one.
Do a Save and Close and the Boat.xml should be generated.

Peter
__________________
ptulp is offline   Reply With Quote
Old 24-05-2015, 03:01   #8
Registered User

Join Date: May 2012
Location: West Africa
Boat: Jeanneau Sun Legende 41
Posts: 52
Send a message via Skype™ to jean_pfoumf
Re: Editing boat xml

That works, thank you
__________________

__________________
jean_pfoumf is offline   Reply With Quote
Reply

Thread Tools
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
How to merge two navobj.xml? myocean OpenCPN 5 24-05-2015 10:00
Are you an XML expert? Tropical Storm Layer bbalan OpenCPN 7 28-08-2014 05:33
Editing or Deleting Posts Thistle Forum Tech Support & Site Help 6 07-01-2010 09:36



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.