Skip to main content
Question

Area Calculator working out sq km in 3857

  • December 12, 2017
  • 2 replies
  • 152 views

Hi,

I have a table in MS SQL with polygons and i need to extract the area in sq km and sq h for each (depending on location) so have built a work space that re-projects into 3857 does the calcs and re-projects back in 4326 apart from the answers are not the same as QGIS gives me:

Im using plane area with multiplier of 1

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

takashi
Celebrity
  • 7843 replies
  • December 12, 2017

Hi @gisresolute, EPSG:3857 is Spherical Mercator projection coordinate system (also known as "Web Mercator" or "Pseudo Mercator"), which is suitable to web mapping but has less accuracy on measuring distance/area, especially in the high latitudes area.

If you want to make the area calculation result close to the result from QGIS, consider using other projection coordinate system appropriate to calculate area. If you don't have any idea which coordinate system is the best, try the "_AZMEA_" from the FME Coordinate System Gallery.

In addition, re-projection could cause slight error. I would recommend you to use a pair of the GeometryExtractor and the GeometryReplacer, if you need to keep the original geometries in the original coordinate system.

  1. CoordinateSystemExtractor: Extract the original coordinate system.
  2. GeometryExtractor (FME Binary): Save the original geometry as an attribute value.
  3. Projection and Area Calculation
  4. GeometryRepalcer: Restore the original geometry.
  5. CooedinateSystemSetter: Reset the original coordinate system.

  • Author
  • 1 reply
  • December 12, 2017

@takashi - thanks for that, do you mean like this:

im still getting nowhere near the info im getting in QGIS, 32961786007.0372 in SQL but 299,150,455.303 m² in QGIS

can i send you my workbench?