Package Details: gdal-filegdb 2.1-2

Git Clone URL: https://aur.archlinux.org/gdal-filegdb.git (read-only)
Package Base: gdal-filegdb
Description: A translator library for vector and raster geospatial data formats (PDF, FileGDB, KMZ support)
Upstream URL: http://www.gdal.org/
Keywords: GIS
Licenses: custom
Conflicts: gdal
Provides: gdal=2.1
Submitter: saultdon
Maintainer: saultdon
Last Packager: saultdon
Votes: 5
Popularity: 0.206061
First Submitted: 2013-09-14 01:37
Last Updated: 2016-12-07 18:48

Required by (93)

Sources (3)

Latest Comments

kikislater commented on 2016-12-14 04:30

I tried with libkml et libkml-git but no luck.
So I found Paul Ramsey post about tif compression and now gdal-filegdb not needed at this time. I use only gdal-filegdb for ecw with modification. I play with a gdal docker image at this time to convert to a well known format instead of proprietary ...

saultdon commented on 2016-12-13 16:41

@kikislater can you try rebuilding libkml and try again?

kikislater commented on 2016-12-12 06:59

Hi, I've got error when building kml support. How to solve it ?


/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::Href::Parse(std::string const&)'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::KmzFile::OpenFromString(std::string const&)'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmldom::Parse(std::string const&, std::string*)'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::KmzFile::ReadFile(char const*, std::string*) const'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::KmzFile::ReadKmlAndGetPath(std::string*, std::string*) const'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmldom::SerializePretty(boost::intrusive_ptr<kmldom::Element> const&)'
collect2: error: ld returned 1 exit status
make[1]: *** [GNUmakefile:94: gdalwarp] Error 1
make[1]: *** Waiting for unfinished jobs....
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::Href::Parse(std::string const&)'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::KmzFile::OpenFromString(std::string const&)'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmldom::Parse(std::string const&, std::string*)'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::KmzFile::ReadFile(char const*, std::string*) const'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::KmzFile::ReadKmlAndGetPath(std::string*, std::string*) const'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmldom::SerializePretty(boost::intrusive_ptr<kmldom::Element> const&)'
collect2: error: ld returned 1 exit status
make[1]: *** [GNUmakefile:100: nearblack] Error 1
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::Href::Parse(std::string const&)'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::KmzFile::OpenFromString(std::string const&)'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmldom::Parse(std::string const&, std::string*)'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::KmzFile::ReadFile(char const*, std::string*) const'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::KmzFile::ReadKmlAndGetPath(std::string*, std::string*) const'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmldom::SerializePretty(boost::intrusive_ptr<kmldom::Element> const&)'
collect2: error: ld returned 1 exit status
make[1]: *** [GNUmakefile:82: gdalinfo] Error 1
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::Href::Parse(std::string const&)'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::KmzFile::OpenFromString(std::string const&)'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmldom::Parse(std::string const&, std::string*)'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::KmzFile::ReadFile(char const*, std::string*) const'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::KmzFile::ReadKmlAndGetPath(std::string*, std::string*) const'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmldom::SerializePretty(boost::intrusive_ptr<kmldom::Element> const&)'
collect2: error: ld returned 1 exit status
make[1]: *** [GNUmakefile:88: gdal_translate] Error 1
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::Href::Parse(std::string const&)'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::KmzFile::OpenFromString(std::string const&)'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmldom::Parse(std::string const&, std::string*)'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::KmzFile::ReadFile(char const*, std::string*) const'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::KmzFile::ReadKmlAndGetPath(std::string*, std::string*) const'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmldom::SerializePretty(boost::intrusive_ptr<kmldom::Element> const&)'
collect2: error: ld returned 1 exit status
make[1]: *** [GNUmakefile:91: gdaladdo] Error 1
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::Href::Parse(std::string const&)'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::KmzFile::OpenFromString(std::string const&)'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmldom::Parse(std::string const&, std::string*)'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::KmzFile::ReadFile(char const*, std::string*) const'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::KmzFile::ReadKmlAndGetPath(std::string*, std::string*) const'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmldom::SerializePretty(boost::intrusive_ptr<kmldom::Element> const&)'
collect2: error: ld returned 1 exit status
make[1]: *** [GNUmakefile:103: gdalmanage] Error 1
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::Href::Parse(std::string const&)'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::KmzFile::OpenFromString(std::string const&)'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmldom::Parse(std::string const&, std::string*)'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::KmzFile::ReadFile(char const*, std::string*) const'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::KmzFile::ReadKmlAndGetPath(std::string*, std::string*) const'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmldom::SerializePretty(boost::intrusive_ptr<kmldom::Element> const&)'
collect2: error: ld returned 1 exit status
make[1]: *** [GNUmakefile:121: gdalenhance] Error 1
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::Href::Parse(std::string const&)'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::KmzFile::OpenFromString(std::string const&)'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmldom::Parse(std::string const&, std::string*)'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::KmzFile::ReadFile(char const*, std::string*) const'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmlengine::KmzFile::ReadKmlAndGetPath(std::string*, std::string*) const'
/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/libgdal.so: undefined reference to `kmldom::SerializePretty(boost::intrusive_ptr<kmldom::Element> const&)'
collect2: error: ld returned 1 exit status
make[1]: *** [GNUmakefile:85: gdalserver] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-kiki/aur-gdal-filegdb/src/gdal-2.1/apps'
make: *** [GNUmakefile:94: apps-target] Error 2
==> ERROR: A failure occurred in build().
Aborting...

d7rk commented on 2016-09-21 11:30

@saultdon
I didn't pay much attention during compilation. But after a quick test it seems I can import kml files into qgis.
Cheers,

saultdon commented on 2016-09-20 17:30

@d7rk Thanks, you didn't get any errors compiling with those changes against the libkml dependency?

d7rk commented on 2016-09-19 15:09

Hi @saultdon,

Building with --with-fgd=/usr works with the following flag:
export CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0"

See: https://trac.osgeo.org/gdal/ticket/6656

After a very simple test on qgis, the import of .gdb database with ESRI filegdb type works and the edition of layers as well.
Cheers,

d7rk commented on 2016-05-04 10:13

Hi Saultdon,

I cannot build it anymore. I'm getting plenty errors of undefined reference to 'FileGDBAPI' before it finally crashes:
--------------------------------------------------------------------
/home/XXX/tmp/yaourt-tmp-v/aur-gdal-filegdb/src/gdal-2.0/libgdal.so: undefined reference to `FileGDBAPI::Row::GetGUID(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, FileGDBAPI::Guid&) const'
collect2: error: ld returned 1 exit status
GNUmakefile:51: recipe for target 'gdalinfo' failed
make[1]: *** [gdalinfo] Error 1
make[1]: Leaving directory '/home/v/tmp/yaourt-tmp-v/aur-gdal-filegdb/src/gdal-2.0/apps'
GNUmakefile:67: recipe for target 'apps-target' failed
make: *** [apps-target] Error 2
--------------------------------------------------------------------
Would you have any idea?
Thanks!

kikislater commented on 2015-12-03 19:06

Hi,
Thanks for this usefull package
I wrote a quick note to install ecw support with your package :
http://geomatips.blogspot.fr/2015/12/install-gdal-ecw-support-in-archlinux.html

saultdon commented on 2015-07-30 12:56

@d7rk

Awesome, looks like that patch got applied, safe to drop now. I can update the pkgbuild later today =) Thanks for reporting.

d7rk commented on 2015-07-30 09:06

Hello Saultdon,

I cannot build the 2.0 version. I think I'm getting a problem with the second patch (to ogr_perl_2.0.0.diff).
-----------------------------------------------------
==> Starting prepare()...
patching file swig/python/GNUmakefile
Hunk #1 succeeded at 70 (offset -2 lines).
patching file swig/include/perl/ogr_perl.i
Hunk #1 FAILED at 109.
Hunk #2 FAILED at 121.
2 out of 2 hunks FAILED -- saving rejects to file swig/include/perl/ogr_perl.i.rej
==> ERROR: A failure occurred in prepare().
Aborting...
-----------------------------------------------------

Would you by any change have any ideas?
Thanks!

All comments