[Qgis-user] Identify tool and closest vertices (z-values)

Andreas Neumann andreas at qgis.org
Wed May 25 00:15:27 PDT 2022


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 <
qgis-user at lists.osgeo.org> 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 <a.neumann at carto.net>
> *Skickat:* den 24 maj 2022 12:22
> *Till:* Karl Magnus Jönsson <Karl-Magnus.Jonsson at kristianstad.se>
> *Kopia:* QGIS User List <Qgis-user at lists.osgeo.org>
> *Ä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 <qgis-user-bounces at lists.osgeo.org> *För *Andreas
> Neumann via Qgis-user
> *Skickat:* den 24 maj 2022 10:53
> *Till:* QGIS User List <Qgis-user at lists.osgeo.org>
> *Ä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
> 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
>


-- 

--
Andreas Neumann
QGIS.ORG board member (treasurer)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220525/f9fe0ff9/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 11091 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220525/f9fe0ff9/attachment.png>


More information about the Qgis-user mailing list