On Thu, Nov 25, 2010 at 5:13 PM, Robert Buckley <[email protected]> wrote: > Hi, > > I wanted to try out transactional wfs today, so I downloaded QGIS, set up my > geoserver and loaded the Medford db. > > When I digitize a polygon I always get the same error. > > ERROR: new row for relation "medford_taxlots" violates check constraint > "enforce_geotype_the_geom" > > Could anyone tell me why this is happening?
It seems the wrong type of geometry is sent to GeoServer and then into the db. I would suspect a difference between polygon and multipolygon, or vice versa. You can activate the request logging filter in the web.xml and have the actual request qgis is sending be logged into geoserver.log (or just see it in the log viewer page in the administration GUI if you are using a recent enough version of GeoServer) Cheers Andrea ----------------------------------------------------- Ing. Andrea Aime Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584962313 fax: +39 0584962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ----------------------------------------------------- ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
