-
Notifications
You must be signed in to change notification settings - Fork 38
GDAL, GEOS and PROJ versions #20
Comments
Thanks for the ping, great question! So when So, it probably makes sense to build these from source with specific versions. That should keep the Dockerfiles reproducible while giving us the more recent versions (we had to do this on Would you be interested in sending a PR adding these? @edzer's ubuntu-based recipe should probably work out of the box. I think that would make a lot of sense and provide a good model going forward, so we could bump the versions more frequently (e.g. with the R minor releases). timing could be good if we do this now we could include it on the R-3.5.3 images (starting tomorrow!) |
@Robinlovelace I put the build-from-source recipes for Proj 6.0.0, GEOS 3.7.0, and GDAL 2.4.0 onto the devel Dockerfile; provided DockerHub doesn't time out with all that compiling it should be built as Looks like @edzer still has GDAL at 2.4 instead of 2.5 in his recipe; and maybe the R package isn't ready for 2.5 yet anyway? Note that the above recipe is building from current CRAN version of R packages (via snapshot) and not the GitHub version of |
FYI: GDAL 2.5 hasn't been released yet, and will require larger changes from both rgdal and sf. Dev versions of sf, lwgeom and rgdal now all compile against GDAL 2.4 with PROJ 6. |
Thanks @edzer , that's just what I needed. So once the dev versions of Any opinions on GEOS version? Looks like |
GEOS updates should be fine, nothing drastic coming up. |
Aha, I didn't check for a dev branch, great to see it has one. That pretty much answers my question, and will probably be useful for testing. I would say that yes it would be useful for R packages to be at least the latest CRAN versions in the rocker images Just tested what I think was the
I'm not 100% sure I was using the image represented by that DOCKERFILE you linked to, but will be great to have a more bleeding-edge geospatial image, especially now the main geospatial image is pinned to a MRAN release and therefore (seemingly in my experience) ultra stable although not always up-to-date. |
@Robinlovelace Sorry, just a few clarifications: Yes, yeah, Note that the |
Many thanks for all the clarifications Carl. One follow-on question: how do you unpin MRAN? I had a brief look online and couldn't find a way to do that. All the rest makes sense and I realise that the I've got the clarifications I was after, and the plan to update GEOS (and PROJ/GDAL) when they are supported on CRAN versions sounds good to me. |
Just do Probably want to add that to your Thanks again for highlighting this thread, and hopefully we'll see the dev versions hit CRAN so we can bump proj up, and then can bump things again once GEOS 2.5 is released and the packages support it. |
Hey all - really great work with these images and packages. I'm hoping to use the "nearest" functionality in |
@colman-humphrey correct, but meantime did you try |
Hey @cboettig thanks - went ahead and commented out the |
Looks like there's commits recently on Could really use the GeoJSONSeq driver introduced in GDAL 2.4 in a production environment. |
Thanks for the message. Yup, for new R release, 3.6.2, we'll be on |
So fast to answer-- thanks! I'll keep my eye out for it. |
@josiekre just a note that |
Thanks @cboettig. I pulled it down the other day and am testing. Does the tagged version ( |
Should be CRAN also (latest is just an alias for the most recent tag, 3.6.2)
On Thu, Jan 2, 2020 at 8:12 PM Josie Kressner ***@***.***> wrote:
Thanks @cboettig <https://github.com/cboettig>. I pulled it down the
other day and am testing. Does the tagged version (3.6.2) point to a MRAN
instead of CRAN? Or does it also install by default from CRAN?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#20?email_source=notifications&email_token=AABWK6XORSBR36AQ45AYBKTQ323LHA5CNFSM4G444DH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIAHNQA#issuecomment-570455744>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABWK6VRYWVYSU4MIH3WURDQ323LHANCNFSM4G444DHQ>
.
--
---
Carl Boettiger
http://carlboettiger.info/
|
Very happy about this change. We should update the geocompr docker images in response to this. Heads-up @Nowosad I'm up for giving this a bash next week but happy if you get there first (know you've done a load of dockery things of late in support of efforts to adapt to new versions of GDAL, PROJ and GEOS). |
Darn it-- that actually is bad for reproducible docker containers over time with fixed library versions no matter when you build it. We can't have a production environment depending on a link to CRAN. I'm sure there is as a way to change this in a Dockerfile built from 3.6.2. Suggestions? |
@josiekre Note that prior to the change, the MRAN date was being updated to the build date each night when the image was rebuilt (which also occurred automatically on the hub), so the image didn't really end up version stable until the next release (since we have always opted to pin MRAN date to the last day that the image is current, rather than the first day, as that better matches CRAN's rolling releases model for a user who keeps their system up to date). Once the next version of R is released, 3.6.2 will be frozen (just as before). Or use 3.6.1 which is already frozen. (but until the next release comes out, pointing at However, if you're building the images locally you can still always set the default repo to MRAN, overriding the |
This isn't a bug per se, but a question: are there any plans for updating the GDAL and PROJ versions shipped in rocker/geospatial? Both are evolving, as outlined here: r-spatial/sf#988
I think documentation on this may also be useful. One resource that I've found useful, that may be of use/interest for updating GDAL versions, is this (although it builds on Ubuntu not Debian, should be similar): https://github.com/GeographicaGS/Docker-GDAL2
The text was updated successfully, but these errors were encountered: