inav-configurator icon indicating copy to clipboard operation
inav-configurator copied to clipboard

Regarding substitutes for Bing Map after discontinuing service

Open wskkys opened this issue 1 year ago • 16 comments

Bing Maps for Enterprise  is deprecated and will be retired. Enterprise account customers can continue to use Bing Maps for Enterprise services until June 30th, 2028. Existing free (Basic) account customers can continue to use Bing Maps for Enterprise services until June 30th, 2025. Can the author consider replacing the Bing map with another service provider?

wskkys avatar Jul 01 '24 08:07 wskkys

That depends which. Google Maps are not a possibility as UAV tracking is against Google Maps TOS

DzikuVx avatar Jul 02 '24 19:07 DzikuVx

Hi, Bing maps is deprecated and is replaced by Azure maps. Is it possible to use Azure maps as a substitute? Thanks

JonnyRemix avatar Aug 14 '24 20:08 JonnyRemix

Yes, I got the notice also for the bing maps API being depreciated. We really could do with an alternative.

CarolineTyler avatar Aug 17 '24 10:08 CarolineTyler

Are the Bing Maps Api for Inav 7 already deprecated or is it going to be depricated? If the second then when exactly? I need to use it for the next 2 weeks but my account is locked and I need to give a mobile phone to unlock it, which I don't usually do very happily. Please tell me if it is already deprecated I don't need to do it...

cptX avatar Aug 19 '24 09:08 cptX

Are the Bing Maps Api for Inav 7 already deprecated or is it going to be depricated? If the second then when exactly? I need to use it for the next 2 weeks but my account is locked and I need to give a mobile phone to unlock it, which I don't usually do very happily. Please tell me if it is already deprecated I don't need to do it...

If you already have an account you are OK until at least June ‘25. If you don’t have a maps account it won’t accept new users or allow new API creation.

mhk1058 avatar Aug 20 '24 22:08 mhk1058

here.com seems to be the likely alternative. That's where Bing sources some of their satellite images. One can get a free API key. Someone will need to do a bit of coding to make it work.

sensei-hacker avatar Aug 21 '24 00:08 sensei-hacker

What's up with openstreetmaps.org?

OptimusTi avatar Aug 21 '24 01:08 OptimusTi

Or Mapbox via mapproxy. Screenshot from 2024-09-02 16-36-04 (requires free Mapbox API key).

stronnag avatar Sep 02 '24 16:09 stronnag

Or Mapbox via mapproxy. Screenshot from 2024-09-02 16-36-04 (requires free Mapbox API key).

Can you explain how you get that to work? I have an API key but no idea how to set up the map proxy URL

mhk1058 avatar Sep 02 '24 21:09 mhk1058

Can you explain how you get that to work? I have an API key but no idea how to set up the map proxy URL

You need a locally accessible instance of mapproxy, i.e. you host mapproxy on your LAN. The configurator repo provides information MAPPROXY.md on using mapproxy. However, as it starts by recommending the installation of an obsolete, 10 year old version of Ubuntu, one might doubt its providence.

My contemporaneous set of notes details modern usage and installation. These notes includes examples for MapBox and other useful services like OpenTopo.

stronnag avatar Sep 03 '24 05:09 stronnag

Can you explain how you get that to work? I have an API key but no idea how to set up the map proxy URL

You need a locally accessible instance of mapproxy, i.e. you host mapproxy on your LAN. The configurator repo provides information MAPPROXY.md on using mapproxy. However, as it starts by recommending the installation of an obsolete, 10 year old version of Ubuntu, one might doubt its providence.

My contemporaneous set of notes details modern usage and installation. These notes includes examples for MapBox and other useful services like OpenTopo.

Many thanks... probably beyond my skill and patience, I'll live with open street map for now :-)

mhk1058 avatar Sep 03 '24 08:09 mhk1058

What's up with openstreetmaps.org?

Nothing really, especially if it is sufficient for your needs. However, satellite photographic maps can give you an easier to read picture of the type of terrain and topo maps (like Ordnance Survey in the UK) give more intuitive terrain contouring.

mhk1058 avatar Sep 03 '24 08:09 mhk1058

A few more practical considerations:

  • There has been some developer discussion as to whether to maintain the extant "OpenLayers" API or to migrate to "Leaflet"; until a clear consensus / direction emerges, developing Bing alternatives may be nugatory.
  • Both OpenLayers and Leaflet can support Azure Maps and MapBox
  • For either (or both of) Azure and MapBox, volunteer developer effort is needed and users will need to obtain personal access key(s).

stronnag avatar Sep 30 '24 21:09 stronnag

FYI: work on additional map providers is in process. No final decision yet but we will very likely add ESRI Maps as a free Satellite image provider with further commercial solutions added as well.

More info will follow in time when we get closer to 8.1 (or whatever comes before June)

b14ckyy avatar Jan 18 '25 22:01 b14ckyy

Here is a MapProxy config for Google Maps, but please note that it is for educational purposes only, you cannot use Google maps tiles via proxy :)

services:
  demo:
  wms:
  tms:

layers:
  - name: opentopo
    title: OpenTopo
    sources: [opentopo]
  - name: gm
    title: Google Maps
    sources: [gm_cache_satelite]

caches:
  opentopo:
    sources: [opentopo]
    grids: [webmercator]
    cache:
      type: file
      directory_layout: tms

  gm_cache_satelite:
    grids: [webmercator]
    sources: [gm]
    cache:
      type: file
      directory_layout: tms


sources:
  gm:
    type: tile
    grid: GLOBAL_WEBMERCATOR
    url: http://mt0.google.com/vt/lyrs=y@0&hl=en&x=%(x)s&y=%(y)s&z=%(z)s

  opentopo:
    type: tile
    grid: GLOBAL_WEBMERCATOR
    url: https://a.tile.opentopomap.org/%(z)s/%(x)s/%(y)s.png

grids:
    webmercator:
        base: GLOBAL_WEBMERCATOR

globals:
  cache:
    base_dir: ./mapproxy_cache


But if you want to use mapproxy(ofc not for proxing Google Maps) you can follow the following steps:

NOTE: Sometimes instead of python in your terminal you may use py

  1. Download python: https://www.python.org/downloads/windows/
  2. Save mapproxy config(simillar to the above) in the file C:/mapproxy.yaml
  3. Open powershell and enter the following commands:
  4. Start mapproxy in powershell mapproxy-util serve-develop C:\mapproxy.yaml

Then in INAV you would set the following values:

Image

  • Map provider: MapProxy
  • Map API key: empty
  • MapProxy URL: http://localhost:8080/service?service=wms
  • MapProxy Layer: gm

daniel1302 avatar Apr 15 '25 18:04 daniel1302

#2385

Scavanger avatar Jun 11 '25 02:06 Scavanger