[mapserver-users] Dynamic mapping with CGI parameters

Colin Wetherbee cww at denterprises.org
Tue Feb 26 13:36:40 PST 2008


Milo van der Linden wrote:
> Add userid=1234 to the request string (and as you say, pass it through 
> perl to sanitize, excelent choice)
> 
> And use:
> 
>    DATA "line FROM (
>        SELECT num, id, line
>        FROM jsview_journeyroutes
>        WHERE us_id = %userid%
>      ) AS foo USING UNIQUE id USING SRID=4326"

Oh, *that's* what you were talking about. :)

Works great!

Thanks a lot.

Colin



More information about the MapServer-users mailing list