Setting attributes of shapes on php-mapscript

Rodrigo Del C. Andrade rodrigo.andrade at DIGITRO.COM.BR
Tue Jul 17 10:45:06 EDT 2007


    I stand corrected.

    Rodrigo

Daniel Morissette wrote:
> I'm not sure about SWIG MapScript, but in PHP MapScript, the 
> shape->values[] array is read-only and there is no way to set the 
> values[] with PHP MapScript.
>
> If working with a shapefile then the recommended way to update 
> attributes is to use the PHP dbase functions as was pointed out in 
> another post earlier in this thread.
>
> Daniel
>
>
> Rodrigo Del C. Andrade wrote:
>>   but someone will correct me if its not the case.
>>



More information about the mapserver-users mailing list