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

My So called Life as a Map Maker

My So called Life as a Map Maker

I can sum it up: It's not much of one. Way back in my younger days I was infatuated with ArcPlot (which was the plotting portion of ArcINFO). From there I moved to Arcview, ArcMap, and eventually here to QGIS. All of my work typically revolves around Data. I usually...

Tricks with an ESRI File Geodatabase

Tricks with an ESRI File Geodatabase

A few years back I jumped in way over my head with QGIS/Postgis. I had moved a process out of one software and into my favorite two (QGIS/PostGIS) and little did I know the final output had to be a ESRI File Geodatabase. So what did I do? I shamed them into using a...

Making the Invalid Valid

Making the Invalid Valid

I could argue I'm doing that on multiple levels these days. Except I want to talk Geometry, QGIS, and Forks in the Road. I haven't done just a "QGIS Tech Post" in a while. I talk about it and training and generalities but hardly dive into the specifics. So here is a...