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

FOSS4GNA 2026 – Post1 – Toasters

FOSS4GNA 2026 – Post1 – Toasters

I tell a lot of jokes that are only funny to me. That may be the worse type of joke - but I laugh and on some days that is the important thing. So my joke at FOSS4GNA 2026 was "I didn't watch 4 seasons of Battlestar Galactica for us to end up here...again". If you've...

FOSS4GNA 2026

Greetings from the Atlanta Airport at 7:10 AM. I am again flying during a time change - my body says it's 8:10 but overall - this is easier than flying in the spring when the time changes. I've already gotten lost twice and asked for directions once. So this will be...

The Aunt II: Adding Cemeteries

The Aunt II: Adding Cemeteries

In a previous post I talked about my aunt that died and we couldn't find the cemetery. Found it! Welcome to the Bethel Cemetery. I will tip my hat to the inherent creepiness of the whole thing. Who is rising second? So I want to add cemeteries to OSM. In my first...