Package Details: gdal-grass 2.1.0-1

Git Clone URL: https://aur.archlinux.org/gdal-grass.git (read-only)
Package Base: gdal-grass
Description: GRASS raster and vector format support for GDAL 2.1.x.
Upstream URL: http://www.gdal.org
Licenses: X11/MIT
Submitter: czk
Maintainer: czk
Last Packager: czk
Votes: 0
Popularity: 0.000000
First Submitted: 2016-04-08 14:35
Last Updated: 2016-06-06 11:20

Dependencies (2)

Required by (0)

Sources (1)

Pinned Comments

czk commented on 2016-04-13 15:05

@all

In case you wondered, you can fetch the `grass7' PKGBUILD that `gdal-grass' depends on from my GitLab place - https://gitlab.com/tutturu/grass7_pkgbuild.

I'm not allowed to upload `grass7' to AUR, because it was rated not different enough from `grass'. Anyway, it's different enough to make a difference in practice ;).

Latest Comments

czk commented on 2016-06-08 08:35

@dickoa
> I think that you need to build gdal without grass support

GDAL in Arch repository comes without GRASS support. There's no need to rebuild it before building gdal-grass. See this:

Before installing gdal-grass:

$ gdalinfo --formats | grep -i grass
GRASSASCIIGrid -raster- (rov): GRASS ASCII Grid
$ ogrinfo --formats | grep -i grass
(no output)

After installing gdal-grass:

$ gdalinfo --formats | grep -i grass
GRASS -raster- (ro): GRASS Rasters (5.7+)
GRASSASCIIGrid -raster- (rov): GRASS ASCII Grid
$ ogrinfo --formats | grep -i grass
OGR_GRASS -vector- (ro): GRASS Vectors (5.7+)

Or did you mean something else?

You are correct about the extra `/' in --prefix. I'll remove it in a next release. It doesn't do any harm though - GNU/Linux doesn't mind double leading slash `//' in a path. It treats it identical to a single leading slash `/'.

dickoa commented on 2016-06-07 20:57

Nice work but to make it work, I think that you need to build gdal without grass support according to https://grasswiki.osgeo.org/wiki/Compile_and_install_GDAL-GRASS_plugin

On line 20 of your PKGBUILD you have:
--prefix=/${pkgdir}/usr

I am not sure but I think that it should be replaced by (without "/" at the beginning):
--prefix=${pkgdir}/usr

Thanks again


czk commented on 2016-04-13 15:05

@all

In case you wondered, you can fetch the `grass7' PKGBUILD that `gdal-grass' depends on from my GitLab place - https://gitlab.com/tutturu/grass7_pkgbuild.

I'm not allowed to upload `grass7' to AUR, because it was rated not different enough from `grass'. Anyway, it's different enough to make a difference in practice ;).