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 14-10-2011, 19:54   #1
Registered User
 
sinbad7's Avatar

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,731
Images: 57
Send a message via Skype™ to sinbad7
Yahoo Pipes for OpenCPN

Has anyone experience with the Yahoo PIPES data manipulation system?

In this example the program collects .xml information from a Globalstar SPOT server and converts it to a format which can be displayed on a Yahoo Map.

The programing layout looks like nothing I've ever seen before and is way beyond my capabilities although it is supposed to be both intuitive as well as interactive.

As far as I understand,your imagination is the limit,and it should be equally easy to construct a model which displays the data on an OCPN map.

Take the challenge anyone?

Tore
Attached Thumbnails
Click image for larger version

Name:	Screenshot_02 Oct. 14 23.39.jpg
Views:	186
Size:	190.8 KB
ID:	32628   Click image for larger version

Name:	Screenshot_03 Oct. 14 23.41.jpg
Views:	201
Size:	261.5 KB
ID:	32629  

__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 15-10-2011, 06:34   #2
Registered User
 
Richard Jordan's Avatar

Join Date: Mar 2010
Location: Fort Lauderdale, Florida, USA
Boat: Rhodes 32
Posts: 317
Re: Yahoo Pipes for OpenCPN

I have experience Yahoo Pipes ( pipes.yahoo.com ). I like the live bookmarks feature on Firefox, but there's no built in way to aggregate feeds into a single bookmark. I depend on Pipes to do my aggregation , a pretty simple task.

I am not sure how to do what you suggest using Pipes, but I'll poke around. I am trying to get my bearings in OpenCPN. I have a SPOT.
Richard Jordan is offline   Reply With Quote
Old 15-10-2011, 08:20   #3
Registered User
 
sinbad7's Avatar

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,731
Images: 57
Send a message via Skype™ to sinbad7
Re: Yahoo Pipes for OpenCPN

Hi Richard..

Thanks for quick response to my inquiry.

As you see from the screen dump of the sample SPOT display created by the 'Hari' SPOT pipe,the 'main engine' is already there but needs to output the data to one of the OCPN data inputs.

OCPN is now becoming a very impressive yet easy to use navigation software,and the addittion of SPOT 'targets',similar to the already existing AIS 'targets' would greatly enhance the program.

Ideally,the Yahoo pipe setup should be able to poll a Globalstar SPOT database of ALL current public usercodes and display any/all targets within the geo location of the current OCPN map display. Globalstar SPOT is not the most informative/innovating provider I have been communicating with,and I am not sure whether such a database of public usercode presently exists or can be made available. See no reason why not as all the public usercodes have been submitted by the SPOT users for non-restricted public use.

Globalstar SPOT,although it has intentions to set up a USER FORUM,it has never been activated. For this reason I have invited ALL marine SPOT users to a newly created forum here within Cruisers Forum and hope it will be well attended.
Join here: http://www.cruisersforum.com/forums/...ide-69864.html

Looking forward to your further postings here..

Regards
Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 16-10-2011, 13:26   #4
Registered User
 
sinbad7's Avatar

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,731
Images: 57
Send a message via Skype™ to sinbad7
Re: Yahoo Pipes for OpenCPN

Richard..

OCPN is already compatible with AIS sentences in the coded format of:

Quote:
!AIVDM,1,1,,A,33uDkH?Ohk0l2j>Q@;tkwk<j01<1,0*0E
!AIVDM,1,1,,A,13tuE<00010mI<>Q03UqL5Vj0<2c,0*25
!AIVDM,1,1,,B,13@ng3@0000qciHOpOEcQSHj0d19,0*04
!AIVDM,1,1,,B,15CnGL00260gjRpQ467S5RPb0D51,0*0E
!AIVDM,1,1,,B,13P:a=82Cp0PSIjHqc0j2Qhf0l1K,0*73
!AIVDM,1,1,,B,13P:t7002CPgJo@Q4`vRjRDj0@>L,0*18
!AIVDM,1,1,,A,13u>RL0Oi<0mAPLQ2nKduJBj08>I,0*11
!AIVDM,1,1,,B,13u8St005WPisvlPnA:26Qbf0D4b,0*49
!AIVDM,1,1,,B,53MIWN00?B68LP=<0004q@58=@T<40000000 000U2hF535fd08@hCSQDh00000000000000,2*7E
!AIVDM,1,1,,A,13uS;400020t=jlOcidc60Ld0@>Q,0*03
!AIVDM,1,1,,B,13@nfEh01wPiUrtPkdATn3hl0D1k,0*63
Using an AIVDM decoder,the sentences in clear language appears as attached. There is a type 'A' and a type 'B' message.

Perhaps the much simpler,polled SPOT messages could be delivered to the COM port in a similar manner?

A simple way could be to automatically poll the Globalstar SPOT database at set time intervals,convert the .xml files to .gpx and store them in a fixed directory on the HD for later,manual/automatic import by the Route Manager.

NOTE.. For the present,SPOT data polling is only possible over internet.
In the future it may be possible using the Globalstar LEO satellites for this purpose.


Tore
Attached Thumbnails
Click image for larger version

Name:	Screenshot_05 Oct. 16 18.00.jpg
Views:	203
Size:	45.5 KB
ID:	32679   Click image for larger version

Name:	Screenshot_04 Oct. 16 18.00.jpg
Views:	185
Size:	57.2 KB
ID:	32680  

Click image for larger version

Name:	Screenshot_03 Oct. 16 17.53.jpg
Views:	139
Size:	41.1 KB
ID:	32681   Click image for larger version

Name:	Screenshot_02 Oct. 16 17.52.jpg
Views:	159
Size:	84.0 KB
ID:	32682  

__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 16-10-2011, 14:32   #5
Registered User
 
Richard Jordan's Avatar

Join Date: Mar 2010
Location: Fort Lauderdale, Florida, USA
Boat: Rhodes 32
Posts: 317
Quote:
Originally Posted by sinbad7
Richard..

OCPN is already compatible with AIS sentences in the coded format of:

Using an AIVDM decoder,the sentences in clear language appears as attached. There is a type 'A' and a type 'B' message.

Perhaps the much simpler,polled SPOT messages could be delivered to the COM port in a similar manner?

A simple way could be to automatically poll the Globalstar SPOT database at set time intervals,convert the .xml files to .gpx and store them in a fixed directory on the HD for later,manual/automatic import by the Route Manager.

NOTE.. For the present,SPOT data polling is only possible over internet.
In the future it may be possible using the Globalstar LEO satellites for this purpose.

Tore
Tore..

Cool. Of course using Yahoo Pipes requires internet access. Maybe another idea is to figure out what Hari did and leverage the code client side to directly poll SPOT looking forward to someday pulling data from the LEO satellites. Thanks for the AIS info.
Richard Jordan is offline   Reply With Quote
Old 17-10-2011, 09:14   #6
Registered User
 
Richard Jordan's Avatar

Join Date: Mar 2010
Location: Fort Lauderdale, Florida, USA
Boat: Rhodes 32
Posts: 317
Re: Yahoo Pipes for OpenCPN

Tore

Hari's pipe that you posted doesn't clone nicely because Hari updated the source code after published the pipe. The images you attached to this thread are outdated. If you want to clone and see the real source, try this one by bousque titled "SPOT HRP Titoine":

Pipes: SPOT HRP Titoine

You can use the glid ( 07SRtGl3fqrmR1BAxFVJQxgEDWP2BxvUu ) as a test which should show my current location at my office on the Dania Cut-off canal in Fort Lauderdale.

It looks like they are scraping data from a shared page (which is kind of a hack), so the SPOT user has to enable a public shared page. To integrate with OCPN is just matter of pinging the SPOT shared page every so often, cleaning up the SPOT data, encoding the data into AIVDM format like suggest, and hooking that up to OCPN.

My thought is the only benefit of using Pipes would be OS independence. The cost is an extra web page download. Using Pipes would help for an easy trial run, but long term it makes more sense to just ping the SPOT data source direct and do the data manipulation on the client side and forget depending on Pipes.

Am I making sense?

Richard
Richard Jordan is offline   Reply With Quote
Old 17-10-2011, 11:06   #7
Registered User
 
sinbad7's Avatar

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,731
Images: 57
Send a message via Skype™ to sinbad7
Re: Yahoo Pipes for OpenCPN

Richard..

As I said,I'm new to Yahoo pipes,and yes,I see the Titoine's pipe is better.

More and more boaters now have hi-speed internet access while cruising along the coast,in Scandinavia they have 3G-4G coverage everywhere,so I think it is NOT a waste of time developing internet based navigation utilities. It is just a matter of time before we all have total cover.

I am looking for a way to poll multiple SPOT targets located within the area of the displayed map. i.e. close to my ship or searches in other,far away locations.
I have not been able to assertain from Globalstar SPOT as to whether there is a 'pollable' database of public SPOT pages, or if they can make available a list of public 'glids' and 'ESN' numbers we could use. Perhaps,if you have better contact with them,you could find out?

As I suggested earlier:
Quote:
A simple way could be to automatically poll the Globalstar SPOT database at set time intervals,convert the .xml files to .gpx and store them in a fixed directory on the HD for later,manual/automatic import by the Route Manager. (I can do all this now,manually)
Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 17-10-2011, 11:13   #8
Registered User
 
Richard Jordan's Avatar

Join Date: Mar 2010
Location: Fort Lauderdale, Florida, USA
Boat: Rhodes 32
Posts: 317
Re: Yahoo Pipes for OpenCPN

Got it. I agree on the 3G / 4G signal. Just thinking about implementing the feature using something like linux's wget would be faster in the end yet still require internet. I will make an inquiry to SPOT about the pollable database. Seems like a good idea.
Richard Jordan is offline   Reply With Quote
Old 17-10-2011, 13:25   #9
Registered User
 
sinbad7's Avatar

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,731
Images: 57
Send a message via Skype™ to sinbad7
Re: Yahoo Pipes for OpenCPN

Richard..

I have replied to your Jordan Yacht email..

Using the Titoine pipe does not generate my present SPOT test location as you see.
I wonder what kind of cache they use and how often they poll it?
See attached our own SPOT locator with immediate response.

Tore
Attached Thumbnails
Click image for larger version

Name:	Screenshot_03 Oct. 17 18.19.jpg
Views:	164
Size:	154.7 KB
ID:	32714   Click image for larger version

Name:	Screenshot_01 Oct. 17 18.18.jpg
Views:	164
Size:	176.3 KB
ID:	32715  

__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 17-10-2011, 13:51   #10
Registered User
 
sinbad7's Avatar

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,731
Images: 57
Send a message via Skype™ to sinbad7
Re: Yahoo Pipes for OpenCPN

Richard..

The Titoine pipe just delivered,all of 30 min after the SPOT position was sent.

Another problem seem to be that Globalstar SPOT does NOT report Tracking positions regularly and the time shown in the left box is completely wrong,indicating the first report 1 hour ago when it was in fact at 18:08 LST

Tore
Attached Thumbnails
Click image for larger version

Name:	Screenshot_06 Oct. 17 18.49.jpg
Views:	139
Size:	196.9 KB
ID:	32716  
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Reply

Tags
opencpn


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
For Sale: Beautiful Stainless Hawse Pipes for Larger Boats Christian Van H Classifieds Archive 14 09-08-2011 21:35

Advertise Here


All times are GMT -7. The time now is 16:18.


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.