(re-adding the list)
Le 23/06/2023 à 11:34, B. De Mezzo a écrit :
Thanks!
I will try this sql request to handle this specific case.
Do you think it could be possible to have a OGR_L_GetExtent3D()
function which returns, as a default implementation, the
OGR_L_GetExtent() result and with 0.0
Benoit,
Indeed OGR_L_GetExtent() will never fill the Z fields, since it has no
idea they are there. So a 3D specific function would be needed.
But in the case of GeoPackage, as many/most other formats, layer extent
metadata doesn't include the Z component either. The generic option is
to ite
Hi,
I was looking for a solution to retrieve a 3D extent (in my case from a
gpkg). Currently, the OGR_L_GetExtent function uses an OGREnvelope and
when I pass a OGREnvelope3D parameter, it does not fill the Z fields.
What should be the best approach to the minZ and maxZ for a layer?
Regards.