[postgis-users] Distance between two furthest points of a group

Rémi Cura remi.cura at gmail.com
Fri Jun 26 05:51:29 PDT 2015


Hm,
I don't understand your problem.
The circle seems to be the perfect solution.
Do you mean the function returns nothing?

Maybe you could try to scale down you points(scaling down centered of
centroid of your points )?.

Cheers,
Rémi-C


2015-06-26 13:54 GMT+02:00 Jonathan Moules <J.Moules at hrwallingford.com>:

>  Hi List,
>
> I have sets of points (up to 250,000 in a set) and I want to get the
> furthest distance between any of them.
>
>
>
> In theory the simplest way is to use
> ST_MinimumBoundingCircle(ST_Collect(geography) and then get the diameter of
> that.
>
>
>
> The problem is – I don’t seem to be able to get the diameter of that
> circle (which would give me the distance I want).
>
>
>
> Does anyone have any thoughts on this? Is there a good way to get the
> diameter? Or some other way of getting the distance I desire.
>
>
>
> Thanks,
>
> Jonathan
>
> ------------------------------
>
> *HR Wallingford and its subsidiaries* uses faxes and emails for
> confidential and legally privileged business communications. They do not of
> themselves create legal commitments. Disclosure to parties other than
> addressees requires our specific consent. We are not liable for
> unauthorised disclosures nor reliance upon them.
> If you have received this message in error please advise us immediately
> and destroy all copies of it.
>
> HR Wallingford Limited
> Howbery Park, Wallingford, Oxfordshire, OX10 8BA, United Kingdom
> Registered in England No. 02562099
>
> ------------------------------
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20150626/4a9e4033/attachment.html>


More information about the postgis-users mailing list