1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 09:48:45 -05:00
sdrangel/plugins/feature/map
2024-02-27 16:25:34 +00:00
..
Cesium Add Cesium 2022-02-04 20:41:22 +00:00
data Remove files that shouldn't have been commited 2023-03-24 17:08:21 +00:00
icons Map: Add Spy Server and Kiwi SDR. Add weather and satellite overlays. 2024-02-27 15:40:06 +00:00
map Update map QML/HTML. 2024-02-27 16:00:18 +00:00
beacon.h Rewriting of copyright notices for plugins/features. Part of #1893 2023-11-18 13:12:18 +01:00
cesium.qrc Add Cesium 2022-02-04 20:41:22 +00:00
cesiuminterface.cpp Map: Add Spy Server and Kiwi SDR. Add weather and satellite overlays. 2024-02-27 15:40:06 +00:00
cesiuminterface.h Map: Add Spy Server and Kiwi SDR. Add weather and satellite overlays. 2024-02-27 15:40:06 +00:00
CMakeLists.txt Map: Add Spy Server and Kiwi SDR. Add weather and satellite overlays. 2024-02-27 15:40:06 +00:00
czml.cpp Map: Add Spy Server and Kiwi SDR. Add weather and satellite overlays. 2024-02-27 15:40:06 +00:00
czml.h Rewriting of copyright notices for plugins/features. Part of #1893 2023-11-18 13:12:18 +01:00
data.qrc Map Updates 2023-02-14 14:46:08 +00:00
ibpbeacon.cpp Rewriting of copyright notices for plugins/features. Part of #1893 2023-11-18 13:12:18 +01:00
ibpbeacon.h Rewriting of copyright notices for plugins/features. Part of #1893 2023-11-18 13:12:18 +01:00
icons.qrc Map: Add Spy Server and Kiwi SDR. Add weather and satellite overlays. 2024-02-27 15:40:06 +00:00
map.cpp Map: Add Spy Server and Kiwi SDR. Add weather and satellite overlays. 2024-02-27 15:40:06 +00:00
map.h Map: Add Spy Server and Kiwi SDR. Add weather and satellite overlays. 2024-02-27 15:40:06 +00:00
map.qrc Map: Add Spy Server and Kiwi SDR. Add weather and satellite overlays. 2024-02-27 15:40:06 +00:00
mapbeacondialog.cpp Rewriting of copyright notices for plugins/features. Part of #1893 2023-11-18 13:12:18 +01:00
mapbeacondialog.h Rewriting of copyright notices for plugins/features. Part of #1893 2023-11-18 13:12:18 +01:00
mapbeacondialog.ui Beacons: Add symbol of degrees to column headers 2023-08-23 12:08:26 +02:00
mapcolordialog.cpp Rewriting of copyright notices for plugins/features. Part of #1893 2023-11-18 13:12:18 +01:00
mapcolordialog.h Rewriting of copyright notices for plugins/features. Part of #1893 2023-11-18 13:12:18 +01:00
mapfmlistdialog.ui Map updates: 2023-03-21 11:07:25 +00:00
mapgui.cpp Map: Add Spy Server and Kiwi SDR. Add weather and satellite overlays. 2024-02-27 15:40:06 +00:00
mapgui.h Map: Add Spy Server and Kiwi SDR. Add weather and satellite overlays. 2024-02-27 15:40:06 +00:00
mapguinowebengine.ui Map: Add Spy Server and Kiwi SDR. Add weather and satellite overlays. 2024-02-27 15:40:06 +00:00
mapguiwebengine.ui Map: Add Spy Server and Kiwi SDR. Add weather and satellite overlays. 2024-02-27 15:40:06 +00:00
mapibpbeacondialog.cpp Rewriting of copyright notices for plugins/features. Part of #1893 2023-11-18 13:12:18 +01:00
mapibpbeacondialog.h Rewriting of copyright notices for plugins/features. Part of #1893 2023-11-18 13:12:18 +01:00
mapibpbeacondialog.ui IBP Beacons: Resize the columns 2023-08-23 12:08:26 +02:00
mapitem.cpp Map updates: 2023-12-05 12:30:25 +00:00
mapitem.h Map updates: 2023-12-05 12:30:25 +00:00
maplocationdialog.cpp Rewriting of copyright notices for plugins/features. Part of #1893 2023-11-18 13:12:18 +01:00
maplocationdialog.h Rewriting of copyright notices for plugins/features. Part of #1893 2023-11-18 13:12:18 +01:00
maplocationdialog.ui Map updates. 2021-01-22 14:54:22 +00:00
mapmaidenheaddialog.cpp Rewriting of copyright notices for plugins/features. Part of #1893 2023-11-18 13:12:18 +01:00
mapmaidenheaddialog.h Rewriting of copyright notices for plugins/features. Part of #1893 2023-11-18 13:12:18 +01:00
mapmaidenheaddialog.ui Map updates. 2021-01-22 14:54:22 +00:00
mapmodel.cpp Map: Add Spy Server and Kiwi SDR. Add weather and satellite overlays. 2024-02-27 15:40:06 +00:00
mapmodel.h Map: Add Spy Server and Kiwi SDR. Add weather and satellite overlays. 2024-02-27 15:40:06 +00:00
mapplugin.cpp Updated versions and changelogs 2023-12-31 19:16:27 +01:00
mapplugin.h Rewriting of copyright notices for plugins/features. Part of #1893 2023-11-18 13:12:18 +01:00
mapradiotimedialog.cpp Rewriting of copyright notices for plugins/features. Part of #1893 2023-11-18 13:12:18 +01:00
mapradiotimedialog.h Rewriting of copyright notices for plugins/features. Part of #1893 2023-11-18 13:12:18 +01:00
mapradiotimedialog.ui Add radio time transmitters to map 2021-06-23 15:15:50 +01:00
mapsettings.cpp Map: Add Spy Server and Kiwi SDR. Add weather and satellite overlays. 2024-02-27 15:40:06 +00:00
mapsettings.h Map: Add Spy Server and Kiwi SDR. Add weather and satellite overlays. 2024-02-27 15:40:06 +00:00
mapsettingsdialog.cpp Map: Add Spy Server and Kiwi SDR. Add weather and satellite overlays. 2024-02-27 15:40:06 +00:00
mapsettingsdialog.h Map: Add Spy Server and Kiwi SDR. Add weather and satellite overlays. 2024-02-27 15:40:06 +00:00
mapsettingsdialog.ui Map: Add Spy Server and Kiwi SDR. Add weather and satellite overlays. 2024-02-27 15:40:06 +00:00
maptileserver.cpp Map: Add Spy Server and Kiwi SDR. Add weather and satellite overlays. 2024-02-27 15:40:06 +00:00
maptileserver.h Map: Add Spy Server and Kiwi SDR. Add weather and satellite overlays. 2024-02-27 15:40:06 +00:00
mapwebapiadapter.cpp Rewriting of copyright notices for plugins/features. Part of #1893 2023-11-18 13:12:18 +01:00
mapwebapiadapter.h Rewriting of copyright notices for plugins/features. Part of #1893 2023-11-18 13:12:18 +01:00
mapwebsocketserver.cpp Rewriting of copyright notices for plugins/features. Part of #1893 2023-11-18 13:12:18 +01:00
mapwebsocketserver.h Rewriting of copyright notices for plugins/features. Part of #1893 2023-11-18 13:12:18 +01:00
osmtemplateserver.cpp Rewriting of copyright notices for plugins/features. Part of #1893 2023-11-18 13:12:18 +01:00
osmtemplateserver.h Map: Add Spy Server and Kiwi SDR. Add weather and satellite overlays. 2024-02-27 15:40:06 +00:00
readme.md Update Map docs. 2024-02-27 16:25:34 +00:00
webserver.cpp Map: Add Spy Server and Kiwi SDR. Add weather and satellite overlays. 2024-02-27 15:40:06 +00:00
webserver.h Rewriting of copyright notices for plugins/features. Part of #1893 2023-11-18 13:12:18 +01:00

Map Feature Plugin

Introduction

The Map Feature plugin displays a world map in 2D and 3D. It can display street maps, satellite imagery as well as custom map types. On top of this, it can plot data from other plugins, such as:

  • APRS symbols from the APRS Feature,
  • Aircraft from the ADS-B Demodulator,
  • Ships from the AIS Demodulator,
  • Satellites from the Satellite Tracker,
  • Satellite imagery from APT Demodulator,
  • The Sun, Moon and Stars from the Star Tracker,
  • Weather balloons from the Radiosonde feature,
  • RF Heat Maps from the Heap Map channel,
  • Radials and estimated position from the VOR localizer feature,
  • ILS course line and glide path from the ILS Demodulator.
  • DSC geographic call areas.

As well as internet data sources:

  • AM, FM and DAB transmitters in the UK and DAB transmitters in France,
  • Airports, NavAids and airspaces,
  • Beacons based on the IARU Region 1 beacon database and International Beacon Project,
  • Radio time transmitters,
  • GRAVES radar,
  • Ionosonde station data,
  • Navtex transmitters,
  • VLF transmitters,
  • KiwiSDRs,
  • Spy Servers,
  • Weather radar,
  • Satellite infra-red data (clouds),
  • Sea marks,
  • Satellite imagery from NASA GIBS (Global Imagery Browse Services).

It can also create tracks showing the path aircraft, ships, radiosondes and APRS objects have taken, as well as predicted paths for satellites.

2D Map feature

3D Map feature

3D Models are not included with SDRangel. They must be downloaded by pressing the Download 3D Models button in the Display Settings dialog (20).

Interface

Map feature plugin GUI

1: Find

To centre the map on an object or location, enter:

  • An object name.
  • Latitude and longitude. This can be in decimal degrees (E.g: -23.666413, -46.573550) or degrees, minutes and seconds (E.g: 50°40'46.461"N 95°48'26.533"W or 33d51m54.5148sS 151d12m35.6400sE).
  • A Maidenhead locator (E.g: IO86av).
  • An address (E.g: St Katharine's & Wapping, London EC3N 4AB)

2: Map Type

Allows you to select a 2D map type. The available types will depend upon the Map provider selected under Display Settings (7).

3: Maidenhead locator conversion

When checked, opens the Maidenhead locator converter dialog, which allows conversion between addresses, latitude and longitude and Maidenhead locators.

4: Display Beacon dialog

When clicked, opens the Beacon dialog. Initially, no beacons will be listed. To download the IARU Region 1 beacon list, click the download button in the top right. The beacons will then be displayed in the table and on the map.

  • Double clicking in a cell in the beacon table in the Callsign or Location columns, will centre the map on that beacon.
  • Double clicking on the Frequency column will set the Device center frequency.

Beacon dialog

5: Display IBP Beacon Project Dialog

When clicked, opens the International Beacon Project dialog. The IBP consists of 18 HF beacons around the world, that each transmit once on each of the frequencies 14.100, 18.110, 21.150, 24.930 and 28.200MHz every 3 minutes, for 10 seconds. The IBP dialog shows which of the beacons should currently be transmitting.

IBP beacon dialog

  • Double clicking in a cell in the Callsign column will centre the map on that beacon.
  • Double clicking in a cell in the Frequency column will set the Device center frequency.

More details of the IBP can be found at: https://www.ncdxf.org/beacon/beaconfaq.html

6: Display Radio Time Transmitters dialog

When clicked, opens the Radio Time Transmitters dialog.

  • Double clicking in a cell in the table in the Callsign or Location columns, will centre the map on that transmitter.
  • Double clicking on the Frequency column will set the Device center frequency.

Radio Time transmitters dialog

7: Display Satellite Infrared

When checked, satellite infrared measurements (10.3um) are downloaded from the internet and are overlaid on the maps. This essentially shows cloud cover. The images are updated every 10 minutes.

Satellite IR

The data is similar to that which can be received using the APT Demodulator in the Thermal-infrared (10.3-11.3 um) channel.

8: Display Weather Radar

When checked, weather radar measurements are downloaded form the internet and are overlaid on the maps. This shows rain and other forms of precipitation. The images are updated every 10 minutes.

Green, yellow and red are rain, with red being the most intense. Light blue through dark blue is snow, with dark blue being the most intense.

Weather Radar

9: Display Sea Marks

When checked, sea marks are overlaid on the maps.

Sea Marks Legend

10: Display Railways

When checked, railway routes are overlaid on the maps.

Railway Legend

11: Display MUF Contours

When checked, contours will be downloaded and displayed on the 3D map, showing the MUF (Maximum Usable Frequency) for a 3000km path that reflects off the ionosphere. The contours will be updated every 15 minutes. The latest contour data will always be displayed, irrespective of the time set on the 3D Map.

12: Display coF2 Contours

When checked, contours will be downloaded and displayed on the 3D map, showing coF2 (F2 layer critical frequency), the maximum frequency at which radio waves will be reflected vertically from the F2 region of the ionosphere. The contours will be updated every 15 minutes. The latest contour data will always be displayed, irrespective of the time set on the 3D Map.

13: Display NASA GIBS Data

When checked, enables overlay of data from NASA GIBS (Global Imagery Browse Services). This includes a vast array of Earth observation satellite data, such as land and sea temperatures, atmospheric conditions, flux measurements and the like. Details of available data products can be found here.

For some data sets, GIBS has data spanning many decades. The data period may be hours, days or months. The 3D map will attemp to show data from the closest time set in the 3D map's timescale. The 2D map will only show data from the default date (which is displayed in the table at the bottom).

NASA GIBS

14: NASA GIBS Data

Selects which data from NASA GIBS to overlay on the maps.

15: NASA GIBS Opacity

Sets the opacity used for the NASA GIBS overlay image overlay on the 3D map. Lower values make the image more transparent.

16: Display Names

When checked, names of objects are displayed in a bubble next to each object.

17: Display tracks for selected object

When checked, displays the track (taken or predicted) for the selected object.

18: Display tracks for all objects

When checked, displays the track (taken or predicted) for the all objects.

19: Delete

When clicked, all items will be deleted from the map.

20: Display settings

When clicked, opens the Map Display Settings dialog:

Map Display Settings Dialog

The top half of the dialog allows customization of how objects from different SDRangel plugins are displayed on the 2D and 3D maps. This includes:

  • Whether images are displayed on the 2D map and whether 3D models are displayed on the 2D map.
  • Whether labels are displayed giving the name of the object.
  • Whether taken and predicted tracks are displayed and in which colour.
  • How the image or 3D model is scaled as the zoom level changes.

For the 2D map, the settings include:

For the 3D map, the settings include:

  • The terrain provider, which provides elevation data. For a "flat" globe, terrain can be set to Ellipsoid for the WGS-84 ellipsoid.

  • The buildings provider, which provides 3D building models. This can be set to None if no buildings are desired.

  • Whether the globe and models are lit from the direction of the Sun or the camera.

  • The camera reference frame. For ECEF (Earth Centered Earth Fixed), the camera rotates with the globe. For ECI (Earth Centred Inertial) the camera is fixed in space and the globe will rotate under it.

  • API keys, required to access maps from different providers.

Free API keys are available by signing up for an accounts with:

If API keys are not specified, a default key will be used, but this may not work if too many users use it.

The "Download 3D Models" button will download the 3D models of aircraft, ships and satellites that are required for the 3D map. These are not included with the SDRangel distribution, so must be downloaded.

Map

The map feature displays a 2D and a 3D map overlaid with objects reported by other SDRangel channels and features, as well as beacon locations.

  • The "Home Station" antenna location is placed according to My Position set under the Preferences > My Position menu.
  • To pan around the map, click the left mouse button and drag. To zoom in or out, use the mouse scroll wheel.
  • Single clicking on an object in the map will display a text bubble with additional information about the object.
  • Right clicking on a object on the 2D map will open a context menu, which allows:
    • To set an object as the target. The target object will have its azimuth and elevation displayed in the text bubble and sent to the Rotator Controller feature.
    • Setting the Device center frequency to the first frequency found in the text bubble for the object.
    • Changing the order in which the objects are drawn, which can help to cycle through multiple objects that are at the same location on the map.
    • Setting the object as the tracking target on the 3D map.
  • Left double clicking while holding shift on the 3D map will place a marker showing the position. Right clicking will clear it.

The 2D map will only display the last reported positions for objects. The 3D map, however, has a timeline that allows replaying how objects have moved over time. To the right of the timeline is the fullscreen toggle button, which allows the 3D map to be displayed fullscreen.

SDRs

The map can display KiwiSDRs and Spy Servers that are publically accessible via the Internet. A URL is displayed in the info box. Clicking on the URL will open a new KiwiSDR or RemoteTCPInput device which will connect to the corresponding SDR. Before connecting, you should check the whether the number of users is below the maximum. Server data is updated every 2 minutes.

SDRs

Ionosonde Stations

When Ionosonde Stations are displayed, data is downloaded and displayed every 2 minutes. The data includes:

  • MUF - Maximum Usable Frequency in MHz for 3000km path.
  • M(D) - M-factor (~MUF/foF2) for 3000km path.
  • foF2 - F2 region critical frequency in MHz.
  • hmF2 - F2 region height in km.
  • foE - E region critical frequency in MHz.
  • TEC - Total Electron Content.

Each station is labelled on the maps as "MUF/foF2".

MUF and foF2 can be displayed as contours:

MUF contours

The contours can be clicked on which will display the data for that contour in the info box.

Attribution

IARU Region 1 beacon list used with permission from: https://iaru-r1-c5-beacons.org/ To add or update a beacon, see: https://iaru-r1-c5-beacons.org/index.php/beacon-update/

Mapping and geolocation services are by Open Street Map: https://www.openstreetmap.org/ esri: https://www.esri.com/ Mapbox: https://www.mapbox.com/ Cesium: https://www.cesium.com Bing: https://www.bing.com/maps/

Ionosonde data and MUF/coF2 contours from KC2G with source data from GIRO and NOAA NCEI.

Sea Marks are from OpenSeaMap: https://www.openseamap.org/

Railways are from OpenRailwayMap: https://www.openrailwaymap.org/

Weather radar and satellite data is from RainViewer: https://www.rainviewer

Icons made by Google from Flaticon: https://www.flaticon.com World icons created by turkkub from Flaticon: https://www.flaticon.com Layers and Boat icons created by Freepik from Flaticon: https://www.flaticon.com Railway icons created by Prosymbols Premium from Flaticon: https://www.flaticon.com Satellite icons created by SyafriStudio from Flaticon: https://www.flaticon.com

3D models are by various artists under a variety of licenses. See: https://github.com/srcejon/sdrangel-3d-models

Creating 3D Models

If you wish to contribute a 3D model, see the https://github.com/srcejon/sdrangel-3d-models project.

API

Full details of the API can be found in the Swagger documentation. Here is a quick example of how to centre the map on an object from the command line:

curl -X POST "http://127.0.0.1:8091/sdrangel/featureset/feature/0/actions" -d '{"featureType": "Map",  "MapActions": { "find": "M7RCE" }}'

And to centre the map at a particular latitude and longitude:

curl -X POST "http://127.0.0.1:8091/sdrangel/featureset/feature/0/actions" -d '{"featureType": "Map", "MapActions": { "find": "51.2 0.0" }}'