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. QML Map and WMS cartographic server

QML Map and WMS cartographic server

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
mapplugins
2 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.
  • A Offline
    A Offline
    Abstraction
    wrote on last edited by
    #1

    Good day.

    Looking at QML Map component, I don't see WMS server support among plugins available. What would be a proper way to add such support?

    The most obvious solution I can think of would be to "replace" QGeoTileProviderOsm::tileAddress() by subclassing from it and writing my own implementation which would form a WMS request based on tile (x,y,z) triplet, but I don't understand how I would make a new plugin that will use said implementation (or where I could read about creating new Map plugins) or how to access qgeotileproviderosm.h header.

    I did see ESRI WMS class, but I would rather avoid adding the whole ArcGIS SDK to my project.

    I did see QMapControl widget, but combining the widget with QML interface is a bit trickier than I'd like, and the thing seemingly isn't supported anymore.

    1 Reply Last reply
    1
    • P Offline
      P Offline
      poncho524
      wrote on last edited by
      #2

      I've been trying to find the same solution... and have come across the same issues.

      QGIS can show WMS maps via Qt. So in theory you could pull apart its source, but then you're dealing with GPL issues.

      Has anyone written a WMS plugin and published it?

      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