Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Offline openstreetmap with downloadosmtiles.pl
QtWS25 Last Chance

Offline openstreetmap with downloadosmtiles.pl

Scheduled Pinned Locked Moved Solved QML and Qt Quick
5 Posts 2 Posters 1.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jasur
    wrote on last edited by
    #1

    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: 0_1537553673778_Screenshot_20180921_230723.png
    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

    raven-worxR 1 Reply Last reply
    0
    • J Jasur

      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: 0_1537553673778_Screenshot_20180921_230723.png
      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

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by raven-worx
      #2

      @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)

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      1
      • J Offline
        J Offline
        Jasur
        wrote on last edited by Jasur
        #3

        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

        raven-worxR 1 Reply Last reply
        0
        • J 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

          raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by
          #4

          @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

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          0
          • J Offline
            J Offline
            Jasur
            wrote on last edited by
            #5

            Thank you veru much.

            Regards,
            Jasur

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved