Skip to content

bsimser/GeoJSON.NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GeoJSON.NET

Convert KML to GeoJSON

GeoJson.NET is a library to convert KML files into GeoJSON format for .NET.

GeoJSON is a format for encoding a variety of geographic data structures. For more detail about the GeoJSON format please see the full specification.

This project is based on the JavaScript project toGeoJSON.

API

GeoJsonConvert.Convert(xml)

Convert a KML document to GeoJSON. The first argument, xml, must be an XmlDocument document.

The output is a string of GeoJSON data.

GeoJsonConvert.Convert(kml)

Convert a KML document to GeoJSON. The first argument, kml, must be a System.String representation of a KML document.

The output is a string of GeoJSON data.

KML

Supported:

  • Polygon
  • ExtendedData
  • SimpleData

In Progress:

  • Point
  • Polygon
  • LineString
  • name & description
  • ExtendedData
  • SimpleData
  • MultiGeometry -> GeometryCollection
  • Styles with hashing
  • Tracks & MultiTracks with gx:coords, including altitude
  • TimeSpan

Not supported yet:

  • Various silly Google extensions (will never be supported)
  • NetworkLinks
  • GroundOverlays

FAQ

About

GeoJson.NET is a library to convert KML files into GeoJSON format for .NET

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages