Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Open Source/existing C# class to write GPX files? (C#)

Tags:

c#

gis

gpx

I am looking for a C# library or class to help write GPX files from a collection of waypoints I have (lat/long, etc).

I have found quite a few readers - but not so much for writing.

Bonus points if it works on Compact Framework/WinMobile 6.5 - but that is not a hard requirement. I can make it work on a desktop doing post-processing - the Mobile device does not have to build these files.

Does anyone know of some, or a simple way to write the files?

like image 465
Tim Avatar asked Sep 13 '11 20:09

Tim


People also ask

Is C an open-source?

The C language is not a piece of software but a defined standard, so one wouldn't say that it's open-source, but rather that it's an open standard. There are a gazillion different compilers for C however, and many of those are indeed open-source.

Is there an alternative to C?

The best alternative is Java. It's not free, so if you're looking for a free alternative, you could try Rust or C++. Other great apps like C (programming language) are Go (Programming Language), C#, Lua and Perl.

Does Microsoft still use C?

To overcome such issues, Microsoft developers recently announced to use the Rust programming language instead of C and C++ to write and code the components of Windows.

How many versions of C are there?

Let's continue with a discussion of all the five different standards of C — K&R C, ANSI C, C99, C11 and Embedded C. For the purposes of our discussion, the compiler used is the gcc C compiler from the GNU Compiler Collection (GCC).


1 Answers

Have you taken a look at OGL (Open GPS-LBS)?

From the class docs:

This GPX class provide converts GPS data(waypoints, routes, and tracks) to be compatible with GPX format file.

Regarding the Windows Mobile note, the library supports:

"...applications on PC(Windows) or PocketPC(CE)."

like image 124
Charles Burns Avatar answered Oct 04 '22 14:10

Charles Burns