Edit Capabilities

Kristjan Annus kristjan at TARKVARASTUUDIO.EE
Wed Feb 2 13:30:50 EST 2005


Editing in the meaning of adding new objects to some layers can be done
with PHP Mapscript.
There are functions to write new shape objects to shpafiles or you can
save the changes in
some database like MySQL.

Kristjan

> On Feb 2, 2005, at 8:30 AM, Abe Gillespie wrote:
>
>> Are there any editing capabilities with MapServer?  I noticed the
>> SWIG-based Mapscript has shapeObj::setValue() ... but I tried this last
>> night and didn't get any permanent changes.  I'm using PostGIS, so that
>> may be the culprit.  Or is there no editing capabilities at all
>> whatever your data source is?
>>
>> Thanks.
>> -Abe
>>
>>
>
> Abe,
>
> Editing is outside the scope of MapServer.  The setValue() method
> exists only to set attribute values of shapeObjs prior to adding them
> to a layer's inline feature array.  Once they are added to the layer,
> no other modification is possible.
>
> cheers,
> Sean
>
> --
> Sean Gillies
> sgillies at frii dot com
> http://users.frii.com/sgillies



More information about the mapserver-users mailing list