How do I use Doctrine2 to work with GeoSpatial Queries using PostGIS?
问题 I have a public facing app that is based on Postgres and PostGIS. I have tried Googling for hours but have been unable to find any documentation that can show some basic geospatial stuff like getting distance between two points using Doctrine2. Not being able to use an ORM is a big deal for me in terms of determining my database of choice. Can someone show me a basic example of lets say showing all points within a radius of lets say 10 miles using Doctrine? 回答1: I wrote an article on my blog,