[TinyOWS-users] some questions about table structure

Marc-André Trottier marcandre_trottier at hotmail.com
Thu Jun 9 07:49:03 EST 2011


hi!

1- the_geom must be the name of the geometry column ?

2- i got a table who look like this :

CREATE TABLE zz_tinyows_test
(
  station character(254) NOT NULL,
  the_geom geometry,
  geom_p geometry,
  id serial NOT NULL,
  colonneint integer,
  colonnetexte character(254),
  CONSTRAINT zz_tinyows_test_pkey PRIMARY KEY (station)
)
WITH (
  OIDS=FALSE
)
everything is fine this but if i give the primary key to "id", the update is
OK but i got this error in tinyows log when trying to insert a point :

[ERROR] Element '{http://****/}the_geom': This element is not expected.
Expected is one of ( {http://www.opengis.net/gml}description, {
http://www.opengis.net/gml}name, {http://www.opengis.net/gml}boundedBy,
{http://*****/}station ).

there is a relation with "attnum" in PG ?

Marc-André Trottier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/tinyows-users/attachments/20110609/354f08e2/attachment.htm 


More information about the TinyOWS-users mailing list