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. Does Qt6 QML Map Plugin supports geoproviders other than OSM?
Qt 6.11 is out! See what's new in the release blog

Does Qt6 QML Map Plugin supports geoproviders other than OSM?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
10 Posts 3 Posters 2.5k Views 1 Watching
  • 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.
  • I Offline
    I Offline
    iamontherun
    wrote on last edited by
    #1

    I tried to use "here,esri" and other providers as mentioned in Qt5 QML with QT6 but it gave the following

    The geoservices provider is not supported.

    Then i ran the following function to find out availble plugins.

    function checkPlugins()
        {
            var plugins = Qt.createQmlObject ('import QtLocation; Plugin {}', mapScreen)
            for (var i = 0; i<plugins.availableServiceProviders.length; i++) {
                var newPlugin = Qt.createQmlObject ('import QtLocation; Plugin {name: "' + plugins.availableServiceProviders[i]+ '"}', mapScreen)
                if (newPlugin.supportsMapping()){
                    console.log(newPlugin.name+" is Avaible.")
                }
            }
        }
    

    i only got two options.

    qml: osm is Avaible.
    qml: itemsoverlay is Avaible.

    so if i am to use here maps or esri maps with QT6 QML. what are my options?

    I 1 Reply Last reply
    0
    • I iamontherun

      I tried to use "here,esri" and other providers as mentioned in Qt5 QML with QT6 but it gave the following

      The geoservices provider is not supported.

      Then i ran the following function to find out availble plugins.

      function checkPlugins()
          {
              var plugins = Qt.createQmlObject ('import QtLocation; Plugin {}', mapScreen)
              for (var i = 0; i<plugins.availableServiceProviders.length; i++) {
                  var newPlugin = Qt.createQmlObject ('import QtLocation; Plugin {name: "' + plugins.availableServiceProviders[i]+ '"}', mapScreen)
                  if (newPlugin.supportsMapping()){
                      console.log(newPlugin.name+" is Avaible.")
                  }
              }
          }
      

      i only got two options.

      qml: osm is Avaible.
      qml: itemsoverlay is Avaible.

      so if i am to use here maps or esri maps with QT6 QML. what are my options?

      I Offline
      I Offline
      iamontherun
      wrote on last edited by
      #2

      Unfortunately I quote,

      https://www.qt.io/blog/the-road-to-qt-location

      In practice this means that for the initial Qt 6 version of Qt Location, we will reduce the number of service providers that are supported out of the box. We continue to support the OpenStreetMap backend, in addition to the ItemOverlay backend.

      Any ideas to get a decent sat map ? with PySide6?

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        Maybe the ArcGIS SDK ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        I 1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

          Maybe the ArcGIS SDK ?

          I Offline
          I Offline
          iamontherun
          wrote on last edited by
          #4

          @SGaist But they are also going to stop support

          The QML API is deprecated. Version 200.4 of ArcGIS Maps SDK for Qt will be the last release to include QML API.

          And I am also looking for weather i can use PySide6 with ArcGIS Maps SDK .

          I 1 Reply Last reply
          0
          • I iamontherun

            @SGaist But they are also going to stop support

            The QML API is deprecated. Version 200.4 of ArcGIS Maps SDK for Qt will be the last release to include QML API.

            And I am also looking for weather i can use PySide6 with ArcGIS Maps SDK .

            I Offline
            I Offline
            iamontherun
            wrote on last edited by
            #5

            I simply want to have a proper satellite base map for my application to use with QML Maps.

            My Stack at the moment,

            PySIde6 & QML

            OSM Maps doesn't work for me since it doesn't have a satellite maps

            Another workround I am looking at is using

            https://github.com/maplibre/maplibre-native-qt

            with PySide6. I am not sure how to get pyside and maplibre-native-qt
            working together yet (no installation guide for this yet)

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              While their QML pre-built type will be gone, it seems they are going to provided examples on how to use their SDK to build QML based application.

              As for maplibre-native-qt, it looks like you would need to create the python bindings for their library.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              I 1 Reply Last reply
              0
              • SGaistS SGaist

                While their QML pre-built type will be gone, it seems they are going to provided examples on how to use their SDK to build QML based application.

                As for maplibre-native-qt, it looks like you would need to create the python bindings for their library.

                I Offline
                I Offline
                iamontherun
                wrote on last edited by
                #7

                @SGaist Does Esri SDK for QT works with PySide6/QML as well or only with C++ QT/QML? I couldn't find any examples for PySide6/QML. My attempts has not been successful.

                SGaistS 1 Reply Last reply
                0
                • I iamontherun

                  @SGaist Does Esri SDK for QT works with PySide6/QML as well or only with C++ QT/QML? I couldn't find any examples for PySide6/QML. My attempts has not been successful.

                  SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @iamontherun they have a Python SDK however I currently don't know if it has binding for PySide6

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  I 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    @iamontherun they have a Python SDK however I currently don't know if it has binding for PySide6

                    I Offline
                    I Offline
                    iamontherun
                    wrote on last edited by
                    #9

                    @SGaist Yes, they do have Python SDK, but it doesnt provide any Basemaps for the QML or seperate maps widget.

                    I want to know weather the QT is planning to reintroduce Esri Basemaps for QML in future. Since Esri one of the larger providers in GIS space.

                    I looked at all the options available for me to use Esri Base maps with PySide6/QML

                    Available Options.

                    1. ArcGIS Maps SDK for Qt (QML API) This is getting deprecated (https://www.esri.com/arcgis-blog/products/sdk-qt/announcements/qml-api-deprecation-and-roadmap/)

                    2. ArcGIS Maps SDK for QT (C++ API) - Can we use this with PySide6? If so, how?

                    3. maplibre-native-qt(https://github.com/maplibre/maplibre-native-qt) - Can we port this to PySide6/QML? (No PySide6 Bindings Available)

                    4. Can we use Esri Python SDK to provide Basemaps for PySide6/QML? Not feasible

                    5. Writing a Custom Maps Provider plugin in QML (similar to what they have done in QGROUNDCONTROL - https://github.com/mavlink/qgroundcontrol/blob/master/src/FlightMap/FlightMap.qml)

                    I am thinking it will be one of 2,3,5 as a viable option. Any direction/pointers would be greatly appreciated.

                    jsulmJ 1 Reply Last reply
                    0
                    • I iamontherun

                      @SGaist Yes, they do have Python SDK, but it doesnt provide any Basemaps for the QML or seperate maps widget.

                      I want to know weather the QT is planning to reintroduce Esri Basemaps for QML in future. Since Esri one of the larger providers in GIS space.

                      I looked at all the options available for me to use Esri Base maps with PySide6/QML

                      Available Options.

                      1. ArcGIS Maps SDK for Qt (QML API) This is getting deprecated (https://www.esri.com/arcgis-blog/products/sdk-qt/announcements/qml-api-deprecation-and-roadmap/)

                      2. ArcGIS Maps SDK for QT (C++ API) - Can we use this with PySide6? If so, how?

                      3. maplibre-native-qt(https://github.com/maplibre/maplibre-native-qt) - Can we port this to PySide6/QML? (No PySide6 Bindings Available)

                      4. Can we use Esri Python SDK to provide Basemaps for PySide6/QML? Not feasible

                      5. Writing a Custom Maps Provider plugin in QML (similar to what they have done in QGROUNDCONTROL - https://github.com/mavlink/qgroundcontrol/blob/master/src/FlightMap/FlightMap.qml)

                      I am thinking it will be one of 2,3,5 as a viable option. Any direction/pointers would be greatly appreciated.

                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      @iamontherun said in Does Qt6 QML Map Plugin supports geoproviders other than OSM?:

                      I want to know weather the QT is planning to reintroduce Esri Basemaps for QML in future

                      You should ask this on Qt developers mailing list. This is user forum, so not sure anybody here can answer this question.

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      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