# QGIS

QGIS is a free and open-source geographic information system (GIS) that allows you to create, edit, visualize, analyze, and publish geospatial information on multiple platforms, including Windows, macOS, Linux, BSD, and mobile devices. It is an official project of the Open Source Geospatial Foundation (OSGeo) and supports numerous vector, raster, and database formats and functionalities. You can use QGIS to view geotechnical map data and perform various analyses.

Download Here: <https://www.qgis.org/en/site/>

## Creating contour Maps

First, download data from a reputable source such as USGS, or a state data clearinghouse. For this example, we use data from this link and unzip it: <https://clearinghouse.isgs.illinois.edu/data/hydrology/potential-agricultural-chemical-contamination-aquifers>

Next, using the left file navigation panel, find IL\_Pest\_Leach\_Class\_Range\_Py.shp and double click on it

![](https://704973822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4Jy0NPvSZhwbt9K9GxeD%2Fuploads%2FufMNs8pwvcj9Bq3S9ggc%2Fimage.png?alt=media\&token=05001b12-6c47-4ebb-8d3b-8a5f9ad44a03)

This brings up a contour map of Illinois, but it is not useful just yet since we want regions to be colored based on the data:

![](https://704973822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4Jy0NPvSZhwbt9K9GxeD%2Fuploads%2FhJvYjwrkaxuc7TxHQBzW%2Fimage.png?alt=media\&token=96b56826-698f-4962-8218-feda00eef146)

Right click on the map under the "Layers" panel and select "Properties"\
![](https://704973822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4Jy0NPvSZhwbt9K9GxeD%2Fuploads%2Fz9XtUGZ1ALcxb3g3fQpv%2Fimage.png?alt=media\&token=0a0c7c6b-ac9d-4dde-8374-5f5b87fdd238)

Change the type to "Graduated"

![](https://704973822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4Jy0NPvSZhwbt9K9GxeD%2Fuploads%2FHIw5qxgmNIDNLQTGZg8w%2Fimage.png?alt=media\&token=eb0c281a-2f0e-43cd-80ad-e6df49a60297)

Now select the value that will determine the color

![](https://704973822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4Jy0NPvSZhwbt9K9GxeD%2Fuploads%2F7s3MPp0Xfwyc5PJc3Gfk%2Fimage.png?alt=media\&token=6e1e7418-8fb1-4e74-9073-417c18992974)

Choose the color ramp type you want, then under mode select "Fixed Interval". You can set the interval size to whatever value is appropriate for the data. You can save this style if you want by choosing the appropriate options under the "style" button on the bottom of the window. Click OK to view the map.

![](https://704973822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4Jy0NPvSZhwbt9K9GxeD%2Fuploads%2FmhOZYwyQyouOOJgpJ3Rb%2Fimage.png?alt=media\&token=7da906db-63bd-45a6-8e9e-b42520a28201)

You can export this map as an image using the Project -> Import/Export -> Export Map as Image

![](https://704973822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4Jy0NPvSZhwbt9K9GxeD%2Fuploads%2F5rFEeC5bDdPRICaWErBs%2Fimage.png?alt=media\&token=8e17f126-0b79-4907-ba68-49d6977ccf9c)

Set up the image as you wish, then save the file. I recommend using the .tiff file format. Note that the current map view will be exported.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://swissler-innovative-robotics-lab.gitbook.io/lab-onboarding/software/other/qgis.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
