<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2745.2800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Pje,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I think what's happening is the tile images in the
kacache directory are not invalidated when the mapfile
switches.</FONT></DIV>
<DIV><FONT face=Arial size=2>If we invalidate the tile images, however, not only
the user who performed the search but also all other
users will get the changed tile images.</FONT></DIV>
<DIV><FONT face=Arial size=2>How about highlighting searched features with
kaXMLOverlay?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Junya</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=pjebra@gmail.com href="mailto:pjebra@gmail.com">Pje</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=ka-map-users@lists.maptools.org
href="mailto:ka-map-users@lists.maptools.org">ka-map-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, November 07, 2006 1:03
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [ka-Map-users] Changing the
mapfile</DIV>
<DIV><BR></DIV>Hi,<BR><BR>I need to change the data of a layer based on a
parameter. So, I'm generating the mapfile dinamically and setting it by
mySetMap('mapfile_tmp'). The problem is if i change the data and set the
mapfile with the same name, the layer didn't change.
<BR><BR>Example:<BR><BR>MapfileA<BR><BR>map<BR>
layer<BR> connectiontype
POSTGIS<BR> data "the_geom from
table"<BR> ...<BR>
end<BR>end<BR><BR>Then i change the mapfile
to:<BR><BR>map<BR>
layer<BR> connectiontype
POSTGIS<BR> data "the_geom from
table where column = 'foo' "<BR>
...<BR> end<BR>end<BR><BR>And I set the mapfile
mySetMap('MapfileA').<BR><BR>What I'm doing wrong?<BR><BR>What i need to do is
to change the data of a layer when an user make a search.<BR>
<P>
<HR>
<P></P>_______________________________________________<BR>ka-Map-users mailing
list<BR>ka-Map-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/ka-map-users<BR></BLOCKQUOTE></BODY></HTML>