Hi Stefano,

thanks for your reply.

The only difference between the two screenshots is the symbol at the
beginning of the line. The Original layer shows a point symbol while the
view shows a rectangle (polygon?), the weird thing is, that both layers
contain exactly the same type of data (the view is a subset).

Geoserver itself doesn't give any error, but I can't display the WFS in
Qgis. The Attribute table then shows all the features but there are no
objects shown on the map.

To add some more confusion: it is possible to preview the layer in the
Geoserver UI (Openlayers) but if I try to add it to my own openlayers map
there won't be any objects on the map.

I suppose it might be a problem with Geoserver computing the Geometry from
the view correctly and sending it via WFS but I don't see any reason why
that should be the case. The only difference between the original table and
the view is that symbol I mentioned at the beginning.

Regards, David



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Problems-creating-a-Geoserver-Layer-on-a-PostGIS-View-tp5194895p5194926.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to