Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Location, Map Cache
QtWS25 Last Chance

Qt Location, Map Cache

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt5mapcachedisk cache
7 Posts 2 Posters 1.5k 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.
  • D Offline
    D Offline
    deleted286
    wrote on 20 Jan 2021, 07:25 last edited by
    #1

    Is there any example of mapping cache? I want to do, disk cache . I couldnt find any example related to this topic exactly

    R 1 Reply Last reply 20 Jan 2021, 08:28
    0
    • D deleted286
      20 Jan 2021, 07:25

      Is there any example of mapping cache? I want to do, disk cache . I couldnt find any example related to this topic exactly

      R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 20 Jan 2021, 08:28 last edited by raven-worx
      #2

      @suslucoder
      on what platform?
      On linux you can set XDG_CACHE_HOME and XDG_DATA_HOME environment variables. Which are actually interpreted by QStandardPaths::CacheLocation
      And IIRC it is used by QtLocation to write the map cache.

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

      D 1 Reply Last reply 20 Jan 2021, 08:37
      0
      • R raven-worx
        20 Jan 2021, 08:28

        @suslucoder
        on what platform?
        On linux you can set XDG_CACHE_HOME and XDG_DATA_HOME environment variables. Which are actually interpreted by QStandardPaths::CacheLocation
        And IIRC it is used by QtLocation to write the map cache.

        D Offline
        D Offline
        deleted286
        wrote on 20 Jan 2021, 08:37 last edited by
        #3

        @raven-worx is it possible on windows?

        R 1 Reply Last reply 20 Jan 2021, 08:48
        0
        • D deleted286
          20 Jan 2021, 08:37

          @raven-worx is it possible on windows?

          R Offline
          R Offline
          raven-worx
          Moderators
          wrote on 20 Jan 2021, 08:48 last edited by raven-worx
          #4

          @suslucoder
          on windows there doesn't seem to be a generic way.

          About what map provider plugin are we talking here actually?
          The here plugin provides an extra parameter to do what you want for example. Whereas the osm plugin doesn't.

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

          D 1 Reply Last reply 20 Jan 2021, 08:49
          0
          • R raven-worx
            20 Jan 2021, 08:48

            @suslucoder
            on windows there doesn't seem to be a generic way.

            About what map provider plugin are we talking here actually?
            The here plugin provides an extra parameter to do what you want for example. Whereas the osm plugin doesn't.

            D Offline
            D Offline
            deleted286
            wrote on 20 Jan 2021, 08:49 last edited by
            #5

            @raven-worx actually im searching a way to, run my map wihtout any ethernet connection. I think that cache a disk is a way for it

            R 1 Reply Last reply 20 Jan 2021, 08:50
            0
            • D deleted286
              20 Jan 2021, 08:49

              @raven-worx actually im searching a way to, run my map wihtout any ethernet connection. I think that cache a disk is a way for it

              R Offline
              R Offline
              raven-worx
              Moderators
              wrote on 20 Jan 2021, 08:50 last edited by
              #6

              @suslucoder
              you might be interested in this then:
              https://www.qt.io/blog/2017/05/24/qtlocation-using-offline-map-tiles-openstreetmap-plugin

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

              D 1 Reply Last reply 20 Jan 2021, 08:52
              1
              • R raven-worx
                20 Jan 2021, 08:50

                @suslucoder
                you might be interested in this then:
                https://www.qt.io/blog/2017/05/24/qtlocation-using-offline-map-tiles-openstreetmap-plugin

                D Offline
                D Offline
                deleted286
                wrote on 20 Jan 2021, 08:52 last edited by
                #7

                @raven-worx thank you

                1 Reply Last reply
                0

                5/7

                20 Jan 2021, 08:49

                • Login

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