<div dir="ltr"><div dir="ltr"><div>On Mon, 18 Nov 2024 at 23:20, Even Rouault via gdal-dev <<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>> wrote:<br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><br>
Le 19/11/2024 à 00:15, Scott via gdal-dev a écrit :<br>
> Question,<br>
><br>
> Is there any plan to incorporate the python utilities, such as, <br>
> gdal_calc?<br>
<br>
Cf <br>
<a href="https://gdal--11216.org.readthedocs.build/en/11216/development/rfc/rfc104_gdal_cli.html#out-of-scope" rel="noreferrer" target="_blank">https://gdal--11216.org.readthedocs.build/en/11216/development/rfc/rfc104_gdal_cli.html#out-of-scope</a> <br>
: "This RFC only addresses existing C++ utilities. Python utilities that <br>
would be migrated in the future as C++ utilities should follow this <br>
RFC.". Agreed that would be nice (and the ongoing work in <br>
<a href="https://github.com/OSGeo/gdal/pull/11209" rel="noreferrer" target="_blank">https://github.com/OSGeo/gdal/pull/11209</a> could be a foundational basis <br>
for a C++ "gdal raster calc" mode), but there's a "bit" of work to do <br>
before coming to that point.<br></blockquote><div><br></div>Is it worth reserving space for a future Git or Github-cli style plugin mechanism where third party tools can extend the `gdal` CLI? eg: `gdal raster from-contours`<div><ul><li>`git foo` simply looks for internal code first, then executes `git-foo` if it's present, then expands any configured command aliases<br></li><li>Github cli has an explicit extension install/packaging mechanism: <a href="https://docs.github.com/en/github-cli/github-cli/creating-github-cli-extensions">https://docs.github.com/en/github-cli/github-cli/creating-github-cli-extensions</a><br></li></ul></div><div>Rob :)<br></div></div></div>