[OpenLayers-Users] FeatureId after a wfs-t Insert ?

Husson Florian f.husson at brgm.fr
Tue Jul 24 10:44:16 EDT 2007


Hi,

I work with OpenLayers 2.4 + Geoserver + PostGIS.

I have a problem when I do a wfs-t Insert request.

When I draw a feature and then save it into my PostGIS Table (FID serial
not null, THE_GEOM geometry), I receive a commit succes response, the
feature is correctly saved into my database, but in OpenLayers when I
display the featureId (fid) of this feature, fid = null.

And the only solution which I found to retrieve the fid is to refresh
the layer...and to display the fid after that.

Have you an idea from where the problem can come ?

Thanks,

Florian.
**********************************************************************************************

Pensez à l'environnement avant d'imprimer ce message
 Think Environment before printing
 
Le contenu de ce mél et de ses pièces jointes est destiné à l'usage exclusif du (des) destinataire(s) désigné(s) 
comme tel(s). 
En cas de réception par erreur, le signaler à son expéditeur et ne pas en divulguer le contenu. 
L'absence de virus a été vérifiée à l'émission, il convient néanmoins de s'assurer de l'absence de 
contamination à sa réception.
 
The contents of this email and any attachments areconfidential. They are intended for the named recipient(s) 
only. 
If you have received this email in error please notifythe system manager or the sender immediately and do not 
disclose the contents to anyone or make copies. 
eSafe scanned this email for viruses, vandals and malicious content.
 
**********************************************************************************************




More information about the Users mailing list