[Qgis-user] MVP solid 3d

Benoit D.-M. benoit.de.mezzo at oslandia.com
Wed Mar 26 03:12:13 PDT 2025


Hi,

For what I have tried with your data, the Z coordinates have a really 
high value (around 2999675) (is it not a bit strange for arqueological 
excavation data?) and it seems QGIS does not like these high values (and 
it may need a fix).

So I have tried by decreasing 2990000 on all Z data and it works fine!

Regards.

Le 19/03/2025 à 11:29, Gerald Kogler via QGIS-User a écrit :
> Hi ppl,
>
> Still no success with that :(
>
> Anybody could share me a simple MultiPolygonZ object for QGIS which 
> does work in 3d Map View configuring the Single Symbol in 3D View 
> Properties? Just to make sure that it's not the installation or 
> configuration of my QGIS.
>
> Thanks
> Gerald
>
>
> On 14/3/25 19:57, Gerald Kogler via QGIS-User wrote:
>> Hi,
>>
>> Thanks for your answers and the hint with flat Z coordinate. Now I 
>> managed to have MultiPolygonZ geometries with the complete 3d object 
>> saved as feature.
>>
>> Here a sample layer as gpkg file [1] containing 64 objects from an 
>> arqueological excavation.
>>
>> Objects do show up as plains in 3d Map View (QGIS 3.34), when I apply 
>> a Single Symbol in 3D View Properties, they do disappear so.
>>
>> Thanks for your help
>> Gerald
>>
>> [1] https://cloud.servus.at/s/Gigik6fAYZKGjib
>>
>>
>>
>> On 14/3/25 9:17, Johannes Kröger (WhereGroup) via QGIS-User wrote:
>>> Hi Gerald,
>>>
>>> a PolygonZ is not a solid but a surface* that might be rotated in 3D 
>>> space.
>>>
>>> Your PolygonZ has the same Z coordinate for all its points so it is 
>>> flat/orthogonal in reference to the vertical axis.
>>>
>>> *: Depending on the Z coordinates a PolygonZ might not be a flat 
>>> (potentially rotated) surface but a rather complex surface. E.g. if 
>>> you have a polygon with 4 corners of which three have the same Z 
>>> coordinate but one has a different one: There is no flat surface 
>>> connecting all those points.  I don't know the correct term for this 
>>> right now. Geometries like that are usually problematic. But 
>>> https:// gis.stackexchange.com/a/350117/51035 shows an example with 
>>> such geometry being rendered "fine" in the QGIS 3D view.
>>>
>>> Cheers, Hannes
>>>
>>> On 3/13/25 19:39, Gerald Kogler via QGIS-User wrote:
>>>> Hi!
>>>>
>>>> I'm trying without success to visualize a simple solid 3d object 
>>>> with QGIS 3d Map View. The geometry is of type PolygonZ, but the 3d 
>>>> viewer only shows it in 2 dimensions without Z values. All 
>>>> triangles are shown on a plain.
>>>>
>>>> The layer definitly does have Z values, using for example 
>>>> geom_to_wkt($geometry) does show me WKT values like:
>>>>
>>>> PolygonZ ((204594.00012206999235786 496779.0001220700214617 
>>>> 2998679.5, 204771.00012206999235786 496783.0001220700214617 
>>>> 2998679.5, 204881.00012206999235786 496802.0001220700214617 
>>>> 2998679.5, 204594.00012206999235786 496779.0001220700214617 
>>>> 2998679.5))
>>>>
>>>> What do I miss, anything in the configuration which could be wrong? 
>>>> I only manage to show the third dimension using extruding, that 
>>>> works fine for example to show buildings from OpenStreetMaps.
>>>>
>>>> Anybody knows about a dummy Getting Started tutorial beside the 
>>>> official QGIS docs about 3d Map View in order to make a really 
>>>> basic example work?
>>>>
>>>> Thanks for your help
>>>> Gerald
>>>> _______________________________________________
>>>> QGIS-User mailing list
>>>> QGIS-User at lists.osgeo.org
>>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>>>
>>
>> _______________________________________________
>> QGIS-User mailing list
>> QGIS-User at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
> _______________________________________________
> QGIS-User mailing list
> QGIS-User at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


More information about the QGIS-User mailing list