Hi Jerome, > using unique geometry_columns.srid using SRID=".$srid); The unique column must be of your $table_choisie because the SRID will be the same for the whole table and thus not unique. Regards, Steffen