Skip to content

Commit 19fbc38

Browse files
committed
Update README.md
1 parent 852a728 commit 19fbc38

File tree

1 file changed

+30
-7
lines changed

1 file changed

+30
-7
lines changed

README.md

Lines changed: 30 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,33 @@
1-
GeoJSON4EntityFramework
2-
=======================
3-
Create GeoJSON from Entity Framework Spatial Data
1+
#GeoJSON4EntityFramework ![Logo](https://raw.githubusercontent.com/alatas/GeoJSON4EntityFramework/master/geojson.png)
2+
___
43

4+
###What is GeoJSON
5+
[GeoJSON](http://geojson.org/) 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.<sup>[*](http://geojson.org/geojson-spec.html#introduction)</sup>
56

6-
Get Package from NuGet:
7-
Install-Package GeoJSON4EntityFramework
7+
###What is GeoJSON4EntityFramework
8+
GeoJSON4EntityFramework allows you to create GeoJSON output from Entity Framework Spatial Data.
89

9-
GeoJSON Specs:
10-
http://geojson.org/geojson-spec.html
10+
###Features
11+
- [x] Supports Entity Framework v6 (System.Data.Entity.Spatial namespace) and Entity Framework v5 (System.Data.Spatial namespace) objects
12+
- [x] Supports DbGeometry (*planar*) and DbGeography (*geodetic "round earth"*) objects
13+
- [x] Supports all types of features defined in geojson [specs](http://geojson.org/geojson-spec.html)
14+
- [x] Supports boundingbox property defined in geojson [specs](http://geojson.org/geojson-spec.html)
15+
16+
###Install
17+
#####Install with Package Manager Console - Nuget
18+
To install GeoJSON for Entity Framework, run the following command in the Package Manager Console
19+
20+
Entity Framework 6
21+
> `Install-Package GeoJSON4EntityFramework`
22+
23+
Entity Framework 5
24+
> `Install-Package GeoJSON4EntityFramework5`
25+
26+
#####Manual Install
27+
Download the latest [release](https://github.com/alatas/GeoJSON4EntityFramework/releases) and add to your project references manually
28+
29+
###Prerequisites
30+
* Microsoft® System CLR Types for Microsoft® SQL Server® (x86/x64) [(SQLSysClrTypes.msi)](http://www.microsoft.com/en-us/download/details.aspx?id=35580)
31+
32+
###Tests and Validation
33+
You may validate outputs with http://geojson.io and http://geojsonlint.com

0 commit comments

Comments
 (0)