[postgis-users] Select largest polygon of a multipolygon ?

Arnaud Lesauvage thewild at freesurf.fr
Tue Jul 11 00:30:39 PDT 2006


Hi List !

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.

Thanks !

--
Aranud




More information about the postgis-users mailing list