Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 07-05-2018, 00:33   #1
Registered User

Join Date: Feb 2015
Posts: 21
Import Waypoints and boundary lines in a KML file

I have a KML file (attached) used to show routes along the Pacific coast of agreed areas that fisherman will not lay crab traps. I would like to be able to import this KML data to OpenCPN. As I will be doing the cruise up the coast in September this info on my charts will be very helpful. They also offer the data as a .txt and .nob files for Nobletec and Rosepoint Nav software. Any help would be greatly appreciated.

Brmoney
__________________

brmoney is offline   Reply With Quote
Old 07-05-2018, 03:13   #2
Registered User
 
yachtvalhalla's Avatar

Join Date: Aug 2009
Location: Philippines
Boat: Fuji 32 Ketch
Posts: 850
Re: Import Waypoints and boundary lines in a KML file

Quote:
Originally Posted by brmoney View Post
I have a KML file (attached) used to show routes along the Pacific coast of agreed areas that fisherman will not lay crab traps. I would like to be able to import this KML data to OpenCPN. As I will be doing the cruise up the coast in September this info on my charts will be very helpful. They also offer the data as a .txt and .nob files for Nobletec and Rosepoint Nav software. Any help would be greatly appreciated.

Brmoney
Where is the file?
__________________

__________________
VALHALLA's Mooring Page
yachtvalhalla is offline   Reply With Quote
Old 07-05-2018, 03:51   #3
Registered User
 
yachtvalhalla's Avatar

Join Date: Aug 2009
Location: Philippines
Boat: Fuji 32 Ketch
Posts: 850
Re: Import Waypoints and boundary lines in a KML file

Sent you a PM. Help is available.
__________________
VALHALLA's Mooring Page
yachtvalhalla is offline   Reply With Quote
Old 07-05-2018, 12:34   #4
Registered User

Join Date: Feb 2015
Posts: 21
Re: Import Waypoints and boundary lines in a KML file

Thanks Valhalla Trying to attach the file again.2017 Towlanes.kml
brmoney is offline   Reply With Quote
Old 07-05-2018, 16:15   #5
Registered User
 
yachtvalhalla's Avatar

Join Date: Aug 2009
Location: Philippines
Boat: Fuji 32 Ketch
Posts: 850
Re: Import Waypoints and boundary lines in a KML file

Quote:
Originally Posted by brmoney View Post
Thanks Valhalla Trying to attach the file again.Attachment 169361
Got it and did some conversion. But my conversion program reported the number of routes exceeded its capacity so one route was not stored. It successfully converted five routes.

However, displaying your .kml file in Google Earth shows only five routes.

So some confusion here but perhaps this is what you wanted?

.gpx file attached and two screen shots from OpenCPN.


HTH, Terry
Attached Thumbnails
Click image for larger version

Name:	18 05 08 07 10 33.jpg
Views:	66
Size:	232.6 KB
ID:	169381   Click image for larger version

Name:	18 05 08 07 11 49.jpg
Views:	60
Size:	226.1 KB
ID:	169382  

Click image for larger version

Name:	18 05 08 07 26 59.jpg
Views:	61
Size:	257.7 KB
ID:	169383  
Attached Files
File Type: gpx 2017 Towlanes.gpx (23.2 KB, 9 views)
__________________
VALHALLA's Mooring Page
yachtvalhalla is offline   Reply With Quote
Old 08-05-2018, 00:49   #6
Registered User
 
yachtvalhalla's Avatar

Join Date: Aug 2009
Location: Philippines
Boat: Fuji 32 Ketch
Posts: 850
Re: Import Waypoints and boundary lines in a KML file

Quote:
Originally Posted by brmoney View Post
Thanks Valhalla Trying to attach the file again.Attachment 169361
Perhaps this is a good application for the OCPN Draw plugin?

Anyone?

Terry
__________________
VALHALLA's Mooring Page
yachtvalhalla is offline   Reply With Quote
Old 08-05-2018, 01:10   #7
Registered User
 
yachtvalhalla's Avatar

Join Date: Aug 2009
Location: Philippines
Boat: Fuji 32 Ketch
Posts: 850
Re: Import Waypoints and boundary lines in a KML file

Quote:
Originally Posted by brmoney View Post
Thanks Valhalla Trying to attach the file again.Attachment 169361
I've made a .kmz file showing only the routes. The display on Google Earth is a bit jumbled.

Can you share where you got the route information?

Thanks, Terry
Attached Thumbnails
Click image for larger version

Name:	18 05 08 16 06 39.jpg
Views:	52
Size:	216.7 KB
ID:	169413  
Attached Files
File Type: kmz Temporary Places.kmz (1.3 KB, 9 views)
__________________
VALHALLA's Mooring Page
yachtvalhalla is offline   Reply With Quote
Old 08-05-2018, 01:37   #8
Registered User
 
yachtvalhalla's Avatar

Join Date: Aug 2009
Location: Philippines
Boat: Fuji 32 Ketch
Posts: 850
Re: Import Waypoints and boundary lines in a KML file

Quote:
Originally Posted by brmoney View Post
]
I've cleaned up the routes by deleting the waypoint names in each route and combining into the attached .gpx file.

HTH, Terry
Attached Thumbnails
Click image for larger version

Name:	18 05 08 16 35 31.jpg
Views:	43
Size:	228.9 KB
ID:	169416  
Attached Files
File Type: gpx NoTraps.gpx (18.7 KB, 14 views)
__________________
VALHALLA's Mooring Page
yachtvalhalla is offline   Reply With Quote
Old 08-05-2018, 12:08   #9
Registered User

Join Date: Feb 2015
Posts: 21
Re: Import Waypoints and boundary lines in a KML file

Hi Terry,

Here is where I got the info from
https://www.google.com/maps/d/u/0/vi...9850000003&z=5 Let me know if this link get you there
brmoney is offline   Reply With Quote
Old 08-05-2018, 12:21   #10
Registered User

Join Date: Feb 2015
Posts: 21
Re: Import Waypoints and boundary lines in a KML file

Hi Terry,

I have posted a reply with where I got the data it should be showing up after it goes through the moderator. Thanks so much for all you have done I think this will be a great addition for the many cruisers that go up and down the coast. Like the Baja Ha Ha group.

Bruce
brmoney is offline   Reply With Quote
Old 08-05-2018, 16:30   #11
Registered User
 
yachtvalhalla's Avatar

Join Date: Aug 2009
Location: Philippines
Boat: Fuji 32 Ketch
Posts: 850
Re: Import Waypoints and boundary lines in a KML file

Quote:
Originally Posted by brmoney View Post
Hi Terry,

I have posted a reply with where I got the data it should be showing up after it goes through the moderator. Thanks so much for all you have done I think this will be a great addition for the many cruisers that go up and down the coast. Like the Baja Ha Ha group.

Bruce
Hi Bruce,
Just a quick look at the data and I think there are many more towlanes along the coast going down as far as San Francisco. I think you've hit upon an excellent resource that needs some more work.
I'll see what I can do when I get some free time.
Terry
Attached Thumbnails
Click image for larger version

Name:	18 05 09 07 27 04.jpg
Views:	36
Size:	194.9 KB
ID:	169450   Click image for larger version

Name:	18 05 09 07 27 39.jpg
Views:	49
Size:	166.1 KB
ID:	169451  

__________________
VALHALLA's Mooring Page
yachtvalhalla is offline   Reply With Quote
Old 09-05-2018, 00:12   #12
Registered User
 
yachtvalhalla's Avatar

Join Date: Aug 2009
Location: Philippines
Boat: Fuji 32 Ketch
Posts: 850
Re: Import Waypoints and boundary lines in a KML file

I have created a series of satellite imagery (Google Earth) KAP charts showing the towlanes. You can download them from here.

My attempt at converting the .kmz files into .gpx was marginally successful so I took this alternate approach.

An interesting project!

Terry
__________________
VALHALLA's Mooring Page
yachtvalhalla is offline   Reply With Quote
Old 09-05-2018, 03:19   #13
Registered User

Join Date: Feb 2015
Posts: 21
Re: Import Waypoints and boundary lines in a KML file

Thanks Terry,

I have downloaded the Kap files still working on how to view them . Really appreciate your help on this.

Thank you
Bruce
brmoney is offline   Reply With Quote
Old 09-05-2018, 06:31   #14
Registered User

Join Date: Jun 2015
Posts: 371
Re: Import Waypoints and boundary lines in a KML file

Hi, Did you try gpsbabel? Minus folders, icons and track colors it seems to work with the googlemaps kml, yours seems to be partially corrupted.
Code:
gpsbabel -i kml -f 2017\ Towlanes.kml -o gpx  -F result.gpx
Could be useful in draw plugin but you have to write your own xslt script and draw doesn't understand lines only polygons.
Attached Files
File Type: gpx result.gpx (147.7 KB, 6 views)
did-g is offline   Reply With Quote
Old 09-05-2018, 15:14   #15
Registered User

Join Date: Feb 2015
Posts: 21
Re: Import Waypoints and boundary lines in a KML file

Hi Terry

I got the Kap files loaded and displaying. They look great! This will help alot in my planning. Are Kap files a common type. Thinking we should spread the word.

Thanks again
__________________

brmoney is offline   Reply With Quote
Reply

Tags
import

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
KAP to KML file conversion program? svbravo Navigation 3 08-09-2018 12:34
Ocpn-Draw and Boundary rgleason OpenCPN 1386 29-11-2016 13:51
Doyle Guides Waypoints how to import? SV Demeter OpenCPN 2 26-11-2012 12:05
Waypoints Group Export and Import Gatorbait OpenCPN 2 20-07-2012 03:23
How Do I Import Lowrance Data.usr File to OpenCPN ? John W2 Navigation 7 19-07-2011 17:04

Advertise Here


All times are GMT -7. The time now is 21:02.


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.