How can (PostGIS) spatial operations be exposed as web services?
e.g. if we wanted a web service end point that would return a data set with the top 5 schools nearest to a location
NOTE: can I make it clear that this is NOT for presentation on a map. Rather it is for use in a server-side workflow, where next stages in the workflow will be using the list of schools for additional actions.
I could write a .NET WCF web service, and maybe somehow call the PostGIS system, but this seems a bit overkill. And I seriously can't believe we're the first place that wants to do this.