Hi,

I examined the geometries further. It is an old Postgis 1.5 database. The
third dimension only shows up in its EWKT form and not in the WKT form.
Really strange.

Seems that older QGIS versions could deal with the EWKT form, but not
anymore.

We'll need to migrate this data anyway - and I assume the issue is gone
when it is properly converted to a more modern Postgis-DB with real 3D
coordinate triples.

Greetings,
Andreas

On Tue, 24 May 2022 at 13:58, Karl Magnus Jönsson via Qgis-user <
[email protected]> wrote:

> I tested against:
>
> PostgreSQL 11.5 on x86_64-alpine-linux-musl, compiled by gcc (Alpine
> 8.3.0) 8.3.0, 64-bit
>
> Postgis:
>
> 2.5 USE_GEOS=1 USE_PROJ=1 USE_STATS=1
>
>
>
> *Karl-Magnus Jönsson*
>
>
>
>
>
> *Från:* Andreas Neumann <[email protected]>
> *Skickat:* den 24 maj 2022 12:22
> *Till:* Karl Magnus Jönsson <[email protected]>
> *Kopia:* QGIS User List <[email protected]>
> *Ämne:* Re: Sv: [Qgis-user] Identify tool and closest vertices (z-values)
>
>
>
> Hi Karl-Magnus,
>
> Thank you for your confirmation.
>
> It must be something weird about 3D detection from QGIS for Postgis
> layers. I tested with other 3D layers and they work fine, but the layer
> that fails to work with Z-Values is from a much older Postgis-DB.
>
> Maybe it would work fine if we transfer the data to a more modern
> Postgis-DB ...
>
> QGIS display the Metadata as Polygon (PolygonZ) though ...
>
> Strange ...
>
> Andreas
>
> On 2022-05-24 11:21, Karl Magnus Jönsson wrote:
>
> Hi!
>
> It seems to work for me in 3.22.5 with Postgis PolygonZ. Can't remember
> that I've done any custom settings for that.
>
>
>
> *Karl-Magnus Jönsson*
>
>
>
>
>
> *Från:* Qgis-user <[email protected]> *För *Andreas
> Neumann via Qgis-user
> *Skickat:* den 24 maj 2022 10:53
> *Till:* QGIS User List <[email protected]>
> *Ämne:* [Qgis-user] Identify tool and closest vertices (z-values)
>
>
>
> Hi,
>
> We have a a Postgis PolygonZ data set an want to query the third dimension
> of the closest vertex. According to my users, this used to work fine in
> older QGIS versions, but now we can only see the x/y values and not
> z-values anymore.
>
> I just tested it on QGIS 3.22 (LTR) and can conform that the z-values are
> not displayed in the derived data of the identify tool.
>
> Is there any hidden setting that helps us to display the z-values again -
> or a connection parameter that forces QGIS to treat it correctly as a 3d
> data set?
>
> Thank you for any hints,
>
> Andreas
>
>
> _______________________________________________
> Qgis-user mailing list
> [email protected]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>


-- 

--
Andreas Neumann
QGIS.ORG board member (treasurer)
_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to