Package Details: gdal-hdf4 3.0.4-9.0

Git Clone URL: https://aur.archlinux.org/gdal-hdf4.git (read-only, click to copy)
Package Base: gdal-hdf4
Description: A translator library for raster geospatial data formats, with support to HDF4 format (required to use MODIStsp tool). Based on gdal ArchLinux package version.
Upstream URL: http://www.gdal.org/
Licenses: custom
Conflicts: gdal
Provides: gdal
Submitter: ggranga
Maintainer: ggranga
Last Packager: ggranga
Votes: 3
Popularity: 0.000000
First Submitted: 2016-04-26 14:23
Last Updated: 2020-06-12 05:13

Required by (101)

Sources (2)

Latest Comments

1 2 Next › Last »

olivervbk commented on 2020-10-08 20:01

I fixed the jpeg2000dataset.cpp issue here: https://aur.archlinux.org/cgit/aur.git/tree/jpeg2000-issue-vendor.patch?h=gdal-ecw

based on https://github.com/OSGeo/gdal/issues/2844

tested on: https://aur.archlinux.org/packages/gdal-ecw

marcocurreli commented on 2020-09-16 22:54

I have this error: jpeg2000dataset.cpp:611:46: error: invalid conversion from ‘const char’ to ‘char’ [-fpermissive]

ggranga commented on 2020-06-12 05:16

"gdal-hdf4" is based on "gdal" ArchLinux package, NOT on GDAL source code. Please DO NOT mark this package as out-of-date if it is not outdated with respect of "gdal" Archlinux package.

ggranga commented on 2020-02-04 07:56

@RonnyD I simply edit the PKGBUILD of package "gdal" in order to include the support to HDF4 format; any other problems should be issued to that package.

RonnyD commented on 2020-01-27 16:56

I have problems compiling the package. Perhaps it is necessary to update the java dependencies?

checking for gcj... no
checking for guavac... no
checking for jikes... no
checking for javac... no
configure: error: no acceptable Java compiler found in $PATH
==> ERROR: A failure occurred in build().

joeroe commented on 2019-12-06 14:56

@ggranga It did, thank you!

ggranga commented on 2019-12-06 12:08

@joeroe the last package update should have fixed that error.

joeroe commented on 2019-12-06 08:12

The current version fails to build for me with this error:

make -C pdf install-obj
make[2]: Entering directory '/home/joeroe/.cache/yay/gdal-hdf4/src/gdal-3.0.0/frmts/pdf'
/bin/sh /home/joeroe/.cache/yay/gdal-hdf4/src/gdal-3.0.0/libtool --mode=compile --silent --tag=CXX g++ -I/home/joeroe/.cache/yay/gdal-hdf4/src/gdal-3.0.0/port -I/home/joeroe/.cache/yay/gdal-hdf4/src/gdal-3.0.0/gcore -I/home/joeroe/.cache/yay/gdal-hdf4/src/gdal-3.0.0/alg -I/home/joeroe/.cache/yay/gdal-hdf4/src/gdal-3.0.0/ogr -I/home/joeroe/.cache/yay/gdal-hdf4/src/gdal-3.0.0/ogr/ogrsf_frmts -I/home/joeroe/.cache/yay/gdal-hdf4/src/gdal-3.0.0/gnm -I/home/joeroe/.cache/yay/gdal-hdf4/src/gdal-3.0.0/apps -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -march=x86-64 -mtune=generic -O2 -pipe -fno-plt  -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Werror=vla -Wdate-time -Wnull-dereference -Wduplicated-cond -Wextra-semi -Wfloat-conversion -Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -Wzero-as-null-pointer-constant -Wsuggest-override -Wimplicit-fallthrough  -I../vrt -I../mem -I../../ogr/ogrsf_frmts/mem -DGNM_ENABLED -D_FORTIFY_SOURCE=2 -I/home/joeroe/.cache/yay/gdal-hdf4/src/gdal-3.0.0/port -I/usr/include/openjpeg-2.3  -I/usr/include  -DGDAL_COMPILATION -DHAVE_XERCES -I/usr/include -I/usr/include/xercesc -D_FORTIFY_SOURCE=2 -I/home/joeroe/.cache/yay/gdal-hdf4/src/gdal-3.0.0/port -I/usr/include/openjpeg-2.3  -I/usr/include  -DGDAL_COMPILATION -DHAVE_POPPLER -DPOPPLER_MAJOR_VERSION=0 -DPOPPLER_MINOR_VERSION=82 -I/usr/include -I/usr/include/poppler   -DDO_NOT_USE_DEBUG_BOOL -c -o ../o/pdfdataset.lo pdfdataset.cpp
pdfdataset.cpp:205:22: error: ‘virtual void GDALPDFOutputDev::drawChar(GfxState*, double, double, double, double, double, double, CharCode, int, Unicode*, int)’ marked ‘override’, but does not override
  205 |         virtual void drawChar(GfxState *state, double x, double y,
      |                      ^~~~~~~~
pdfdataset.cpp:266:22: error: ‘virtual void GDALPDFOutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, int*, bool)’ marked ‘override’, but does not override
  266 |         virtual void drawImage(GfxState *state, Object *ref, Stream *str,
      |                      ^~~~~~~~~
pdfdataset.cpp:205:22: warning:   by ‘virtual void GDALPDFOutputDev::drawChar(GfxState*, double, double, double, double, double, double, CharCode, int, Unicode*, int)’ [-Woverloaded-virtual]
  205 |         virtual void drawChar(GfxState *state, double x, double y,
      |                      ^~~~~~~~
pdfdataset.cpp:266:22: warning:   by ‘virtual void GDALPDFOutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, int*, bool)’ [-Woverloaded-virtual]
  266 |         virtual void drawImage(GfxState *state, Object *ref, Stream *str,
      |                      ^~~~~~~~~
make[2]: *** [../../GDALmake.opt:637: ../o/pdfdataset.lo] Error 1
make[2]: Leaving directory '/home/joeroe/.cache/yay/gdal-hdf4/src/gdal-3.0.0/frmts/pdf'
make[1]: *** [GNUmakefile:15: pdf-install-obj] Error 2
make[1]: Leaving directory '/home/joeroe/.cache/yay/gdal-hdf4/src/gdal-3.0.0/frmts'
make: *** [GNUmakefile:103: frmts-target] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
Error making: gdal-hdf4

ggranga commented on 2019-08-18 12:37

@komzpa, this package is kept updated basing not on OSGeo but on community/gdal, whose version is 3.0.0.

ggranga commented on 2019-02-03 07:06

@Kunda, this package is kept updated basing on community/gdal, whose version is 2.3.2.