[gdal-dev] Abou R sf library and GDAL

Abel Pau a.pau at creaf.cat
Mon Oct 28 14:36:01 PDT 2024


Hi Michael,
Thank you for your response.
I am working on a Windows 10 or 11 system (though I believe this detail is not particularly relevant). I am looking for the simplest method to install GDAL, as RStudio requires it as a dependency for the "sf" package.
The question arises from a plain user (not developer) who works with R (I still need to confirm if they are using RStudio specifically) and wants to read MiraMon vector files directly, then save them back in the same format.
Since this driver was added recently, I would like to understand how R users can employ "sf" to work with this format. Any guidance on making this setup accessible within the R environment would be greatly appreciated.
Thanks a lot.

De: Michael Sumner <mdsumner at gmail.com>
Enviado el: dilluns, 28 d’octubre de 2024 20:45
Para: Abel Pau <a.pau at creaf.cat>
CC: Even Rouault <even.rouault at spatialys.com>; gdal-dev at lists.osgeo.org
Asunto: Re: [gdal-dev] Abou R sf library and GDAL


It's not RStudio or sf specific though, I think it's worth asking here because there are many many R packages using GDAL and they essentially share the same simple installation, after the GDAL version choice has been made. What really matters is your operating system and the method you have available for installing GDAL itself. On windows and macos you get the versions built by CRAN itself, on Linux you get the version supported by your distro.

sf repo isn't a general place to get support so I wouldn't encourage asking there, I'm happy to help point to options if you share details of your compute setup

Cheers, Mike

On Tue, 29 Oct 2024, 03:16 Abel Pau via gdal-dev, <gdal-dev at lists.osgeo.org<mailto:gdal-dev at lists.osgeo.org>> wrote:
Ok Even. Thanks for the answer.

I’ll ask there!

De: Even Rouault <even.rouault at spatialys.com<mailto:even.rouault at spatialys.com>>
Enviado el: dilluns, 28 d’octubre de 2024 17:12
Para: Abel Pau <a.pau at creaf.cat<mailto:a.pau at creaf.cat>>; gdal-dev at lists.osgeo.org<mailto:gdal-dev at lists.osgeo.org>
Asunto: Re: [gdal-dev] Abou R sf library and GDAL


Abel,

That would probably be more a topic for https://github.com/r-spatial/sf/discussions or other "sf" related channels

Even
Le 28/10/2024 à 16:53, Abel Pau via gdal-dev a écrit :
Good afternoon,

Lately, we have been trying to use RStudio to work with files supported by the GDAL libraries. The latest version of the "sf" library is from 2022-23 (version 18), and we’re unsure if it updates frequently or if it needs to be manually compiled. We would be interested in having one of the more recent versions from the last few months (such as 3.9 or 3.10, for example).

Could you please explain a bit, if you know, the method for updating GDAL within RStudio (or other R softwares)?

Thank you very much.

Abel Pau Garcia
[https://www.creaf.cat/sites/default/files/logo-creaf-small.jpg]<https://www.creaf.cat/>
GIS developer
a.pau at creaf.uab.cat <mailto:a.pau at creaf.uab.cat>
[https://www.creaf.cat/sites/default/files/cap_0.png]
Let's chat on Teams! <https://teams.microsoft.com/l/chat/0/0?users=a.pau@creaf.uab.cat>
Tel. +34 934814277
[https://www.creaf.cat/sites/default/files/x_30.png]<https://twitter.com/CREAF_ecologia>[https://www.creaf.cat/sites/default/files/linkedin_30.png]<https://www.linkedin.com/company/creaf/>[https://www.creaf.cat/sites/default/files/youtube_30.png]<https://www.youtube.com/c/creafecologia>[https://www.creaf.cat/sites/default/files/instagram_30.png]<https://www.instagram.com/CREAF_ecologia/>
www.creaf.cat <http://www.creaf.cat> | http://blog.creaf.cat
CREAF. Campus UAB. Edifici C. 08193 Bellaterra (Barcelona) <https://www.openstreetmap.org/way/123379060>

Política de privacitat <https://www.creaf.cat/ca/politica-de-privacitat>
[https://www.creaf.cat/sites/default/files/corner_right_0.png]
Abans d'imprimir aquest missatge electrònic penseu en el medi ambient.




_______________________________________________

gdal-dev mailing list

gdal-dev at lists.osgeo.org<mailto:gdal-dev at lists.osgeo.org>

https://lists.osgeo.org/mailman/listinfo/gdal-dev

--

http://www.spatialys.com

My software is free, but my time generally not.

Butcher of all kinds of standards, open or closed formats. At the end, this is just about bytes.
_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org<mailto:gdal-dev at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/gdal-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20241028/2aeabab9/attachment-0001.htm>


More information about the gdal-dev mailing list