[postgis-users] Select largest polygon of a multipolygon ?
Arnaud Lesauvage
thewild at freesurf.fr
Tue Jul 11 02:25:49 PDT 2006
Arnaud Lesauvage wrote:
> Is there a simple way to get the largest polygon (largest area) of
> a multipolygon geometry, just with an SQL query ?
>
> If not, I can write a simple perl function to do that, but if this
> function already existed that would be better.
Don't bother, I wrote a simple plpgsql function finally.
--
Arnaud
More information about the postgis-users
mailing list