markrendle / Simple.Data

A light-weight, dynamic data access component for C# 4.0
MIT License
1.33k stars 303 forks source link

Geospatial Queries #366

Open mikepc opened 9 years ago

mikepc commented 9 years ago

The Google is dumb about Geospatial queries with Simple.Data. Basically All I really need are some samples.

1) Find all records near a geography, returning the distance from each. 2) Set a Geography column.

I know it should be obvious, but I just can't find any documentation on this at all.

In EntityFramework there is a DbGeography class for instance..

How can I do this with Simple.Data?

markrendle commented 9 years ago

Simple.Data v1 doesn't support the Geography types, unfortunately. It's planned for v2.

Mark Rendle Founder, Zudio https://zud.io/

On Sun, Jun 14, 2015 at 8:33 PM, mikepc notifications@github.com wrote:

The Google is dumb about Geospatial queries with Simple.Data. Basically All I really need are some samples.

1) Find all records near a geography, returning the distance from each. 2) Set a Geography column.

I know it should be obvious, but I just can't find any documentation on this at all.

In EntityFramework there is a DbGeography class for instance..

How can I do this with Simple.Data?

— Reply to this email directly or view it on GitHub https://github.com/markrendle/Simple.Data/issues/366.