Yes it is. Something like:

PROJ_DATA=/path/to/custom.file;/path/to/proj.db

Regards.

--
Luís Moreira de Sousa

Sent from Proton Mail mobile

-------- Original Message --------
On 31 Jan 2024, 01:36, Mladen Mijatovic via PROJ wrote:

> Yes, I am thinking about the location on the hard drive, on a local machine 
> where the app is running.
>
> Is it mandatory to place db file there too? I would like to keep them 
> separtely, not to allow user to mess with the db and ini files.
>
> On Wed, Jan 31, 2024, 00:18 Javier Jimenez Shaw <[email protected]> wrote:
>
>> Do you mean a custom location in your hard drive?
>> Then using PROJ_DATA environment variable is an easy solution. See that is 
>> like a "PATH", separating folders with ":" or ";" depending on your OS, and 
>> it should include also the folder that contains "proj.db".
>>
>> On Tue, 30 Jan 2024 at 19:15, Mladen Mijatovic via PROJ 
>> <[email protected]> wrote:
>>
>>> Dear all,
>>>
>>> My application is using proj 9.3.1. I would like to enable the user to set 
>>> a custom location for his own grid files used for horizontal 
>>> transformations. Is there a way to make proj using a custom location for 
>>> search of these files?
>>>
>>> Best regards,
>>> Mladen.
>>> _______________________________________________
>>> PROJ mailing list
>>> [email protected]
>>> https://lists.osgeo.org/mailman/listinfo/proj
_______________________________________________
PROJ mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/proj

Reply via email to