[mapserver-users] Problem with loading map file using C# map script
Murty Maganti
MMaganti at oriongis.com
Tue Feb 17 15:09:18 PST 2009
Hi
I have a issue loading a map file through map script and need help.
I have two map info (tab) files with same name but in two different
folders. I have two map files each containing each layer. I am loading
these map files using C# map script (each map file is loaded in to a
separate mapObj on a separate thread). At run time, when I debug the
second mapObj, the layer has items (layerObj.getItem()) from the first
layer loaded by the first map file. I verified 'shapepath' on mapObj and
it is pointing to correct path. There is nothing wrong there. I am
surprised how is it caching the item info, just by the file name (file
name is same but they are completely from different folders).
When I load the map file one more time (again a different .Net thread,
it shows up correct fields).
Within my app (Asp.Net), I can consistently replicate this.
Thanks
Murty
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090217/53817fc4/attachment.htm>
More information about the MapServer-users
mailing list