[OpenLayers-Users] How to validate OpenLayers area calculation using PostGIS?
Phil Scadden
p.scadden at gns.cri.nz
Tue Sep 23 14:23:16 PDT 2014
That doesnt look like a very accurate measurement from PostGIS. What
happens if you try?
SELECT ST_Area(the_geog,true) As sqm_spheroid
FROM (SELECT
geography(
ST_GeomFromText( 'POLYGON((50 0,-60 -5, -30 -30,50 0))',
)
) As x(the_geog);
This should be comparable with getgeodesicArea in OL.
Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.
More information about the Users
mailing list