[maplab-users] query & display

Zak James zak4ms at gmail.com
Fri Jun 9 10:33:00 EDT 2006


Krishna,

You're more likely to get assistance with this on the mapserver-users list.

If you're using a gmapfactory application, you aren't going to be able
to do something like this without changing the php code. With that in
mind, a simple approach would be to use mapscript or (or a call to cgi
mapserver) and substitute a variable in the SQL used in your postgis
layer so you get a new layer with the feature you requested.

Details on doing variable substitution (at least for the cgi) are
available on the mapserver.gis.umn.edu site.

zak

On 3 Jun 2006 05:10:54 -0000, krishnaa sridharan <kichi at rediffmail.com> wrote:
>
>
>  Hi all,
>  I am not sure if this is the right place to ask this question. But since I
> have been using maplab for my project and I thought I would post it here. My
> current map file has polylines data from Postgis database. The data for this
> map file includes various counties from the Washington DC region. Right now
> a user can going look at all the counties, clik on a point to get the county
> information...etc. My question is, How can i search for a partcular county
> in side the map file. i am really confused about this. One way I could think
> of doing this is, by finding the polyline information from the database and
> centering it...but I am not sure how change that in the map file. can some
> one give me a idea or any kind of refrence on this....thanks in advance for
> all your help.
>
>  Krishnaa
>
>
>
> _______________________________________________
> Maplab-users mailing list
> Maplab-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/maplab-users
>
>
>


-- 
Zak James
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca


More information about the Maplab-users mailing list