[postgis-users] Area calculation

Daniel Faivre daniel.faivre at camptocamp.com
Tue Jan 27 08:55:08 PST 2004


Hi,

I think u can use exterior ring surfaces.

If u have disjointed multipolygons (if there's more than one exterior 
ring), a way is to:

1) count the number of geometries
2) calculate the surfaces of exterior rings
2b) Add them

-- 
Daniel Faivre
Ohceo - Camptocamp
04 79 75 28 19
180 rue du Genevois
73000 Chambéry le Haut



Dirk Geschwandtner wrote:

> Hello List,
> I nee to calculate the areas of swiss-cheese-polygons without the 
> holes in postgis.
>
> I tried convexhull, but this not always returns the correct results, 
> the area is slighty bigger
> than the area of the original.
>
> Has anybody got a better idea?
>
> TIA,
>     Dirk
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>






More information about the postgis-users mailing list