Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Embed osm xml into qt with python
Forum Updated to NodeBB v4.3 + New Features

Embed osm xml into qt with python

Scheduled Pinned Locked Moved Unsolved Qt for Python
2 Posts 2 Posters 368 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.
  • B Offline
    B Offline
    bidd
    wrote on last edited by
    #1

    Hello ,

    I want to embed locally available osm xml file into GUI using PyQT, I am unable to find suitable resources/tutorials. Please guide me trhough

    raven-worxR 1 Reply Last reply
    0
    • B bidd

      Hello ,

      I want to embed locally available osm xml file into GUI using PyQT, I am unable to find suitable resources/tutorials. Please guide me trhough

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

      @bidd
      if you want to render the map of the osm xml file this wont work.
      Qt has no parser and no renderer. it can only display already rendered tiles for each zoom level.
      Also osm and osm-xml files are rather big and due to their internal structure and tons of information not needed for most viewing cases you will never get an acceptable perfomance by directly rendering them.

      you can pre-render the tiles. the osm wiki has alot of information how to do and what tools you can use.

      for offline tiles you can read this: 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

      1 Reply Last reply
      2

      • Login

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