From the course: QGIS and Python for AEC

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Setting the CRS

Setting the CRS - QGIS Tutorial

From the course: QGIS and Python for AEC

Start my 1-month free trial

Setting the CRS

- [Narrator] In this video, we're going to set the coordinate system, of our current project. First, let's open up the Python file under Python. We're going to set CRS dot PY. That's going to be the name of the Python file we open. It's quite simple. We set a variable called CRS, which gets a coordinate reference system, which is two, six, nine, 10. That's a UTM zone 10, NAD 83. So that's what that code is. I happen to know that's the code and because I know that, then I can say, get the instance of the current project and set the CRS to that one up there. So if we hit run right now, you'll see in the bottom corner of your project that it says EPSG four three two six that's lat-long 84. But if I hit run, you'll see immediately it changes the two, six, nine, 10. I know that's the code for that particular coordinate system. You may not always know what the code is. So if we actually open up the folder, where…

Contents