Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. .NET
  3. GeoJSON.NET

GeoJSON.NET

MITC#1.4.1

A .NET library providing GeoJSON types and Newtonsoft.Json converters for serialization and deserialization.

GitHubGitHub
465 stars163 forks0 contributors

What is GeoJSON.NET?

GeoJSON.Net is a .NET library that provides a complete implementation of the RFC 7946 GeoJSON format. It offers strongly-typed classes for all GeoJSON geometry and feature types, along with built-in Newtonsoft.Json converters for easy serialization and deserialization. This solves the problem of handling geographic data in .NET applications without having to manually parse or validate GeoJSON structures.

Target Audience

.NET developers building applications that need to process, generate, or exchange geographic data in GeoJSON format, such as mapping services, GIS tools, or location-aware APIs.

Value Proposition

Developers choose GeoJSON.Net because it provides a spec-compliant, type-safe way to work with GeoJSON data while leveraging the familiar Newtonsoft.Json ecosystem. Its seamless integration reduces boilerplate code and ensures reliable handling of spatial data structures.

Overview

.Net library for GeoJSON types & corresponding Json.Net (de)serializers

Use Cases

Best For

  • Building .NET APIs that consume or produce GeoJSON data
  • Parsing geographic data from external sources into strongly-typed objects
  • Serializing spatial objects to JSON for web mapping applications
  • Validating GeoJSON structures in .NET backend services
  • Converting between different geographic data formats and GeoJSON
  • Developing GIS tools or spatial analysis applications in C#

Not Ideal For

  • Applications using ASP.NET Core 3.1+ with System.Text.Json as the default serializer
  • Projects requiring advanced spatial analysis or geometry operations beyond serialization
  • Teams aiming to minimize dependencies by avoiding Newtonsoft.Json in modern .NET stacks

Pros & Cons

Pros

RFC 7946 Compliance

Implements the full GeoJSON specification, ensuring accurate representation of geographic data structures and interoperability with other systems.

Newtonsoft.Json Integration

Provides built-in converters that simplify serialization and deserialization, as shown in the README code snippets for common use cases.

Type-Safe Design

Strongly-typed classes for all GeoJSON elements prevent common errors and enhance development experience with clear IntelliSense support.

Comprehensive Testing

An extensive test suite guarantees reliability and adherence to the standard, reducing bugs in production environments.

Cons

No System.Text.Json Support

The library explicitly does not work with System.Text.Json, forcing extra configuration in ASP.NET Core 3.1+ and limiting modern .NET integration.

Tight Newtonsoft.Json Coupling

Dependency on Newtonsoft.Json can lead to version conflicts, increased bundle size, and maintenance overhead if not already part of the project.

Limited Functionality Scope

Focuses solely on data structures; lacks built-in features for spatial calculations or geometry manipulations, requiring additional libraries.

Frequently Asked Questions

Quick Stats

Stars465
Forks163
Contributors0
Open Issues20
Last commit1 year ago
CreatedSince 2011

Tags

#geojson#geospatial#geographic-data#csharp#dotnet#json-serialization

Built With

N
Newtonsoft.Json
.
.NET

Included in

.NET21.2k
Auto-fetched 1 day ago

Related Projects

NetTopologySuiteNetTopologySuite

A .NET GIS solution that is fast and reliable for the .NET platform.

Stars1,687
Forks341
Last commit1 month ago
CoordinateSharpCoordinateSharp

A library designed to ease geographic coordinate format conversions, and determine sun/moon information in C#

Stars382
Forks59
Last commit4 months ago
DEM Net Elevation APIDEM Net Elevation API

Digital Elevation model library in C#. 3D terrain models, line/point Elevations, intervisibility reports

Stars348
Forks60
Last commit1 month ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub