What is the best way to generate KML files in C#?

12,871

Solution 1

SharpKML - library based on Google's C++ implementation of libkml

Solution 2

Here are ​​​​​​​​​​​​​​​​some:

Share:
12,871
evilhomer
Author by

evilhomer

Database developer/ software engineer. Working in Ireland.

Updated on June 07, 2022

Comments

  • evilhomer
    evilhomer almost 2 years

    What is the best way to generate KML files using C#?

    Is there a class library that I can use? I have looked and struggled to find anything interesting.

    libkml doesn't have a C# implementation or wrapper.

    Any help would be great.

  • gosr
    gosr about 12 years
    Your 2nd and 3rd link seem to be dead.
  • Alex Gordon
    Alex Gordon almost 12 years
    they dont seem to be dead they ARE dead
  • Peter Wone
    Peter Wone over 11 years
    And your first link points to libkml which, as stated in the question, doesn't have an interop wrapper
  • Peter Wone
    Peter Wone over 11 years
    Indignantly followed the link in high dudgeon, but you are correct - I must have been really tired the first time I looked. My apologies. Have you tried that implementation? What's the quality like?
  • Zeus82
    Zeus82 over 3 years
    Here's the github link to SharpKML: github.com/samcragg/sharpkml