What is relation/difference between area calculated by QgsDistanceArea().measurePolygon() of PyQGIS and $area from geometry $area in QGIS?

I am getting area as 0 for one polygon using QgsDistanceArea().measurePolygon() in PyQGIS also when I compare the area calculated by above two methods for other polygons they don't have common multiplier.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.