Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 01-02-2012, 10:33   #1
Registered User

Join Date: Jan 2011
Posts: 19
O-CPN layers

Using O-CPN v2.5.0

I want to put some marks on a layer and have the ability to switch the layer on/off. This is for making chart corrections amongst other things.

I can 'drop mark' easily but how do I assign the marks to a layer?

I can get a Temp Layer up from the Routes Manager but it always shows "0" items no matter how many I drop on the chart!

I want to be able to assemble my own layers and be able to overlay them at will...... (when I want to that is, not aim them at William)
__________________

__________________
concentrik is offline   Reply With Quote
Old 01-02-2012, 10:45   #2
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: O-CPN layers

concentrik...
At The Route Manager and Data Import/Export | Official OpenCPN Homepage scroll down to Layers
A few layers prepared by others can be found at Layers Library | Official OpenCPN Homepage

Pavel
__________________

__________________
nohal is offline   Reply With Quote
Old 01-02-2012, 10:54   #3
Registered User

Join Date: Jan 2011
Posts: 19
Re: O-CPN layers

Thank you Pavel. I have read that but I cannot see how to make a 'mark' appear on a layer.

I drop a mark on a CM93 chart. It appears as a triangle. I open the "Layers " tab. I can't see how to integrate the mark to a layer.....
__________________
concentrik is offline   Reply With Quote
Old 01-02-2012, 14:43   #4
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: O-CPN layers

Read it again
Quote:
Layers that are saved in a directory called "layers", in the same place that holds your opencpn.ini(config) file, are automatically loaded on start of OpenCPN.
You have to create this folder and store GPX files there - they are then doing what you want them to do.

Pavel
__________________
nohal is offline   Reply With Quote
Old 03-02-2012, 10:16   #5
Registered User

Join Date: Jan 2012
Posts: 9
Re: O-CPN layers

Hi concentric,

Try the following : drop your marks on the chart. Then in Routemanager : export the marks you want to put in a layer, to a map of your choise. Open the exported files with a textediter (notepad) en copy and paste them together in one gpx.file. Then in Routemanager > Layers > temporary layer > go the the .gpx file you just made.
Here's how it should look :
<?xml version="1.0" encoding="utf-8" ?>
<gpx version="1.1" creator="OpenCPN" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="GPX 1.1 Schema Documentation" xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3" xsi:schemaLocation="GPX 1.1 Schema Documentation http://www.topografix.com/GPX/1/1/gpx.xsd" xmlnspencpn="OpenCPN | Official OpenCPN Homepage">
<wpt lat="51.241166667" lon="2.894166667">
<time>2012-01-17T13:35:57Z</time>
<name>BSB</name>
<sym>East_Cardinal</sym>
<type>WPT</type>
<extensions>
<opencpn:guid>324a0000-87d7-4e0c-8e88-05aa71cbffff</opencpn:guid>
<opencpn:viz>1</opencpn:viz>
<opencpn:viz_name>1</opencpn:viz_name>
</extensions>
</wpt>
<wpt lat="51.204666667" lon="2.789500000">
<time>2012-01-17T13:42:54Z</time>
<name>ZSB</name>
<sym>Port Hand Red Cyl</sym>
<type>WPT</type>
<extensions>
<opencpn:guid>3bf40000-bb39-4565-87a9-f04b7cf2ffff</opencpn:guid>
<opencpn:viz>1</opencpn:viz>
<opencpn:viz_name>1</opencpn:viz_name>
</extensions>
</wpt>
</gpx>
__________________
KrisCatteceur is offline   Reply With Quote
Old 03-02-2012, 12:20   #6
Obsfucator, Second Class
 
dacust's Avatar

Cruisers Forum Supporter

Join Date: Feb 2008
Location: Southeast USA.
Boat: 1982 Sea Ray SRV360
Posts: 1,743
Re: O-CPN layers

Quote:
Originally Posted by KrisCatteceur View Post
Hi concentric,

Try the following : drop your marks on the chart. Then in Routemanager : export the marks you want to put in a layer, to a map of your choise. Open the exported files with a textediter (notepad) en copy and paste them together in one gpx.file. Then in Routemanager > Layers > temporary layer > go the the .gpx file you just made.
Here's how it should look :
Code:
<?xml version="1.0" encoding="utf-8" ?>
<gpx version="1.1" creator="OpenCPN" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="GPX 1.1 Schema Documentation" xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3" xsi:schemaLocation="GPX 1.1 Schema Documentation http://www.topografix.com/GPX/1/1/gpx.xsd" xmlns:opencpn="OpenCPN | Official OpenCPN Homepage">
    <wpt lat="51.241166667" lon="2.894166667">
        <time>2012-01-17T13:35:57Z</time>
        <name>BSB</name>
        <sym>East_Cardinal</sym>
        <type>WPT</type>
        <extensions>
            <opencpn:guid>324a0000-87d7-4e0c-8e88-05aa71cbffff</opencpn:guid>
            <opencpn:viz>1</opencpn:viz>
            <opencpn:viz_name>1</opencpn:viz_name>
        </extensions>
    </wpt>
 <wpt lat="51.204666667" lon="2.789500000">
        <time>2012-01-17T13:42:54Z</time>
        <name>ZSB</name>
        <sym>Port Hand Red Cyl</sym>
        <type>WPT</type>
        <extensions>
            <opencpn:guid>3bf40000-bb39-4565-87a9-f04b7cf2ffff</opencpn:guid>
            <opencpn:viz>1</opencpn:viz>
            <opencpn:viz_name>1</opencpn:viz_name>
        </extensions>
    </wpt>
</gpx>
I modified your code above to make it readable.

If you put it in CODE tags, the formatting and symbols remain intact.

In advanced edit mode, it's the # button.

-dan
__________________

dacust 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
A Library of Layers cagney OpenCPN 7 15-02-2012 04:16
Best Computer Configuration for Optimal Use of Open CPN Alecadi OpenCPN 18 12-02-2012 12:39
Open CPN Works Initially But Then Will Not Open GrahamW OpenCPN 4 25-01-2012 05:57
Open CPN and Google Earth bgrimwade OpenCPN 19 09-12-2011 16:32
Running Open CPN On a Tablet with Android 3.2 Operating System gatogo OpenCPN 2 27-08-2011 14:19



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 20:07.


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.