Questions tagged [dbgeography]
19 questions
0
votes
1 answer
System.Data.Spatial DbGeography.Distance is not working consistantly
I am developing an app that needs to calculate the distance between to points.
I am using LINQ and the DbGeography class to achieve this.
It is working beautiful in most cases in the app, however I have run into one issue where it does not return…

Ian Thomas Parks
- 1
- 2
0
votes
1 answer
Can't get DbGeography to work in Xamarin.Forms app
The SDK that does all the Gets, Puts, Posts etc... is a PCL. As such, I can't install Entity Framework.
A basic get using Postman returns the following data in regards to DbGeography.
"GeoLocation": {
"$id": "6",
…

Dumber_Texan2
- 840
- 2
- 12
- 34
0
votes
1 answer
Passing a List of DBGeometry to retrieve points contained from SQL
I have a dataset on my SQL server that contains a few million Geography Points that I want to retrieve based on a grid of DBGeography rectangles I create on the client side. Basically I want to pass in a c# List of DBGeography , and my server would…

Mikecito
- 2,053
- 11
- 17
0
votes
1 answer
DbGeography Intersects
I'm using DbGeography with Entity Framework 6 using this model:
public class County
{
public int Id { get; set; }
public string Name { get; set; }
public string Code { get; set; }
public DbGeography Area { get; set; }
}
I'm then…

Ogglas
- 62,132
- 37
- 328
- 418