-
Notifications
You must be signed in to change notification settings - Fork 141
QGIS Maps configuration
documentation by @hasi123
QGIS is a very powerful and fully open source GIS (Geographic Information System) application for all platforms. It is used for surveying, scientific investigations, resource management, development planning and much more.
In the following I will show you how to use it to export basically any online map service in a format, that this widget can use. If you need larger maps, this method is much faster than GMAPCacher or downloading through MissionPlanner.
You can download QGIS from it's official website. I recommend getting the LTS version, but it really shouldn't matter.
Next we are going to install a useful plugin, which lets us easily search for and open typical online web map services (like Google Maps, OpenStreetMaps, Bing Maps, etc.). Open the Plugins tab and click on Manage and Install Plugins.... Search for QuickMapServices and install it.
First create a new project in QGIS.
Open your preferred map sevice from the QuickMapServices plugin. You can search for it by clicking the following icon in the toolbar:
Now we need to set the project coordinate reference system (CRS) to WGS84 [EPSG:4326]. Click this icon in the bottom right corner:
Now go to the region you want to download.
Note: you can search a location by name using the GeoCoding plugin
Open the Processing Toolbox and search for the Generate XYZ tiles (Directory) tool.
You will have to provide the extent. For this click on the ... button either choose Use Map Canvas Extent to download everything thats on screen or Draw on Canvas to do exacty that. Input the minimum and maximum zoom levels you need (I recommend 18-20). There is no point in having zoom levels higher than 20, since the maps are not that high resolution and dowloading would take a long time. Change the Tile Format to JPG and the Tile width and Tile height to 100. Provide an output directory (create a new one, or set it to /IMAGES/yaapu/maps/qgis_default/ on your SD card) and optionally save the Output html to view the area you downloaded in a browser (you don't need this for the script). Finally click Run to generate the tiles.
If you saved the maps somewhere else than directly to the SD card, copy the zoom level folders to /IMAGES/yaapu/maps/qgis_default/ on your SD card so the directory structure looks like this:
/IMAGES/yaapu/maps/qgis_default/18/*
/IMAGES/yaapu/maps/qgis_default/19/*
/IMAGES/yaapu/maps/qgis_default/20/*
Select QGIS as the map provider on the script configuration menu and provide your zoom levels.
Please make sure you have a valid GPS sensor in OpenTX/EdgeTX telemetry page, if not please do a sensor discovery! If you run into issues with your GPS sensor delete all your sensors and rediscover them from scratch!
You can download multiple regions at once (leave it overnight for larger downloads) if you run the Generate XYZ tiles (Directory) tool as a batch process. Just provide the different extents you need and make sure to have all other settings the same (including the output directory).
Instead of online map services you can also provide your own georeferenced map (e.g. a geotiff) and you can even use overlapping layers to eg. draw no fly zones on the map.
- Passthrough protocol specs
- Screen Layout
- Display GPS coordinates on Taranis radios
- Feature list
- Sensor discovery
- How to display additional sensors on screen
- Flight modes
- Voltage sources
- Battery configurations
- Airspeed vs Groundspeed
- Alerts
- Telemetry reset
- Telemetry logging to SD
- MavToPT support
- Supported Radios
- Installation on BW LCD radios running OpenTX/EdgeTX
- Installation on Color LCD radios running OpenTX/EdgeTX
- Installation on Color LCD radios running Ethos
- CRSF and ExpressLRS support
- Ardupilot Hardware requirements
- Ardupilot Configuration
- Google Maps configuration
- GMAPCatcher Maps configuration
- QGIS Maps configuration
- Maps Zoom control
- Plotting telemetry values on OpenTX/EdgeTX
- Configuration menu
- Sound files customization