[EF Provider] Support for GeoJSON Objects

Hello everyone

I would like to request the addition of GeoJSON object support in the MongoDB Entity Framework provider.

GeoJSON Objects - MongoDB Manual v8.0

  • Introduce GeoJSON object mappings in the Entity Framework provider.
  • Compatibility with MongoDB’s built-in $geoWithin, $near, $geoIntersects, and other spatial operators.

Do you think this is feasible to implement?

Hi Juan.

The LINQ query part of our EF Core provider is actually built upon our MongoDB C# Provider so we’d need to add the relevant methods and translation there first. I’ve created a ticket request for you for this feature which will be triaged soon. You can follow the progress at https://jira.mongodb.org/browse/CSHARP-5487

I think once this is done it would not require much effort in our EF Core Provider to enable.

2 Likes

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.