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 draw the S-57 map in an efficient way?
Forum Updated to NodeBB v4.3 + New Features

How to draw the S-57 map in an efficient way?

Scheduled Pinned Locked Moved Unsolved General and Desktop
gdal
5 Posts 2 Posters 2.1k 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.
  • M Offline
    M Offline
    Melvin
    wrote on last edited by A Former User
    #1

    Hi Guys,

    I am new to Qt. I have a task to draw S-57 map but I have no idea how to begin with.

    I need some help to start. I have the map data and GDAL tools.

    For e.g:
    How to read the S-57 map data?
    How to draw it on Qt using which API?

    Thanks and Regards,
    Melvin

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

      Hi,

      I'm no specialist in the field but AFAIK, the GDAL is your best bet for that task.

      Grab the data through that library and then you should be able to load e.g. the tiff generated and use QImage to show them.

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

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

        Or rather copy the RGB data generated by GDAL on a QImage/QPixamp depending on what you'd want to show.

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

        1 Reply Last reply
        0
        • M Offline
          M Offline
          Melvin
          wrote on last edited by
          #4

          Hi,

          Thanks for the reply.

          I am using QPainter to draw out the map but I feel that the performance was slow. I am wondering if there is another way of drawing so that the performance can be improved?

          Do anyone have any idea?

          Thanks.

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

            What kind of performance do you have ?
            What size are the inputs ?
            Can you share the code you use for the painting ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - 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