On Fri, Jun 10, 2011 at 10:40 AM, Angel Cervera Claudio <[email protected]> wrote: > When i publish a table with a Polygon geometry, geoserver detect column as > Multiplygon geometry and it's impossible change to > Polygon type. So, when i request info using WFS, return Multipolygons > geometries (with only one polygon inside). > > Is it a Geoserver's bug detecting type of geometry when publish a table? > > I'm using postgis 1.5.2 and Geoserver 2.1
GeoServer normally gets the column type from the geometry_columns table. What do you have there? Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
