Re: [Therion] symbol-hide doesn't work

2020-06-30 Thread Tarquin Wilton-Jones via Therion
Your problem is the order of your statements:

layout local
symbol-hide group centerline
symbol-set UIS

These directives are processed in order, so if the second one overrides
the symbol hiding, it will win. "symbol-set UIS" includes centreline
symbols defined as a line. It is defined second, so it overrides the
line before it. You need to swap the lines around:

layout local
symbol-set UIS #overall symbol set
symbol-hide group centerline #override specifics

In the same way, your .thconfig file's "layout local" says "copy
LayoutScalebar1".
I guess that is defined in:
F:\Omri\Therion\Layout\StdFiles\LayoutStandards.thc

You did not share that file, so I cannot be certain if it also could
cause problems. You copy that layout *after* you set the symbol-hide. If
LayoutScalebar1 overrides the symbol hiding, it will win. This is risky:

layout local
symbol-hide group centerline
...
copy LayoutScalebar1

This is better:

layout local
copy LayoutScalebar1
symbol-hide group centerline

This is probably not causing problems in your particular case, but this
is why I always do my "copy" statements first, then the local layout
settings afterwards, so I never bump into this kind of hidden problem.

Hope this helps.

Tarquin
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] symbol-hide doesn't work

2020-06-30 Thread עמרי גסטר
I have a lot of other projects that it worked fine with same config file.
I can't understand why...

On Tue, Jun 30, 2020, 4:03 PM Martin Sluka via Therion 
wrote:

> Hi,
>
> I tried another sample I have and symbol-hide group centerline works as
> assumed.
>
> I tried to change symbol-set, but in your example it doesn’t work
> persistently.
>
> Martin
>
> > 29. 6. 2020 v 21:05, ⁨עמרי גסטר⁩ <⁨omri...@gmail.com⁩>:
> >
> > Hi everyone,
> >
> > Recently the symbol-hide command doesn't work and I can't export a map
> without centerline/stations.
> >
> > In the past I didn't have that problem.
> > What am I doing wrong?
> >
> > config, th & th2 file are added
> >
> > Omri
> >
> ___
> > Therion mailing list
> > Therion@speleo.sk
> > https://mailman.speleo.sk/listinfo/therion
>
> ___
> Therion mailing list
> Therion@speleo.sk
> https://mailman.speleo.sk/listinfo/therion
>
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] epsg:3794 - PROJ4 library: -1 (no arguments in initialization list)

2020-06-30 Thread Rhys Tyers
Sorry for the spam but I have solved this issue. I probably messed up my
libproj install somehow so just a reinstall allowed me to build Therion.

sudo apt --purge remove libproj-dev
sudo apt install  libproj-dev

I also had to install libwxgtk3.0-gtk3-dev instead of libwxgtk3.0-dev
mentioned in the docs, so perhaps that package name has changed in Ubuntu
20.04 (unrelated to my issue though).

Latest Therion builds the config file. All is well.

On Tue, 30 Jun 2020 at 14:45, Rhys Tyers  wrote:

> I have foolishly lost the version number in an attempt to update, but it
> was built from source at the end of January :D
>
> If I install the version from the Ubuntu package manager then it is old
> and does not support `language: sl`. If I try building an up to date
> version from source I get the following error when running `make`:
>
> utest-proj.cxx:78: FAILED:
>   CHECK( (epsg_labels.count(32634) > 0 && strcmp(epsg_labels[32634],"WGS
> 84 / UTM zone 34N") == 0) )
> with expansion:
>   false
>
>
> ===
> test cases: 18 | 17 passed | 1 failed
> assertions: 44 | 43 passed | 1 failed
>
> Which also looks like something has gone wrong with my proj version
> somehow?
>
> On Mon, 29 Jun 2020 at 22:46, Benedikt Hallinger 
> wrote:
>
>> Hi there, we had a similar error a while ago.
>> Reason was that proj lib was upgraded and therion was not compatible
>> with that at the time, but that was fixed already for some time now.
>>
>> Which therion version are you using?
>>
>>
>> Am 2020-06-29 23:00, schrieb Rhys Tyers:
>> > Hello,
>> >
>> > I'm trying to compile a therion config and am getting the following
>> > error:
>> >
>> > therion: error -- PROJ4 library: -1 (no arguments in initialization
>> > list)
>> >
>> > The repo and file I'm attempting to compile:
>> >
>> >
>> https://github.com/tr1813/migresurvey/blob/master/data/_config/overview/system_migovec.thconfig
>> >
>> > This works for for someone on OSX and another on Windows but not for
>> > me on Ubuntu 20.04. I tried searching for the error but there wasn't
>> > anything enlightening.
>> >
>> > It compiles if I comment out "epsg:3794" so I'm guessing perhaps my
>> > version of the proj library does not have this coordinate system?
>> > Could I build a more up to date version?
>> >
>> > Can anyone point me in the right direction?
>> >
>> > Thanks,
>> > Rhys
>> > ___
>> > Therion mailing list
>> > Therion@speleo.sk
>> > https://mailman.speleo.sk/listinfo/therion
>>
>
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] epsg:3794 - PROJ4 library: -1 (no arguments in initialization list)

2020-06-30 Thread Rhys Tyers
I have foolishly lost the version number in an attempt to update, but it
was built from source at the end of January :D

If I install the version from the Ubuntu package manager then it is old and
does not support `language: sl`. If I try building an up to date version
from source I get the following error when running `make`:

utest-proj.cxx:78: FAILED:
  CHECK( (epsg_labels.count(32634) > 0 && strcmp(epsg_labels[32634],"WGS 84
/ UTM zone 34N") == 0) )
with expansion:
  false

===
test cases: 18 | 17 passed | 1 failed
assertions: 44 | 43 passed | 1 failed

Which also looks like something has gone wrong with my proj version somehow?

On Mon, 29 Jun 2020 at 22:46, Benedikt Hallinger  wrote:

> Hi there, we had a similar error a while ago.
> Reason was that proj lib was upgraded and therion was not compatible
> with that at the time, but that was fixed already for some time now.
>
> Which therion version are you using?
>
>
> Am 2020-06-29 23:00, schrieb Rhys Tyers:
> > Hello,
> >
> > I'm trying to compile a therion config and am getting the following
> > error:
> >
> > therion: error -- PROJ4 library: -1 (no arguments in initialization
> > list)
> >
> > The repo and file I'm attempting to compile:
> >
> >
> https://github.com/tr1813/migresurvey/blob/master/data/_config/overview/system_migovec.thconfig
> >
> > This works for for someone on OSX and another on Windows but not for
> > me on Ubuntu 20.04. I tried searching for the error but there wasn't
> > anything enlightening.
> >
> > It compiles if I comment out "epsg:3794" so I'm guessing perhaps my
> > version of the proj library does not have this coordinate system?
> > Could I build a more up to date version?
> >
> > Can anyone point me in the right direction?
> >
> > Thanks,
> > Rhys
> > ___
> > Therion mailing list
> > Therion@speleo.sk
> > https://mailman.speleo.sk/listinfo/therion
>
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] symbol-hide doesn't work

2020-06-30 Thread Martin Sluka via Therion
Hi,

I tried another sample I have and symbol-hide group centerline works as 
assumed. 

I tried to change symbol-set, but in your example it doesn’t work persistently.

Martin

> 29. 6. 2020 v 21:05, ⁨עמרי גסטר⁩ <⁨omri...@gmail.com⁩>:
> 
> Hi everyone,
> 
> Recently the symbol-hide command doesn't work and I can't export a map 
> without centerline/stations.
> 
> In the past I didn't have that problem.
> What am I doing wrong?
> 
> config, th & th2 file are added 
> 
> Omri
> ___
> Therion mailing list
> Therion@speleo.sk
> https://mailman.speleo.sk/listinfo/therion

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion