Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Solved Offline openstreetmap with downloadosmtiles.pl

    QML and Qt Quick
    2
    5
    1028
    Loading More Posts
    • 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
      Jasur last edited by

      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-worx 1 Reply Last reply Reply Quote 0
      • raven-worx
        raven-worx Moderators @Jasur last edited by raven-worx

        @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 Reply Quote 1
        • J
          Jasur last edited by 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-worx 1 Reply Last reply Reply Quote 0
          • raven-worx
            raven-worx Moderators @Jasur last edited by

            @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 Reply Quote 0
            • J
              Jasur last edited by

              Thank you veru much.

              Regards,
              Jasur

              1 Reply Last reply Reply Quote 0
              • First post
                Last post