[postgis-users] ORDER BY id and distance

Malm Paul paul.malm at saabgroup.com
Thu Jan 20 00:38:04 PST 2011


Hi,
I wonder how I can order a result depending on two arguments.
First: mapid (objects are connected to a mapid) and
second: within the mapid-sorted objects they should be sorted on the distance to a certain coordinate.

Thanks,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20110120/f7dce78b/attachment.html>


More information about the postgis-users mailing list