[Therion] New default settings and recent proj changes

Martin Budaj m.budaj at gmail.com
Wed Apr 27 22:31:58 CEST 2022


Hi, it should be in C:\Users\<username>\AppData\Local\proj

See also https://proj.org/resource_files.html#user-writable-directory

Implementing delete/redownload would be problematic (but proj is smart
enough to download again if the remote grid file gets updated;)

M.


On Wed, Apr 27, 2022, 21:33 Bruce Mutton <bruce at tomo.co.nz> wrote:

> Hi Martin
> eaec752 looks like it should provide clarity.
> I would like to be able to compile a dataset that activates this code (for
> curiosity and maybe user testing), but it seems now that 'my therion' has
> downloaded the transformation grid once, it resides somewhere on my machine
> (I cannot manually find it though).  It seems like it has downloaded the
> entire NZTM grid (as the documentation says it would) and so any locally
> compiled cave dataset no longer needs to download the grid (which in the
> normal course of events is good).  I have compiled therion datasets for
> caves in other parts of the world, but none have triggered this code.  I
> presume the grids they use are already built-in by default.
>
> So for the sake of curiosity, is it possible to get Therion to delete an
> existing (previously downloaded) grid and so subsequently trigger the need
> to download it and test the eaec752 change?  Will using cs-def to set a
> null
> string for NZTM force it to be downloaded again? Or will it cause
> proj-missing-grid to behave as though it is set to ignore (even if download
> is specified)?  Asking before trying it in case I end up breaking something
> that is hard to fix!
>
> Bruce
>
> -----Original Message-----
> From: Therion <therion-bounces at speleo.sk> On Behalf Of Martin Budaj
> Sent: Wednesday, 27 April 2022 18:23
> To: List for Therion users <therion at speleo.sk>
> Subject: Re: [Therion] New default settings and recent proj changes
>
> Good idea! The latest commit provides additional information about
> downloads
> now. Caching is more tricky: we just enable it and Proj then downloads just
> small parts of grids relevant to your area and stores them in its database
> without letting you know what exactly got downloaded.
>
> Martin
>
> On Tue, Apr 26, 2022 at 9:43 PM Bruce Mutton <bruce at tomo.co.nz> wrote:
> >
> > Thanks Martin
> ...
> > A suggestion below.
> >
> > therion 6.0.6+14fac78 (2022-04-26)
> >
> >   - using Proj 9.0.0, compiled against 9.0.0
> > initialization file: C:\Program Files (x86)\Therion/therion.ini
> > reading ... done
> > configuration file: thconfig-GLMESM_System5000Map.thc
> > reading ... done
> > reading source files ... downloading the grid
> > https://cdn.proj.org/nz_linz_nzgd2kgrid0005.tif... done
> > saved/cached grid file: C:\path\ nz_linz_nzgd2kgrid0005.tif
> > done
> >
> > Bruce
>
>
>
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> https://mailman.speleo.sk/listinfo/therion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20220427/c6ce154f/attachment.htm>


More information about the Therion mailing list