Tileinidex cannot be used for CGI controls

Marc Jacquin marc.jacquin at MAGELLIUM.FR
Thu Dec 28 09:17:36 PST 2006


Hi all,

 

I guess I found an omission in CGI controls:
&map_layer_tileindex=myshapeindex.shp does not render anything.

 

Checking the loadLayerString function in mapfile.c, it appears that the case
TILEINDEX is missing. 

 

Just adding:

 

  case (TILEINDEX) :  

    msFree(layer->tileindex);

    layer->tileindex = strdup(value);

    break;

 

somewhere after the TEMPLATE case (just for ABC reasons) solves it.

 

It seems to be missing even for 4.10 version.

 

My 2 cents? :-) 

 

Greetings,

 

Marc

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061228/adc789f1/attachment.htm>


More information about the MapServer-users mailing list