Skip to content

evoy-as/KmlToGeoJson

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KmlToGeoJson

KmlToGeoJson is a small library to convert from KML to GeoJSON.

Installing

To install KmlToGeoJson, run the following command in the Package Manager Console:

PM> Install-Package KmlToGeoJson

Example Usage

namespace KmlToGeoJson.Test
{
    public class GeoJsonConverterTests
    {
        [Test]
        public void Test_ConvertFromKmlToGeoJSON()
        {
            var xml = File.ReadAllText("style.kml");
            var json =  KmlToGeoJsonConverter.FromKml(xml);
            
            // Now you can work with the GeoJSON data ...
        }
    }
}

License

KmlToGeoJson is licensed under the MIT License. See LICENSE for details.

About

A small library to convert from KML to GeoJSON.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%