Hi

Searching from PDAL (SpatialReference::isProjected) to GDAL
(OSRIsProjected) to PROJ, I ended up in the function
PJ_TYPE proj_get_type(const PJ *obj)

Inspecting the code I realized that a DerivedProjectedCRS is not covered by
the selector, and will return PJ_TYPE_OTHER_CRS

Remember that unlike other derived, like DerivedGeographicCRS that is a
GeographicCRS or DerivedVerticalCRS is a VerticalCRS, a DerivedProjectedCRS
is not inheriting from ProjectedCRS.

How should it be? Should it be returned as PJ_TYPE_PROJECTED_CRS ? Should
we create a new category? Leave as it is now (abandoned among other first
class citizen CRS types)?

In my opinion a DerivedProjectedCRS "behaves" like a ProjectedCRS in the
same way as a DerivedVerticalCRS behaves like a VerticalCRS and so on. But
maybe I am missing something.

Thanks.
.___ ._ ..._ .. . ._.  .___ .. __ . _. . __..  ... .... ._ .__
Entre dos pensamientos racionales
hay infinitos pensamientos irracionales.
_______________________________________________
PROJ mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/proj

Reply via email to