<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.24">
<TITLE>RE: [Chameleon] Manage WMS Servers widget shows "cache_mlt" errors,results in no WMS data layers</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Hi Jacob,</FONT>
</P>
<P><FONT SIZE=2>I am also not very knowledgeable of that piece of code :-)</FONT>
</P>
<P><FONT SIZE=2>AFAIK wmsparse normally fills the dbf files. If it can't be used, PHP code fills the dbf files.</FONT>
</P>
<P><FONT SIZE=2>The Chameleon extension is just another scenario of the same thing, fast C code fills the dbf files.</FONT>
</P>
<P><FONT SIZE=2>Hopefully Paul or Julien can shed some light on the problem.</FONT>
</P>
<P><FONT SIZE=2>Best regards,</FONT>
<BR><FONT SIZE=2>Bart</FONT>
</P>
<P><FONT SIZE=2>-----Oorspronkelijk bericht-----</FONT>
<BR><FONT SIZE=2>Van: Delfos, Jacob [<A HREF="mailto:Jacob.Delfos@maunsell.com">mailto:Jacob.Delfos@maunsell.com</A>]</FONT>
<BR><FONT SIZE=2>Verzonden: maandag 8 mei 2006 8:26</FONT>
<BR><FONT SIZE=2>Aan: Eijnden, B. van den (Bart); Bart van den Eijnden (OSGIS)</FONT>
<BR><FONT SIZE=2>CC: chameleon@lists.maptools.org</FONT>
<BR><FONT SIZE=2>Onderwerp: RE: [Chameleon] Manage WMS Servers widget shows "cache_mlt"</FONT>
<BR><FONT SIZE=2>errors,results in no WMS data layers</FONT>
</P>
<BR>
<P><FONT SIZE=2>Hi Bart,</FONT>
</P>
<P><FONT SIZE=2>>> do I get it correctly that these lines of code are only executed if: </FONT>
<BR><FONT SIZE=2>>> 1) the Chameleon php module cannot be found/loaded </FONT>
<BR><FONT SIZE=2>>> 2) the wmsparse utility cannot be found </FONT>
</P>
<P><FONT SIZE=2>Well, I'm not *entirely* sure :) All I know is:</FONT>
</P>
<P><FONT SIZE=2>- currently, the 'out of the box' setting causes it to use wmsparse.exe</FONT>
<BR><FONT SIZE=2>in Windows (also, the php extension is not compiled on Windows, making</FONT>
<BR><FONT SIZE=2>wmsparse.exe a lot more attractive). If it can't find wmsparse/wmsparse,</FONT>
<BR><FONT SIZE=2>it defaults to wmsparse.exe on Win32.</FONT>
<BR><FONT SIZE=2>- those lines I mentioned are wrong, because those fieldnames are</FONT>
<BR><FONT SIZE=2>skipped when the array is built. So there's no way that if the array</FONT>
<BR><FONT SIZE=2>misses those entries, that a valid record can be added to a DBF that has</FONT>
<BR><FONT SIZE=2>those fields. I do not understand why that would not cause a problem</FONT>
<BR><FONT SIZE=2>when using the extension. Does using the extension mean that</FONT>
<BR><FONT SIZE=2>server_data_manager.php does not get used at all? Does the capab.dbf</FONT>
<BR><FONT SIZE=2>file get populated by the extension?</FONT>
</P>
<P><FONT SIZE=2>I'm not comfortable making the corrections until I know for sure it</FONT>
<BR><FONT SIZE=2>doesn't mess up the "WMS extension" scenario.</FONT>
</P>
<P><FONT SIZE=2>Regards,</FONT>
</P>
<P><FONT SIZE=2>Jacob</FONT>
</P>
<BR>
Disclaimer
************************************************************************
Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is
uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis
hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te
informeren. Wij adviseren u om bij twijfel over de juistheid of de
volledigheid van de mail contact met afzender op te nemen.
This message shall not constitute any rights or obligations.
This message is intended solely for the addressee.
If you have received this message in error, please delete it and
notify the sender immediately. When in doubt whether this message
is correct or complete, please contact the sender.
************************************************************************
<BR>
</BODY>
</HTML>