[mapserver-users] Queryfile uses layer index, not layer name!?!

Ryan, Adam ARyan at co.linn.or.us
Fri Sep 13 00:58:46 EDT 2002


Dear List,

I want to save a query, then use the *.qy file with another map file.  This
works great, but only if the qlayer has the same layer index in both map
files ('roads' is layer number 7 in both maps).  This tells me that the *.qy
file stores the layer index and not the layer name.

This is a problem.

Please tell me there is a solution (work around) to this!  I'm not using
mapscript.  I've got a nice javascript interface where I can easily switch
map files, but I really need to maintain the query results while doing this.

Thanks for any help on this,

Adam Ryan
Linn County

PS   I LOVE THIS STUFF!!!  



More information about the mapserver-users mailing list