Offline openstreetmap with downloadosmtiles.pl
-
Hello all
I downloaded tiles using downloadosmtiles.pl. But names of tiles and storage structure are different from example "http://blog.qt.io/blog/2017/05/24/qtlocation-using-offline-map-tiles-openstreetmap-plugin/". Here is how maps downloaded with downloadosmtiles.pl storages:
How could i change this project "http://blog.qt.io/blog/2017/05/24/qtlocation-using-offline-map-tiles-openstreetmap-plugin/" to use this tiles?P.S downloadosmtiles.pl --lat=-90:90 --lon=-180:180 --zoom=0:6 such i downloaded the tiles.
Regards Jasur,
from Tashkent -
Hello all
I downloaded tiles using downloadosmtiles.pl. But names of tiles and storage structure are different from example "http://blog.qt.io/blog/2017/05/24/qtlocation-using-offline-map-tiles-openstreetmap-plugin/". Here is how maps downloaded with downloadosmtiles.pl storages:
How could i change this project "http://blog.qt.io/blog/2017/05/24/qtlocation-using-offline-map-tiles-openstreetmap-plugin/" to use this tiles?P.S downloadosmtiles.pl --lat=-90:90 --lon=-180:180 --zoom=0:6 such i downloaded the tiles.
Regards Jasur,
from Tashkent@Jasur
one possibility couly specify a url to a local webserver (see this). In your local webserver you can "map" the requested tile to your local images.You may also read QTBUG-46650 (commit)
-
I wanted to do it without configuring any additional server. My idea is - send geolocation from smarthphones with some text to database, then get this data from database and put it on map. Then can you show examples or documentation, how to put coordinates from database(or from CSV) on map, if i use online openstreetmap?
P.S. I have experience with CSV format.
Regards jasur
-
I wanted to do it without configuring any additional server. My idea is - send geolocation from smarthphones with some text to database, then get this data from database and put it on map. Then can you show examples or documentation, how to put coordinates from database(or from CSV) on map, if i use online openstreetmap?
P.S. I have experience with CSV format.
Regards jasur
@Jasur said in Offline openstreetmap with downloadosmtiles.pl:
how to put coordinates from database(or from CSV) on map, if i use online openstreetmap?
http://doc.qt.io/qt-5/qml-qtlocation-map.html#addMapItem-method