[Cartoweb-users] Problem with edit shapefile

Giovanni Virdis g.virdis at riteco.it
Fri May 30 04:25:13 EDT 2008


Hi everyone,

 

I have implement a solution to modify the shape file I have insert in
the map file this rows

 

LAYER

    NAME "edificato"

    TYPE POLYGON

    DATA "EdificatoSparsoCTR.shp"

    TEMPLATE "ttt"

    CLASS

      NAME "edificato"

      STYLE

        COLOR 240 240 240

        OUTLINECOLOR 255 165 96

      END

    END

    METADATA

              'id_attribute_string' 'NOTE' 

              'edit_table' 'EdificatoSparsoCTR.shp' 

              'edit_geometry_column' 'shape'

      'edit_geometry_type' 'polygon' 

      'edit_srid' '-1'

      'edit_attributes' 'ID,NOTE|string' 

    END

  END

 

I have used the edit plugin , when I edit the layer and draw a new
polygon the system show  the field relative to the shape fiel NOTE but
when i insert a value for this field the system generate an error

 

Class : SoapFaultWrapper

Message : Error [8, Undefined offset:  1,
C:\ms4w\apps\cartoweb3\plugins\edit\server\ServerEdit.php, 181]
Backtrace:
 
file: 181 - C:\ms4w\apps\cartoweb3\plugins\edit\server\ServerEdit.php
call: Common::cartowebErrorHandler(8, "Undefined offset:  1",
"C:\ms4w\apps\cartoweb3\plugins\edit\server\ServerEdit.php", 181,
Array(10))
 

Can someone help me?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080530/e997d1be/attachment.html


More information about the Cartoweb-users mailing list