In the PostgresSQL database description, there is reference to using Postgres native support for geometric primitives and the ability to save nested types as dictionaries. I have searched via Google and directly on the Vapor site for examples of how this would be done but to no avail. Specifically I would like to be able to store locations as coordinates and have the ability to query for locations within a certain distance from a coordinate. Any good references would be appreciated.
PS. Great book and examples. It has answered a number of questions I was having even after watching the video tutorial… I would consider this a must read for anyone starting with Vapor.