While importing KML files from google Earth to Quantum GIS, the scale is not being projected properly and the area of a particular selected feature is not being calculated in the attribute table by the field calculator. How can the area of a selected feature be calculated by the field calculator, as right now it is showing up zero as the value?


KMLs only support WGS84 CRS which uses degrees as unit of measurement. Field Calculator therefore calculates area in square degrees. If the polygons are small, the area will be almost zero.

Change to a different file format, reproject the data and calculate the area.

| improve this answer | |
  • I have saved the file as an SHP. So can you please tell me how to reproject the data and calculate the area? – sowmitra k May 24 '12 at 12:14
  • 1
    Pick the new target CRS in "Save as ..." dialog to reproject. Use Field Calculator $area operator to calculate the area. – underdark May 24 '12 at 12:28
  • Can you please tell what type of coordinate reference system should be used for India as I am unable to find the proper CRS that can be used in India? – sowmitra k May 28 '12 at 9:19
  • WGS 84/World Mercator worked. So no problem. Thank you for resolving the earlier question. – sowmitra k May 30 '12 at 6:28

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.