To solve this problem, i've used an scaletoken with multiple parameters
(sorted).
SCALETOKEN
NAME "%f%"
VALUES
"0" "2|1"
"1000000" "2|1"
END
END
And inside my query string to postgis, I've substitued these sorted value
into a sub select and I split with the '|'.
DATA "the_geom from (SELECT table.*, d.* FROM table,
(select split_part('%f%','|',1)::integer as
p1,split_part('%f%','|',2)::integer as p2)as d ) as subquery using unique
cod_instl srid=3857"
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html
_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users