Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

MichaelFCoyle/SharpGpx-1-0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This version of the library has been deprecated, see here for the most recent version;

SharpGpx 1.0

Project Description

SharpGpx implements an object model for reading and writing GPX (GPS eXchange). An extremely common format, GPX is used to record data and exchange data from GPS units.

Details

The library is developed under .NET 4.0 and has no external dependencies.

The library makes extensive use of XML Serialization. Extremely large files may fail to save or load.

Development

This library makes use of a code generator based on the xsd.exe utility. The generator reads in an XML Schema Document (XSD) and generates C# classes from the schema. You shouldn't need to edit the GPX XSDs. If you do, you're basically tampering with the GPX standard. Also, Visual Studio will attempt to regenerate the code, won't find the code generator installed on your system, and probably give you an error.

You can either

  • not edit the XSDs (best choice)
  • install the XsdToClasses utility, and regenerate the code -- this would be useful if the standard changes, or there is a new one introduced.
  • remove references to the code generator and just use the code
    • Back up the generated files ending in "Generated.cs"
    • Edit the properties of the XSD file in Visual Studio to remove the reference to XsdToClasses from the "custom tool" field.
    • restore the "generated" files back to the project.

Feedback

I would appreciate any constructive feedback, feel free to contact me.

About

SharpGpx implements an object model for reading and writing GPX

Topics

Resources

Stars

Watchers

Forks