Qt6 topics merged with General

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



  • 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


  • Lifetime Qt Champion

    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.


  • Lifetime Qt Champion

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



  • 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.


  • Lifetime Qt Champion

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


Log in to reply