Hi,

after a quick investigation (no time for going more in depth) it seems that there is some issue in Proj v.6 itself. 

Therion internally generates the following transformation for Benedikt's example:
+proj=pipeline +step +inv +init=epsg:31258 +step +init=epsg:31258 (source and destination CS are the same)

When processed outside of therion using proj's command line utility, you get the same error as given by therion:

$ proj +proj=pipeline +step +inv +init=epsg:31258 +step +init=epsg:31258
Rel. 6.2.0, September 1st, 2019
<proj>:
projection initialization failure
cause: no arguments in initialization list
program abnormally terminated

Currently I have no Proj v.5 environment to test this example, but I guess it would work -- could anybody check it? 

Proj's other utility cs2cs acccepts this init string in version 6.2.0 without any issue, though:

$ cs2cs +init=epsg:31258 +to +init=epsg:31258

@Olly, Wookey: While investigating this issue I noticed that a dependency on libsqlite3-tcl should be added in Debian if Proj library version 6 is used.

M.



On Fri, Sep 13, 2019 at 9:21 PM Olly Betts <olly@survex.com> wrote:
On Fri, Sep 13, 2019 at 05:54:20PM +0200, Benedikt Hallinger wrote:
> therion: error -- PROJ4 library: -1 (no arguments in initialization list)

OK, this fails for me too.  Thanks for reducing that testcase.

I also spotted that therion had been binNMUed (read "rebuilt against the
latest dependencies") so it is actually fully using PROJ 6.1.0.

I'd guess this is probably a general incompatibility with newer PROJ.

Cheers,
    Olly
_______________________________________________
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion