[postgis-users] PostGIS SRID pb when insert feature through WFSv1.1 Geoserver

Sébastien Geindre sebastien.geindre at meteo.fr
Wed Jun 27 06:17:30 PDT 2007


hi all,

Sorry for cross posting, i don't know if it is a geoserver (geotools) 
problem or a postGIS configuration one.

I have this exception when trying to insert feature in PostGIS through 
WFS V1.1 Geoserver 1.6

27 juin 15:01:05 ERROR [data.jdbc] - SQL Exception writing geometry 
columnERREUR: La nouvelle ligne pour la relation «ice_geom» viole la 
contrainte de vérification «enforce_srid_ice_polygon»
org.postgresql.util.PSQLException: ERREUR: La nouvelle ligne pour la 
relation «ice_geom» viole la contrainte de vérification 
«enforce_srid_ice_polygon»
        at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1525)

Exception is in french...


beginning of wfs request :
<wfs:Transaction service="WFS" version="1.1.0"
  xmlns:wfs="http://www.opengis.net/wfs"
  xmlns:wims="http://www.flysafe-eu.org/wims"
  xmlns:gml="http://www.opengis.net/gml"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.opengis.net/wfs
    http://schemas.opengis.net/wfs/1.1.0/WFS-transaction.xsd
    http://www.flysafe-eu.org/wims
    
http://localhost:8080/geoserver/wfs/DescribeFeatureType?typename=wims:ice_geom">
  <wfs:Insert>
     <wims:ice_geom>
 <gml:boundedBy>
  <gml:Envelope srsName="urn:x-ogc:def:crs:EPSG:6.11.2:4326">
    <gml:lowerCorner>10.0 30.0</gml:lowerCorner>
    <gml:upperCorner>50.0 80.0</gml:upperCorner>
  </gml:Envelope>
</gml:boundedBy>
...

thank you.

-- 
Sébastien Geindre
DPREVI/AERO/DEV
sebastien.geindre __at__ meteo.fr
05 61 07 84 93






More information about the postgis-users mailing list