[Cartoweb-users] enforce_srid_the_geom error
Pierre GIRAUD
pierre.giraud at camptocamp.com
Wed Aug 2 10:50:27 EDT 2006
Jacolin Yves wrote:
>When I want to edit a line (ie add a line to my edit_line layers in pgsql), I
>got this error :
>
>Error [2, pg_exec() [function.pg-exec]: Query failed: ERREUR: La nouvelle
>ligne pour la relation «edit_line» viole la contrainte de vérification
>«enforce_srid_the_geom», /usr/share/pear/DB/pgsql.php, 335]
>
>
>I try to change the srid of the layer to -1 and 2154 ... I got this error for
>some other layer (edit_point, edit_poly, ...)
>But not for all layers ! I have you got an idea ? Do I need to update
>cartoweb, a bug has been corrected a few weeks ago by pgiraud, is it link to
>this ?
>
>Regards,
>
>Y.
>
>
Yes, you should update your cartoweb (perhaps only the edit part).
Hope this is not a new issue.
Regards
Pierre
More information about the Cartoweb-users
mailing list