Skip to content

MrGorki/GeoJSON4EntityFramework

 
 

Repository files navigation

#GeoJSON4EntityFramework Logo


###What is GeoJSON 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. GeoJSON supports the following geometry types: Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, and GeometryCollection. Features in GeoJSON contain a geometry object and additional properties, and a feature collection represents a list of features.*

###What is GeoJSON4EntityFramework GeoJSON4EntityFramework allows you to create GeoJSON output from Entity Framework Spatial Data.

###Features

  • Supports Entity Framework v6 (System.Data.Entity.Spatial namespace) and Entity Framework v5 (System.Data.Spatial namespace) objects
  • Supports DbGeometry (planar) and DbGeography (geodetic "round earth") objects
  • Supports all types of features defined in geojson specs
  • Supports boundingbox property defined in geojson specs

###Install #####Install with Package Manager Console - Nuget To install GeoJSON for Entity Framework, run the following command in the Package Manager Console

Entity Framework 6

Install-Package GeoJSON4EntityFramework

Entity Framework 5

Install-Package GeoJSON4EntityFramework5

#####Manual Install Download the latest release and add to your project references manually

###Prerequisites

###Tests and Validation You may validate outputs with http://geojson.io and http://geojsonlint.com


Test data extracted from OpenStreetMap®. OpenStreetMap® is open data, licensed under the Open Data Commons Open Database License (ODbL) by the OpenStreetMap Foundation (OSMF)

About

Create GeoJSON from Entity Framework Spatial Data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Visual Basic .NET 100.0%