Opened 9 months ago

Closed 8 months ago

#68023 closed defect (fixed)

gdal in Qgis has not support for kmz files

Reported by: enoch777 Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: nilason (Nicklas Larsson)
Port: qgis3-ltr

Description (last modified by ryandesign (Ryan Carsten Schmidt))

When I try to open a kmz file on Qgis, I get:

Invalid Data Source : /home/.../file.kmz is not a valid or recognized data source

Attachments (1)

main.log (3.5 MB) - added by enoch777 9 months ago.
main.log result from sudo port install gdal +libkml

Change History (8)

comment:1 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: nilason added
Description: modified (diff)
Owner: set to Veence
Status: newassigned

comment:2 Changed 9 months ago by nilason (Nicklas Larsson)

It should work with gdal variant +libkml installed.

comment:3 in reply to:  2 ; Changed 9 months ago by enoch777

I tried: sudo port install gdal +libkml

but, I get: Error: Failed to build gdal: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port gdal failed

Replying to nilason:

It should work with gdal variant +libkml installed.

comment:4 in reply to:  3 Changed 9 months ago by reneeotten (Renee Otten)

Replying to enoch777:

Please add the main.log mentioned in the error message

Changed 9 months ago by enoch777

Attachment: main.log added

main.log result from sudo port install gdal +libkml

comment:5 Changed 9 months ago by nilason (Nicklas Larsson)

Thanks for the log file!

Could you please check if you have the directory /opt/local/libexec/boost/1.76/include/boost/ with contents and in particular the file /opt/local/libexec/boost/1.76/include/boost/intrusive_ptr.hpp on your system.

comment:6 Changed 9 months ago by enoch777

I just made a clean installation of Macports, then:

sudo port install gdal +libkml

It Works!!! Thank you!

comment:7 Changed 8 months ago by nilason (Nicklas Larsson)

Resolution: fixed
Status: assignedclosed

In 57432884ee0db34bb0a44d1b886483ad689991f1/macports-ports (master):

gdal: fix build failure with +libkml variant

Closes: #68023

Note: See TracTickets for help on using tickets.