Preferred Units in QGIS

Feb 20, 2017 | QGIS

Sometimes I think a blog post on this is a bit silly – BUT – given the number of people popping up as of late asking about QGIS let’s do it.

QGIS has a field calculator. You can update fields with text or numbers. In my case (since I’m in the US and we love feet) I do a lot of things in Acres or Square Miles.

Easy? Yes. It’s pretty easy. With my move into PostGIS, triggers have been my friend for a lot of distance/area measurements. This morning I had some data I was building outside of postgis and decided to jump in and calculate the area. I did. It was wrong. Way wrong. I forgot something!

There was a problem a while back with area. It was fixed. Part of the fix allows you to set up your preferred units going into a project. As part of a test I had just wiped my install of QGIS and reloaded – and I never set it back up again. So – if you are new to QGIS and are getting funny lengths or areas and have no idea why here is what you can do to relieve some pain and suffering.

  1. If you want to set up Preferred Units for specific project, Click on Project -> Project  Properties.
  2. Set your Measurements. I usually go with None for Ellipsoid and Feet and Square Feet for units.

BUT I WANT IT TO BE PERMANENT and not just for one project.

  1. Open Settings -> Options
  2. Go to Map Tools

Of course there you have slightly different options as the ellipsoid isn’t mentioned. Except once I set it for none under project properties it always stays none.

Anyway – I know it’s not that exciting. Except for the number of people starting to look for alternatives to their current commercial software. It’s very exciting. So hopefully you find this out on the internet and it helps you out.

Enjoy calculating your area on this earth.

You may also like

TNGIC 2024

TNGIC 2024

So - if you're coming to the 2024 TNGIC (TN Geographic Information Council) meeting (April 9-11 2024) to talk about how no one understands what you do......I'm doing a workshop. What workshop? It's a new workshop. QGIS and LIDAR data. As to what I do with the class...

iNaturalist and QGIS

I am probably the worst for being able to properly name "things". There are big trees and little trees. There are the annoying bugs and the not so annoying bugs. There are ducks, birds, bigger birds, and the birds that hang out at my bird feeder. As much time as I...

Mergin Maps and DB Sync

Mergin Maps and DB Sync

I don't know if I would label this exercise as fun but I've learned alot. I don't do a ton of data collection these days. At one time a few years ago I was out in the field with Fulcrum, a laptop, and sketchy internet for days at a time. These days I'm hardly ever...