Custom Maps in Mission Planner

I did with global mapper in the past, not at home now but there is the info intructions here, try to search, if you dont find I see my instructions when return home at the end week.

I will continue to search for the answers but it would be great if you could post them asap

1 Like

I have also run into this problem. I was able to use MapTiler to get some imagery into eMotion 3, but that format doesn’t seem to work with Mission Planner, nor do any of the other formats MapTiler creates. I’ve also tried using ArcGIS 10.6 to make a tile and map package which didn’t work either.

Unfortunately I don’t’ have access to Global Mapper.

Has anyone found a solution?

can you provide me wit a sample tile set? and a location on where it should be. and i will look at better supporting this

1 Like

I can and will. It is somewhat largeish, I think Google Drive might be the best way to share the data if that works for you.

Also, which data do you want? I can send you the original mosaic (geotiff), by bit-sized mosaics I made for MapTiler (png), the MapTiler tiles, the Arc tile package, and/or the Arc Map Package.

The site is DeepWater, in VA, owned by the Ward Burton Wildlife Foundation. The center is roughly 36°59’4.06"N 77°49’28.39"W.

@Michael_Oborne: I find Mission Planner’s approach to custom maps to include a lot of labor. I made a pull request to QGC to use Styled Mapbox maps (tiles retrieved OTA by an API, then overlaid). Slow progress afterwards, so I’m currently working on Tower instead (nice app for simple missions using a mobile device) where I also got that part working. The setup in the GCS is then reduced to simply adding user name, style ID and the key - any map customization handled in Mapbox Studio (or in the GCS by simply switching between different styles).
Any thoughts on supporting such a feature in MP?

Mission planner already supports mapbox.


and

the catch being there is no ui at the moment to specify the custom layer

Yes, you can load Mapbox maps. At least the “stock” sattelite view. Code use Api v4, key is “hard coded”.
Probably very inaccurate of me: A “stock” view from mapbox is just “a map”. When using the word “custom” and mapbox I refer to maps customized using the Mapbox Studio. Which may be based on the “stock” sattelite view or whatever view desired, but then altered in studio. I have as an example a lot of bathymetric maps for different waters, they are all included into one style. In QGC PR and now in a Tower version I work on, all of my bathymetric maps are now made available. I’ve used the mapbox Api to “retrieve raster tiles from styles” (link). The users needs a way to input the required mapbox account name, their own key and the ID of the desired style. And that’s it - the map is then customized in Mapbox, and always available in the GCS… (my usage is obviously for a boat)

so the ability to define this url
/styles/v1/{username}/{style_id}/tiles/{tilesize}/{z}/{x}/{y}{@2x}
is the key here. as well ass the user acess token.

eg

curl "https://api.mapbox.com/styles/v1/mapbox/streets-v11/tiles/256/1/1/0?access_token=YOUR_MAPBOX_ACCESS_TOKEN"

ive just updated MP beta, and includes a MapBoxUser
this will prompt for the mapbox ShareURL
image
enter it and it should work

1 Like

Hello Michael. It works fine. Thank you.
Can you describe how to clear custom mapbox tiles?

currently there is no method for removing an entire cache history.
you can delete by age, but not everything.

the manual way is goto
C:\ProgramData\Mission Planner\gmapcache\TileDBv3\en
and delete the folder for what tiles you want to remove.

2 Likes

Hello Olav! Nice to see your struggle for bathimetry in ardupilot.:v: I guess Tower is more interesting for fishing and mapping than Qgcontrol ( you can rotate map and ad more zoom). Can you share your version of Tower?
Buy the way this summer i intalled on rt4 Raymarine Dragonfly 4pro and wifi reapiter on the bank (very impressive). Guys from Carplounge somehow add possibilyty to read raymarine depth messages in their app ( so its possible to add tracks to Reefmaster ).Looks like Navionics Boating.

Tower’s simplicity makes it an ideal partner for bait boat usage. But it’s outdated. I have some help renewing it, and a fair set of ambitions on needed (bait-)boat focused adjustments. Hoping to reach a milestone by the end of this week, then I can help you out. Testing needed, you know…
I had no time to test the beta of Mission Planner yet. Stupid question, perhaps: How (from where) did you install the beta?
And a big thank you @Michael_Oborne :+1:

Hi Olav. To intall beta you need to select Help colomn and select Chek for Beta Updates:slightly_smiling_face:

@Michael_Oborne: Finally understood how to install the beta.
Really easy to set up the mapbox maps this way. Thanks. One thing though: I have several styles. So I tried to switch from one style to another (pasting a new shareURL). What I see is that the tiles already downloaded from the first style is not changed. Second style appears only when I zoom to a range that I did not use with the initial style.
Is there a way to re-download the map in order to alter the appearance (from one style to the next)?

currently no, check my post about 4/5 up

Hello,
If i use custom map like this link : http://vps.oborne.me/gcs/CustomImages.htm
the map will contain elevation data ? Because i need my elevation data in MP to fly more precisely.
Have a good day :slight_smile:

to use elevation data you need to do it differently.

please see Custom Imagery in Mission Planner

I’m on it thanks :slight_smile: But no message in my console, and no geotif data on flight plan screen