Skip to content
This repository has been archived by the owner on Oct 18, 2019. It is now read-only.

Provide MacOS brew instructions for building compatible GDAL. #61

Open
metasim opened this issue Mar 29, 2019 · 5 comments
Open

Provide MacOS brew instructions for building compatible GDAL. #61

metasim opened this issue Mar 29, 2019 · 5 comments

Comments

@metasim
Copy link

metasim commented Mar 29, 2019

Linux would be fine too, but MacOS is current need.

@pomadchin
Copy link
Member

https://github.com/OSGeo/homebrew-osgeo4mac/blob/master/Formula/osgeo-gdal.rb

I think just with all is good. I used smth like:

brew install osgeo/osgeo4mac/gdal2 --with-java --with-libkml --with-mdb --with-mysql --with-opencl --with-postgresql

But they changed everything like 18hrs ago.

@metasim
Copy link
Author

metasim commented Mar 29, 2019

Yeh, they might have broken it:

Error: invalid option: --with-java

@metasim
Copy link
Author

metasim commented Mar 29, 2019

This:

brew install osgeo/osgeo4mac/osgeo-gdal

(no options!)

Installs something that looks correct:

$  /usr/local/opt/osgeo-gdal/bin/gdalinfo --formats | grep JP
  JPEG -raster- (rwv): JPEG JFIF
  JP2OpenJPEG -raster,vector- (rwv): JPEG-2000 driver based on OpenJPEG library
  JPEG2000 -raster,vector- (rwv): JPEG-2000 part 1 (ISO/IEC 15444-1), based on Jasper library

@metasim
Copy link
Author

metasim commented Mar 29, 2019

@pomadchin Do you want a PR that adds this to the README?

@pomadchin
Copy link
Member

@metasim yes, please! it will be very helpful

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants