Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update osgeo-gdal.rb #1089

Merged
merged 3 commits into from
Apr 9, 2019
Merged

Update osgeo-gdal.rb #1089

merged 3 commits into from
Apr 9, 2019

Conversation

fjperini
Copy link
Collaborator

@fjperini fjperini commented Apr 9, 2019

Solution for the problem reported in #1087 #1085 #1086

@@ -142,7 +142,7 @@ def configure_args
"--with-qhull=internal",
"--with-libz=#{Formula["libzip"].opt_prefix}",
"--with-png=#{Formula["libpng"].opt_prefix}",
"--with-libtiff=#{Formula["libtiff"].opt_prefix}",
"--with-libtiff=internal", # #{Formula["libtiff"].opt_prefix}
"--with-geotiff=#{Formula["osgeo-libgeotiff"].opt_prefix}",
Copy link
Contributor

Choose a reason for hiding this comment

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

@fjperini I've tried similar thing yesterday but then I had problem with TiffTags. Using external libgeotiff and internal libtiff might create some side effects

Copy link
Collaborator Author

@fjperini fjperini Apr 9, 2019

Choose a reason for hiding this comment

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

@vincentsarago can you report the problems? suggestions?

Copy link
Contributor

Choose a reason for hiding this comment

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

Well basically with this configuration I couldn't read any GeoTIFF thus I removed --with-geotiff and it seemed to fix it

Copy link
Contributor

Choose a reason for hiding this comment

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

I guess it's better to use both libtiff and libgeotiff shipped with GDAL to avoid conflict

Copy link
Contributor

Choose a reason for hiding this comment

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

maybe @palmerj could validate this

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes, maybe we need to use "internal" in both.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks both. I've not had any issues using external geotiff and internal libtiff, but I haven't done wide testing. Seem logical to use internal for both.

@vincentsarago
Copy link
Contributor

@fjperini another comment not related but could we remove jasper ? Because we ship gdal with openjpeg I don't think we need jasper to read jpeg2000 files.
I'll need to check but I though jasper driver will be found first before OpenJPEG thus you need to add GDAL_SKIP="Jasper" to force GDAL to use OpenJPEG.

@fjperini
Copy link
Collaborator Author

fjperini commented Apr 9, 2019

@vincentsarago will disable jasper

@fjperini
Copy link
Collaborator Author

fjperini commented Apr 9, 2019

proj5 #1090

@vincentsarago
Copy link
Contributor

vincentsarago commented Apr 9, 2019

👏 thanks for the changes @fjperini

@fjperini
Copy link
Collaborator Author

fjperini commented Apr 9, 2019

I will merge this

@fjperini fjperini merged commit df0f711 into OSGeo:master Apr 9, 2019
@palmerj
Copy link
Contributor

palmerj commented Apr 9, 2019

Thank you very much

@fjperini fjperini deleted the gdal branch April 26, 2019 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants