Re: [gdal-dev] How to fix path for gdal .py scripts in Anaconda-Windows?

2022-01-12 Thread Matt.Wilkie
It was something of the sorts. The paths were actually fine, but the "default windows app" is activated when calling a file with a .py extension. So calling ogrmerge.py on the terminal would activate the default app instead of the activated python =/ If you want to manage from the command line

Re: [gdal-dev] How to fix path for gdal .py scripts in Anaconda-Windows?

2022-01-12 Thread Matt.Wilkie
Also see OSGEO4W make-bat-for-py.bat. Old but still works. ;-) ``` for %%g in (*.py) do ( echo @python "%%~dpnxg" %%* > %%~ng.bat ) ``` You should be able to insert settings if needed for environment variables (I didn’t test this particular formul

Re: [gdal-dev] How to fix path for gdal .py scripts in Anaconda-Windows?

2022-01-12 Thread Rafael Lima
That't great, Idan! Thank you, I will look into it to add it to my code. Thanks, Rafael De: Idan Miara Enviado: quarta-feira, 12 de janeiro de 2022 18:26 Para: Rafael Lima Cc: Even Rouault ; gdal dev Assunto: Re: [gdal-dev] How to fix path for gdal .py scripts i

Re: [gdal-dev] Fwd: DOI for the GDAL project / Springer Handbook of Geoinformatics

2022-01-12 Thread Markus Neteler
On Wed, Jan 12, 2022 at 10:06 PM Even Rouault wrote: > > ok, based on the various input, I gave a try at the system. > > - https://github.com/OSGeo/gdal/pull/5101 adds a .zenodo.json file. I've > taken the 16th top committers according to github. If folks want to be > removed or added or have th

Re: [gdal-dev] How to fix path for gdal .py scripts in Anaconda-Windows?

2022-01-12 Thread Idan Miara
Hi, I had the same problem, here's my solution : https://github.com/OSGeo/gdal/blob/master/swig/python/gdal-utils/osgeo_utils/auxiliary/batch_creator.py Idan On Wed, 12 Jan 2022, 23:22 Rafael Lima, wrote: > I thought about uninstalling it to lol > > checking that PYTHONPATH or PYTHONHOME are

Re: [gdal-dev] How to fix path for gdal .py scripts in Anaconda-Windows?

2022-01-12 Thread Rafael Lima
I thought about uninstalling it to lol checking that PYTHONPATH or PYTHONHOME are not defined to an unexpected value will be sufficient It was something of the sorts. The paths were actually fine, but the "default windows app" is activated when calling a file with a .py extension. So calling ogr

Re: [gdal-dev] Fwd: DOI for the GDAL project / Springer Handbook of Geoinformatics

2022-01-12 Thread Even Rouault
ok, based on the various input, I gave a try at the system. - https://github.com/OSGeo/gdal/pull/5101 adds a .zenodo.json file. I've taken the 16th top committers according to github. If folks want to be removed or added or have their information modified (I've looked orcid identifiers quickly

Re: [gdal-dev] How to fix path for gdal .py scripts in Anaconda-Windows?

2022-01-12 Thread Even Rouault
I would have suggested to uninstall the offending proprietary software :-), but perhaps checking that PYTHONPATH or PYTHONHOME are not defined to an unexpected value will be sufficient Le 12/01/2022 à 19:24, Rafael Lima a écrit : ## Expected behavior and actual behavior. I installed gdal on a

Re: [gdal-dev] Fwd: DOI for the GDAL project / Springer Handbook of Geoinformatics

2022-01-12 Thread Daniel Scheffler
Hi! Using Zenodo, registering a DOI is quite simple. Just create a Zenodo account and link the GDAL GitHub repository to it. Zenodo provides you a static DOI to reference the whole project and dynamic DOIs everytime a new version of GDAL is released on GitHub (to reference specific versions w

[gdal-dev] How to fix path for gdal .py scripts in Anaconda-Windows?

2022-01-12 Thread Rafael Lima
## Expected behavior and actual behavior. I installed gdal on a Windows environment using anaconda and tried using one of the .py scripts (e.g., ogrmerge.py). I expected the script to make use of the gdal installed in such an environment, but it seems that the script finds another gdal installa

Re: [gdal-dev] Fwd: DOI for the GDAL project / Springer Handbook of Geoinformatics

2022-01-12 Thread Markus Neteler
Hi, Kurt Schwehr schrieb am Mi., 12. Jan. 2022, 18:18: > I don't see a reason not to, but the question is what to point to. > > The GRASS link points to an RC, which doesn't feel right. > It is autogenerated from the GitHub tag. In the next days there will be the final one (yes, we should filt

Re: [gdal-dev] DOI for the GDAL project / Springer Handbook of Geoinformatics

2022-01-12 Thread David Shean
Hi Even, This seems like a good idea, as there are many academic users who will cite. Not volunteering to take this on, but setting up a DOI is relatively easy with Zenodo and Github integration: https://docs.github.com/en/repositories/archiving-a-github-repository/referencing-and-citing-content

Re: [gdal-dev] Fwd: DOI for the GDAL project / Springer Handbook of Geoinformatics

2022-01-12 Thread Alan Snow
Helpful reference: https://docs.github.com/en/repositories/archiving-a-github-repository/referencing-and-citing-content On Wed, Jan 12, 2022, 10:56 AM Even Rouault wrote: > Hi, > see below. Do we want to do that ? I'm not seeing any obvious > disadvantage, but I've never worked with DOI before.

Re: [gdal-dev] Fwd: DOI for the GDAL project / Springer Handbook of Geoinformatics

2022-01-12 Thread Kurt Schwehr
I don't see a reason not to, but the question is what to point to. The GRASS link points to an RC, which doesn't feel right. It appears that we'd be wanting to do a new doi for each release. Is that really what the community wants? Does Zenodo want to be storing a tar for each release for all ti

[gdal-dev] Fwd: DOI for the GDAL project / Springer Handbook of Geoinformatics

2022-01-12 Thread Even Rouault
Hi, see below. Do we want to do that ? I'm not seeing any obvious disadvantage, but I've never worked with DOI before. If so, anyone who want to take the lead on that ? Even Message transféré Sujet : DOI for the GDAL project / Springer Handbook of Geoinformatics Dat

Re: [gdal-dev] Build GDAL for RedHat 7.9 with python bindings and non-default drivers

2022-01-12 Thread Markus Neteler
Hi Roman, On Wed, Jan 12, 2022 at 1:42 PM Roman Breitfuss-Schiffer wrote: > > Hi Markus! > > Thanks for your detailed information! > > I was trying to download the RPMs > https://copr.fedorainfracloud.org/coprs/neteler/GDAL/ on a CentOS 7 > distribution with the given installation instruction (su

Re: [gdal-dev] Build GDAL for RedHat 7.9 with python bindings and non-default drivers

2022-01-12 Thread Roman Breitfuss-Schiffer
Hi Markus! Thanks for your detailed information! I was trying to download the RPMs https://copr.fedorainfracloud.org/coprs/neteler/GDAL/ on a CentOS 7 distribution with the given installation instruction (sudo wget -O /etc/yum.repos.d/gdal-copr.repo https://copr.fedoraproject.org/coprs/netel