Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

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 17-08-2014, 12:47   #1
Registered User

Join Date: Aug 2014
Posts: 1
Xsd for OpenCpn specific gpx files

I'm building an application that I want to be able to generate opencpn specific gpx files. I see the gpx extensions tag contains opencpn elements namespace xmlnspencpn="http://www.opencpn.org". Is there somewhere I can find an xsd that defines this namespace?

Any pointers would be great, if this is the wrong forum for this I apologise and would be grateful to be pointed into the correct place.
VanOfBees is offline   Reply With Quote
Old 18-08-2014, 08:13   #2
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: Xsd for OpenCpn specific gpx files

VanOfBees... (the image that comes to mind is powerful...) There is no XSD yet. Not enough dev resources... I would be very happy if you could start us off in that direction. You can get the initial tags from just looking at a sample XML file from OCPN, like navobj.xml. If you can concoct a minimal XSD, we'll find a way to get it hosted on opencpn.org Thanks Dave
bdbcat is offline   Reply With Quote
Old 16-10-2020, 03:21   #3
Registered User

Join Date: May 2012
Posts: 1,205
Re: Xsd for OpenCpn specific gpx files

An old thread but...

Has anyone made any progress with this?

It would be useful for plugin work such as 'ocpn_draw' etc and could be extended to allow OpenCPN to display features available from other proprietary gpx extensions.

Mike
Rasbats is offline   Reply With Quote
Old 11-11-2020, 14:14   #4
Registered User

Join Date: May 2012
Posts: 1,205
Re: Xsd for OpenCpn specific gpx files

Work has started on a schema (xsd) for OpenCPN GPX files.

https://github.com/Rasbats/opencpn_schema

Early days. We would welcome pull requests updating the initial xsd schema file with the tags already in use by OpenCPN (Not Garmin or Topografix tags).

An explanation of how schema are used and how they are relevant to OpenCPN will be published shortly.

Initial development work is being done locally with the Chrome Web Server extension (127.0.0.1:8887). You would need to set up a similar environment to test/validate your work.

At present I am using the free Community Edition of Liquid Studio 2020 for writing and testing the OpenCPN schema.

https://www.liquid-technologies.com/...-community-key

Mike
Rasbats is offline   Reply With Quote
Old 13-11-2020, 02:56   #5
Registered User

Join Date: May 2012
Posts: 1,205
Re: Xsd for OpenCpn specific gpx files

Github has been updated for the tags presently used by OpenCPN:

https://github.com/Rasbats/opencpn_schema

The schema uses elements for each of the tags. For the future I think complex types need to be created. I don't think these can be used at the moment or the base code will be broken. A new tag could employ a complex type and the corresponding opencpn code could then use that tag.

The schema has some complex types already as part of the testing process.

Mike
Rasbats is offline   Reply With Quote
Reply

Tags
enc, 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
DR Plugin - splitting up GPX route files Rasbats OpenCPN 30 09-02-2019 11:42
Rookie questions - boundary circles; exporting options; GPX files fredgmeyer OpenCPN 5 23-05-2014 22:22
Old GPX FIles Losing Information wdkester OpenCPN 9 17-11-2013 08:18
Default Sym Value in GPX Files Gaver OpenCPN 0 09-09-2010 13:03
Looking for GPX Files for Testing Netsurfer OpenCPN 3 10-02-2010 03:18

Advertise Here


All times are GMT -7. The time now is 08:12.


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.