So has anyone had any luck modeling geojson/geomet...
# orm-help
z
So has anyone had any luck modeling geojson/geometric objects with graphql and prisma? Trying work with `point`s and `polygon`s
t
I have a bit
z
Hi @tomhut! Do you have a gist or something i could take a look at? This is totally kicking my but haha
t
What sort of thing are you trying to do? For what its worth im storing the geojson data on s3, sort of archived and then storing the data as a string encoded polyline in the DB https://github.com/mapbox/polyline
🙌 1
👍 1
💯 1
z
oh wow! Didn't even know this was an option! totally changes everything. Thank you for that!
t
No worries! Polylines are awesome
Super small, you can save “higher res” version in the DB and if you need to send one over the network you can encode a less accurate one on the fly and send it out