foundersandcoders / open-tourism-platform

An open platform to facilitate the creation of apps to promote local tourism and business in Nazareth
MIT License
17 stars 3 forks source link

create places model #44

Closed mattlub closed 7 years ago

mattlub commented 7 years ago

40

slight deviations from the spec tbh

mantagen commented 7 years ago

Who wants to be assigned to this?

mattlub commented 7 years ago

I've spent way too long looking at this- I think I've changed it to legacy coordinates, and I think it works ok for now. https://docs.mongodb.com/manual/geospatial-queries/#legacy-coordinate-pairs

see: https://github.com/Automattic/mongoose/wiki/3.6-Release-Notes#geojson-support-mongodb--24