GeoJSON for EntityFramework
Background and Details
GeoJSON is a format for encoding a variety of geographic data structures. A GeoJSON object may represent a geometry, a feature, or a collection of features.
In 2015, the Internet Engineering Task Force (IETF), in conjunction with the original specification authors, formed a GeoJSON WG to standardize GeoJSON. RFC 7946 was published in August 2016 and is the new standard specification of the GeoJSON format, replacing the 2008 GeoJSON specification.
GeoJSON for EntityFramework is a .net library that allows you to create GeoJSON output from EntityFramework Spatial Data or WKT inputs. In other words, It serializes different type of geometry objects to GeoJSON. It’s not limited to only EF entities but It can serialize WKT inputs as well.
The project started in 2014 due to a need. I had to use geojson formatted output of the spatial data provided by EF from the database. After a little research, I saw that there was not a suitable library and I started to develop the library.
At the beginning, the library was very limited and It had met the specification in a limited way. But after that, It was enriched and grown with community additions over time. Currently, It is meeting the all GeoJSON specification as well as can work with different types of spatial data inputs, such as WKT.