Dealing with spatial data in OData
Nikola Irinchev

Hi Nicola,

Firstly, thank you for the great article.

I’ve followed your article and executed the “geo.distance(Coordinates,geography’SRID=4326;POINT (12.345 7.890)’) lt 1000.0”.

However, the run-time threw the exception “LINQ to Entities does not recognize the method ‘System.Nullable`1[System.Double] Distance(Microsoft.Spatial.Geography, Microsoft.Spatial.Geography)’ method

How did you get away from this exception?

BTW, I am on OData V4.

Trung Dang

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.