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. How to display geotiff image using qt ?
Forum Updated to NodeBB v4.3 + New Features

How to display geotiff image using qt ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 2 Posters 3.2k 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.
  • U Offline
    U Offline
    umadevi
    wrote on last edited by
    #1

    Hai,
    I would like to know how to display the geotiff image using Qt without losing metadata information stored in geotiff file. I need to get longitude ,latitude and height information of geotiff file by mouse click. How to do that? I am not able to display the geotiff image using qt.

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hai
      I think you need a external LIB for that. ( the meta data)
      This should be good/work. ( seen it recommended. not tried)

      http://www.gdal.org/

      1 Reply Last reply
      1
      • U Offline
        U Offline
        umadevi
        wrote on last edited by
        #3

        Thanks for the reply.yeah I have installed GDAL too. I don't know how to use that with qt to display geotiff and it's information like long,lat and height.

        mrjjM 1 Reply Last reply
        0
        • U umadevi

          Thanks for the reply.yeah I have installed GDAL too. I don't know how to use that with qt to display geotiff and it's information like long,lat and height.

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @umadevi
          Well first step is to read GDAL docs and find out how to get that info.
          Later you can see how to integrate with Qt.
          http://stackoverflow.com/questions/33807705/create-a-qimage-from-a-gdaldataset

          Maybe this gives good info
          https://www.youtube.com/watch?v=pkE8kYkE09Y

          It seems pretty complex so be prepared to spend some time to learn GDAL API.

          1 Reply Last reply
          1
          • U Offline
            U Offline
            umadevi
            wrote on last edited by
            #5

            @mrjj thanks

            mrjjM 1 Reply Last reply
            0
            • U umadevi

              @mrjj thanks

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @umadevi
              Np, the video seem to be a whole serie talking about GDAL :)

              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