On Sun, 6 Feb 2022 at 15:21, Steve Lime wrote:
> This should be the way to do it. No quotes around %year% in either
> expression.
>
Yes, it works thank you Seth and Steve!!
--
___
Andrea Borruso
website: https://medium.com/tantotanto
38° 7' 48" N, 13° 21' 9" E, EPSG:4326
_
This should be the way to do it. No quotes around %year% in either
expression.
On Sun, Feb 6, 2022 at 4:32 AM Seth G wrote:
> So does the following also work? Without quotes should mean it is treated
> as a number:
>
> EXPRESSION ([year] = %year%)
>
> --
> web:https://geographika.net
> twitter:
So does the following also work? Without quotes should mean it is treated as a
number:
EXPRESSION ([year] = %year%)
--
web:https://geographika.net
twitter: @geographika
On Sun, Feb 6, 2022, at 10:28 AM, andy wrote:
> Hi Seth,
> and thank you.
>
> On Sun, 6 Feb 2022 at 10:08, Seth G wrote:
>>
Hi Seth,
and thank you.
On Sun, 6 Feb 2022 at 10:08, Seth G wrote:
>
> Maybe the value is being treated as a string, so you could test if the
> following worked (equals rather than less than):
>
> EXPRESSION ("[year]" = "%year%")
>
This works, but there are some points that seem strange to me:
Ah ok I was looking at the mapfile. Passing &YEAR=1976 in from the command line
should work fine.
Maybe the value is being treated as a string, so you could test if the
following worked (equals rather than less than):
EXPRESSION ("[year]" = "%year%")
Also maybe try with a different parameter na
Hi Seth,
On Sun, 6 Feb 2022 at 09:35, Seth G wrote:
> Shouldn't the variable be wrapped in percentage signs?
>
> EXPRESSION (%year% < 1976)
>
my goal is another one. My hardcorded expression is "EXPRESSION ([year] <
1976)".
I want to use run-time substitution to use "EXPRESSION ([year] < '%ye
Hi,
Shouldn't the variable be wrapped in percentage signs?
EXPRESSION (%year% < 1976)
Seth
--
web:http://geographika.net
twitter: @geographika
On Sat, Feb 5, 2022, at 6:13 PM, andy wrote:
> Hi,
> I have this map file [1] in which I use this simple class expression
> "EXPRESSION ([year] < 197