Hello <br><br>Really I hope you  can help me with next doubt,I appreciate your help...<br><br>Well, I am drawing  a function map of mapserver. Because I would like to know all internal structure of mapserver. However<br>I have a problem with DATA. I don&#39;t understand what function links  DATA value (layer-&gt;data) with next functions:<br>
<br><ul><li>imageObj *msDrawMap(mapObj *map, int querymap)</li><li>int msShapefileOpen(shapefileObj *shpfile, char *mode, char *filename, int log_failures)</li></ul><br>(LoadLayer) file mapfile.c  &lt;----- What is the link function for DATA value? ---------&gt;(msDrawMap) file mapdraw.c <br>
(LoadLayer) file mapfile.c  &lt;----- What is the link function for DATA value? ---------&gt; (msShapefileOpen) file mapshape.c <br><br><br>For example:<br><br>1.-loadLayer()--&gt;getString() ----&gt;<b>linkfunction()</b>?-------&gt;msDrawMap()<br>
                                                      |<br>                                                filename=layer-&gt;data;       <br>                                          <br>2.-loadLayer()--&gt;getString() ----&gt;<b>linkfunction()</b>?-------&gt;msShapefileOpen()<br>
                                                      |<br>                                                filename=layer-&gt;data;   <br><br><br>I know that this  imageObj *msDrawMap(mapObj *map, int querymap) function is used for rendering the map file. Therefore this function<br>
must know where the data are located (&quot;/usr/local/geo/street&quot;)  and DATA provides this information with (layer-&gt; data) ... but where does it? = S I can not find the function..<br><br><br>And I  know too that:<br>
<br>loadLayer() this function contain  a (case DATA:)  and  this call the functions  getString(),msValidateParameter(),msLookupHashTable() and msFree()..But In what moment DATA sends or provides its value to the functions msDrawMap() o msShapefileOpen? where is the link function?<br>
<br><br>I hope you understand me<br><br>Thanks<br><br>Mauricio<br>