1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-29 19:28:47 -05:00
sdrangel/plugins/feature/map
2022-01-09 05:27:12 +01:00
..
icons Add IBP beacons and GRAVES to Map feature 2021-12-03 18:23:14 +00:00
map Add better Map API key support 2021-11-23 16:44:07 +00:00
beacon.h Merge CSV code in to a single file. 2021-11-04 12:33:43 +00:00
CMakeLists.txt Add IBP beacons and GRAVES to Map feature 2021-12-03 18:23:14 +00:00
ibpbeacon.cpp Add IBP beacons and GRAVES to Map feature 2021-12-03 18:23:14 +00:00
ibpbeacon.h Display locator not location 2021-12-03 18:37:10 +00:00
icons.qrc Add IBP beacons and GRAVES to Map feature 2021-12-03 18:23:14 +00:00
map.cpp Make rollup state a serializable object so that it can be dumped in JSON format for the API. Prerequisite tp #1050 2022-01-09 05:27:12 +01:00
map.h Add Map feature for displaying the combined items from other plugins 2021-01-13 20:07:28 +00:00
map.qrc Add better Map API key support 2021-11-23 16:44:07 +00:00
mapbeacondialog.cpp Don't use WA_DeleteOnClose for progess dialogs, as a crash can occur if the user closes the window before the download is complete. 2021-11-03 11:02:04 +00:00
mapbeacondialog.h Map updates. 2021-01-22 14:54:22 +00:00
mapbeacondialog.ui Map updates. 2021-01-22 14:54:22 +00:00
mapgui.cpp Make rollup state a serializable object so that it can be dumped in JSON format for the API. Prerequisite tp #1050 2022-01-09 05:27:12 +01:00
mapgui.h Make rollup state a serializable object so that it can be dumped in JSON format for the API. Prerequisite tp #1050 2022-01-09 05:27:12 +01:00
mapgui.ui Add IBP beacons and GRAVES to Map feature 2021-12-03 18:23:14 +00:00
mapibpbeacondialog.cpp Add IBP beacons and GRAVES to Map feature 2021-12-03 18:23:14 +00:00
mapibpbeacondialog.h Add IBP beacons and GRAVES to Map feature 2021-12-03 18:23:14 +00:00
mapibpbeacondialog.ui Add IBP beacons and GRAVES to Map feature 2021-12-03 18:23:14 +00:00
maplocationdialog.cpp Map updates. 2021-01-22 14:54:22 +00:00
maplocationdialog.h Map updates. 2021-01-22 14:54:22 +00:00
maplocationdialog.ui Map updates. 2021-01-22 14:54:22 +00:00
mapmaidenheaddialog.cpp Map updates. 2021-01-22 14:54:22 +00:00
mapmaidenheaddialog.h Map updates. 2021-01-22 14:54:22 +00:00
mapmaidenheaddialog.ui Map updates. 2021-01-22 14:54:22 +00:00
mapplugin.cpp Make rollup state a serializable object so that it can be dumped in JSON format for the API. Prerequisite tp #1050 2022-01-09 05:27:12 +01:00
mapplugin.h Add Map feature for displaying the combined items from other plugins 2021-01-13 20:07:28 +00:00
mapradiotimedialog.cpp Add radio time transmitters to map 2021-06-23 15:15:50 +01:00
mapradiotimedialog.h Add radio time transmitters to map 2021-06-23 15:15:50 +01:00
mapradiotimedialog.ui Add radio time transmitters to map 2021-06-23 15:15:50 +01:00
mapsettings.cpp Make rollup state a serializable object so that it can be dumped in JSON format for the API. Prerequisite tp #1050 2022-01-09 05:27:12 +01:00
mapsettings.h Make rollup state a serializable object so that it can be dumped in JSON format for the API. Prerequisite tp #1050 2022-01-09 05:27:12 +01:00
mapsettingsdialog.cpp Add better Map API key support 2021-11-23 16:44:07 +00:00
mapsettingsdialog.h Add better Map API key support 2021-11-23 16:44:07 +00:00
mapsettingsdialog.ui Add IBP beacons and GRAVES to Map feature 2021-12-03 18:23:14 +00:00
mapwebapiadapter.cpp Fix cut and paste errors from PTT feature 2021-01-15 11:00:03 +00:00
mapwebapiadapter.h Add Map feature for displaying the combined items from other plugins 2021-01-13 20:07:28 +00:00
osmtemplateserver.cpp Add better Map API key support 2021-11-23 16:44:07 +00:00
osmtemplateserver.h Add better Map API key support 2021-11-23 16:44:07 +00:00
readme.md Add IBP beacons and GRAVES to Map feature 2021-12-03 18:23:14 +00:00

Map Feature Plugin

Introduction

The Map Feature plugin displays a world map. 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,
  • The Sun, Moon and Stars from the Star Tracker,
  • Beacons based on the IARU Region 1 beacon database and International Beacon Project,
  • Radio time transmitters,
  • GRAVES radar.

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

Map feature

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 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 Names

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

8: Display tracks for selected object

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

9: Display tracks for all objects

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

10: Delete

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

11: Display settings

When clicked, opens the Map Display Settings dialog, which allows setting:

  • Which data the Map will display.
  • The colour of the taken and predicted tracks.
  • Which Map provider will be used to source the map image.
  • 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.

When OpenStreetMap is used as the provider, a custom map URL can be entered. For example, http://a.tile.openstreetmap.fr/hot/ or http://1.basemaps.cartocdn.com/light_nolabels/

Map

The map displays objects reported by other SDRangel channels and features, as well as beacon locations.

  • The "Home" antenna location is placed according to My Position set under the Preferences > My Position menu. The position is only updated when the Map plugin is first opened.
  • 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 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.

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/ and Mapbox: https://www.mapbox.com/

Icons made by Google from Flaticon https://www.flaticon.com

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/0/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/0/feature/0/actions" -d '{"featureType": "Map", "MapActions": { "find": "51.2 0.0" }}'