[Featureserver] Fwd: postgis connection
Christopher Schmidt
crschmidt at metacarta.com
Fri Oct 19 18:26:49 EDT 2007
On Fri, Oct 19, 2007 at 06:26:24PM -0400, Bobby Braswell wrote:
>
> alas, this only works with points, not lines or polygons.
> OpenLayers-2.5 (see https://portsmouthresponse.unh.edu/testmap.html)
> generates the following:
The error message is:
An error occurred: ERROR: new row for relation "mylayer" violates check
constraint "enforce_geotype_wkb_geometry"
:)
That's a PostGIS configuration thing. Don't make your geometry a POINT
column, make it a GEOMETRY column.
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Featureserver
mailing list