Skip to content

Add MDB driver support to GDAL#8614

Merged
adamjstewart merged 1 commit intospack:developfrom
adamjstewart:packages/gdal-mdb
Aug 29, 2018
Merged

Add MDB driver support to GDAL#8614
adamjstewart merged 1 commit intospack:developfrom
adamjstewart:packages/gdal-mdb

Conversation

@adamjstewart
Copy link
Copy Markdown
Member

I had an old Microsoft Access Database file that I wanted to use, but QGIS doesn't support .mdb files. Apparently ArcGIS does, but ArcGIS doesn't support macOS/Linux. This driver allowed me to use ogr2ogr to convert it to a shapefile.

GDAL also supports MDB Tools for this purpose, but it sounds like MDB Tools has been unmaintained for quite some time.

Depends on #8613.

@michaelkuhn @neilflood @citibeth may be interested in this.

depends_on('kealib', when='+kea @2:')
depends_on('netcdf', when='+netcdf')
depends_on('[email protected]', patches=patch('uuid.patch'), when='+jasper')
depends_on('[email protected]', patches='uuid.patch', when='+jasper')
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from spack import *


class CommonsLang3(Package):
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this should be a separate package from commons-lang. From the homepage:

Note that Lang 3.0 (and subsequent versions) use a different package (org.apache.commons.lang3) than the previous versions (org.apache.commons.lang), allowing it to be used at the same time as an earlier version.

@adamjstewart
Copy link
Copy Markdown
Member Author

P.S. Many of these packages can be built from source, and may run faster when compiled natively as opposed to using bytecode. For now, as discussed in #4386, simply copying the .jar file to the installation directory is probably sufficient. I don't know enough about Java, but we could probably have separate classes for AntPackage, MavenPackage, and GradlePackage.

@adamjstewart adamjstewart mentioned this pull request Jul 4, 2018
6 tasks
@adamjstewart adamjstewart mentioned this pull request Aug 24, 2018
@adamjstewart adamjstewart merged commit 1383834 into spack:develop Aug 29, 2018
ptbremer pushed a commit to ptbremer/spack that referenced this pull request Aug 31, 2018
anderson2981 pushed a commit to anderson2981/spack that referenced this pull request Sep 7, 2018
ptbremer pushed a commit to ptbremer/spack that referenced this pull request Oct 12, 2018
@adamjstewart adamjstewart deleted the packages/gdal-mdb branch October 20, 2019 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant