In a lua style file called from osm2pgsql, the following code works exactly as expected - the comparison of the two numbers works as expected:
However, if I change the comparison to the following:
then the following error occurs:
I'd expect this to work, because the "tonumber" seems to work OK and this page suggests to me that ">" ought to work there. osm2pgsql is "osm2pgsql version 0.96.0 (64 bit id space)", lua according to "dpkg -l" seems to be 5.1 or 5.2. Any ideas? asked 25 Oct '19, 22:04 SomeoneElse ♦ |
answered 26 Oct '19, 09:04 lonvia 3
Often the easiest way to get round this is by adding an
(26 Oct '19, 11:03)
Richard ♦
|