You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For serialization/deserialization, you have two choices:
use kmongo-native: Geojson serialization/deserialization is already supported under the hood by the mongo driver
if you prefer to use kmongo (jackson mapping) ou kmongo-serialization (kotlinx-serialization mapping), you have to create your own Jackson or kotlinx-serialization serializers for GeoJson classes - a PR is welcome
Hi @zigzago, thank you for your response and references, I will take a look later this week, maybe your solutions will be directly what I'm trying to figure out.
Hello, this is more a question than an issue, unfortunately, but I wasn't able to find how to properly work with GeoJSON through KMongo in your docs.
I will start from the DB setup:
The structure on mongodb(Atlas):
db-> geo-db
collection-> features
example of GeoJSON (Import with "Insert to Collection" as a JSON):
I tried to create my own structure in order to
getCollection<T>().find()
it:Nevertheless, I wasn't able to find a way to lookup/search through ORM...
Now the questions:
Thank you for any help 😉
The text was updated successfully, but these errors were encountered: