Hi all,
I am new in Geoserver. I am trying to insert a record in a PostGIS DB using WFSTester → Geoserver.
It already insert a record, but not the geometry field. I don’t know what I am doing wrong. But I am sure that I am doing something wrong!!
My environment is:
Windows 2000
Tomcat 4.0.3
Postgis 7.5
PostgreSQL 7.3.3
Geoserver 0.92
I attached all files I created:
WFSTester: localhost.xml, inser.xml, gml_insert1.txt
GeoServer: schema.xml and info.xml
Can someone help me?
Thanks in advance.
Pablo Ghiglino.
(attachments)
localhost.xml (321 Bytes)
insert.xml (568 Bytes)
gml_insert1.txt (543 Bytes)
schema.xml (916 Bytes)
info.xml (768 Bytes)
I'm very far from my testing computer right now, so I can't confirm any
of my suspicions, but the one thing you might try to change on the
insert is to not use the <gml:coord><gml:x>0.0</gml:x><gml:y>... style,
as I've never tested it on geoserver, and am not sure if the gml reader
code takes that way into account. Just use the style that does not use
x and y...check the wfs specification for details. If anyone else on
the list can investigate his inserts and get it to work that'd be
great, as I just can't test it right now.
Two other things to do, which even if they don't solve the problem will
help a lot in the diagnosis - upgrade to the latest geoserver - 0.96,
and increase the logging level - in configuration.xml put in
<LoggingLevel>FINER</LoggingLevel> (I don't think this option was
available in 0.92). The catalina.out logs should then have a lot more
detail, making it easier to diagnose the problem when I get back
(apologies for the delayed response).
Chris
Quoting Pablogh Ghiglino <pabloghiglino@anonymised.com>:
Hi all,
I am new in Geoserver. I am trying to insert a record in a PostGIS DB
using WFSTester --> Geoserver.
It already insert a record, but not the geometry field. I don't know
what I am doing wrong. But I am sure that I am doing something
wrong!!
My environment is:
Windows 2000
Tomcat 4.0.3
Postgis 7.5
PostgreSQL 7.3.3
Geoserver 0.92
I attached all files I created:
WFSTester: localhost.xml, inser.xml, gml_insert1.txt
GeoServer: schema.xml and info.xml
Can someone help me?
Thanks in advance.
Pablo Ghiglino.
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/