[QGIS-Developer] PostGIS 3D cube lacks vertical faces

Anita Graser anitagraser at gmx.at
Sun Dec 10 06:29:49 PST 2017


Hi,

I'm testing the 3D view for PostGIS 3D gemetries. I create a cube using

  'POLYHEDRALSURFACE Z (    ((0 0 0, 0 1 0, 1 1 0, 1 0 0, 0 0 0)),
((0 0 0, 0 1 0, 0 1 1, 0 0 1, 0 0 0)),    ((0 0 0, 1 0 0, 1 0 1, 0 0
1, 0 0 0)),    ((1 1 1, 1 0 1, 0 0 1, 0 1 1, 1 1 1)),    ((1 1 1, 1 0
1, 1 0 0, 1 1 0, 1 1 1)),    ((1 1 1, 1 1 0, 0 1 0, 0 1 1, 1 1 1))
)'::geometry,


but if I enable the 3D renderer, only the bottom and the top (the two
horizontal faces) are drawn. The vertical faces are invisible.

Should I be creating the cube in some other way? Or is this an issue with
the rendering?

Regards,
Anita
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20171210/4e39aec0/attachment.html>


More information about the QGIS-Developer mailing list