Open seangrant82 opened 5 years ago
@tilaktilak Have you gotten close to the import/export code? Wondering if you could take a look at this?
Yep, I'll be glad to have a look !
@tilaktilak thx! let me know if you need me to test anything or need any clarification
I can't reproduce this easily, can you share the qgctiledb file with us ?
Can you confirm that in this particular area and with internet connected, when you create a mission the Elevation graph on the bottom-left corner is updated with terrain data ?
In my case I have a similar error when I add a WP on an area outside my cached elevation tile.
Here is one I made over the grand canyon. gc2.zip
With alt above terrain and internet connected
With altitude not above terrain and internet connected
-I don't receive and error message. When I import the qgctiledb only the map tiles get imported. The elevation does not. Here is screenshot of when I import the db above
sqlite> SELECT * FROM TileSets
...> ;
1|gc|Bing Hybrid Map|36.1026981191769|-112.139439165652|36.0941894090616|-112.12205650805|16|17|666|47|0|1568822932
2|gc Elevation|Airmap Elevation Data|36.1026981191769|-112.139439165652|36.0941894090616|-112.12205650805|1|1|8001|4|0|1568822932
sqlite> SELECT * FROM TilesDownload;
sqlite> SELECT * FROM Tiles;
1|06660001235300025711016|jpg|����|23503|666|1568822932
2|06660001235300025712016|jpg|����|19757|666|1568822932
3|06660001235300025713016|jpg|����|24590|666|1568822932
4|06660001235400025711016|jpg|����|25839|666|1568822932
5|06660001235400025712016|jpg|����|21865|666|1568822932
6|06660001235400025713016|jpg|����|17510|666|1568822932
...
42|06660002471200051426017|jpg|����|17546|666|1568822932
43|06660002471200051425017|jpg|����|24902|666|1568822932
44|06660002471300051423017|jpg|����|19036|666|1568822932
45|06660002471300051426017|jpg|����|14813|666|1568822932
46|06660002471300051424017|jpg|����|20097|666|1568822932
47|06660002471300051425017|jpg|����|21830|666|1568822932
From what can I see in your db file, there is no elevation tiles, and nothing in the TilesDownload table (which is the "To download" list). Whereas the TilesSet "gc Elevation" exists and should contains 4 tiles.
example.zip Can you try this one? It appears the export isnt grabbing the tiles when it should. I looked at this and there are two tilesets
I confirm this one has 2 elevation tiles and 14 Google Street Map ones. Are you using "Select All" while exporting ? Default Tile Set ? Sometimes the "Export" button looks disabled even if there are selected data on the list.
I am only selecting the ones that I downloaded. Yeah, I found if the button is disabled, i check another tileset and uncheck it and that appears to enable it
Problem: When exporting map tiles and elevation data into a qgctiledb, if you try to import that qgctiledb back into QGC, the elevation does not import. This prevents any sort of terrain following in an offline mode. QGC version: 3.5.4 (latest stable release from website on windows and linux tested) Steps to reproduce:
You will see only the tile are imported not the elevation.
Also, the console is reporting an error retrieving the elevation tiles: