Open Collective
Open Collective
Loading

GeoJSON.Net

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

Contribute


Become a financial contributor.

Financial Contributions

Recurring contribution
Backer

Become a backer for $5.00 per month and support us

Starts at
$5 USD / month

Latest activity by


Recurring contribution
Sponsor

Become a sponsor for $100.00 per month and support us

Starts at
$100 USD / month

Latest activity by


Be the first one to contribute!
Custom contribution
Donation
Make a custom one-time or recurring contribution.

Latest activity by


Top financial contributors

1
Daniel Pamio

$70 USD since Feb 2021

GeoJSON.Net is all of us

Our contributors 3

Thank you for supporting GeoJSON.Net.

Budget


Transparent and open finances.

View all transactions
+$10.00USD
Completed
Contribution #140463
+$10.00USD
Completed
Contribution #140463
+$10.00USD
Completed
Contribution #140463
$
Today’s balance

$58.17 USD

Total raised

$58.17 USD

Total disbursed

--.-- USD

Estimated annual budget

--.-- USD

Connect


Let’s get the ball rolling!

News from GeoJSON.Net

Updates on our activities and progress.

Welcome !

First of all, thank you for reading this ! We chose to go to OpenCollective because we need support to get things going for GeoJSON.Net.With more than 200 stars and 500K downloads, this is still the most used GeoJSON library in the .Net ...
Read more
Published on April 21, 2019 by Xavier Fischer

About


GeoJSON.NET

GeoJSON.Net is a .NET library for the RFC 7946 The GeoJSON Format and it uses and provides Newtonsoft Json.NET converters for serialization and deserialization of GeoJSON data.

Version 2

I'm starting to put together a plan for version 2 of GeoJSON.Net. I'm open to any suggestions or ideas, if you have any thoughts please open an issue and make it clear that it's an idea for version to and I'll tag it up as such.

Installation & Usage

GeoJSON.Net NuGet package: Install-Package GeoJSON.Net

Serialization

Position position = new Position(51.899523, -2.124156);
Point point = new Point(position);

string json = JsonConvert.SerializeObject(point);

Deserialization

string json = "{\"coordinates\":[-2.124156,51.899523],\"type\":\"Point\"}";

Point point = JsonConvert.DeserializeObject<Point>(json);

See the Tests for more examples.

Contributing

Highly welcome! Just fork away and send a pull request. We try and review most pull requests within a couple of days. There is now a version 2.0.0 branch. I've created this ready for any breaking changes and any extra features and would encourage anything that isn't a bug fix to go in there.

Thanks

This library would be NOTHING without its contributors - thanks so much!!

Sponsors

We have the awesome .NET tools from JetBrains.

Contributors

This project exists thanks to all the people who contribute.

Our team