Do you have the same issue if you just use ring.getArea() function?
On 15 Jan 2012, at 18:31, Jim White <[email protected]> wrote:
> Hi,
>
> I use this to calculate the number of acres enclosed by a linestring:
>
> ring = new OpenLayers.Geometry.LinearRing(geometry.getVertices());
> area = ring.getGeodesicArea(new OpenLayers.Projection("EPSG:900913"));
> area = Math.floor(Math.abs(area*0.000247105381));
>
> The calculated area consistently produces results that are 2-3% too small. Is
> this an error in my code or is my data the problem?
>
> Thanks,
> Jim White
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users