[PROJ] promoteTo3D in ftUS

Javier Jimenez Shaw j1 at jimenezshaw.com
Thu Oct 21 11:53:42 PDT 2021


Hi

There is currently a method

CRSNNPtr CRS::promoteTo3D(const std::string &newName,
                          const io::DatabaseContextPtr &dbContext) const

that adds vertical axis in Meters (if there is no one there, etc).

Sometimes (when working with CRS from USA), I need the vertical one in ft
or ftUS.

There is another function
CRSNNPtr CRS::promoteTo3D(const std::string &newName,
                          const io::DatabaseContextPtr &dbContext,
                          const cs::CoordinateSystemAxisNNPtr
                              &verticalAxisIfNotAlreadyPresent) const

but it is "PROJ_INTERNAL" (whatever it means)

Would it make sense to have a function (or overload) that specifies the
unit?

Thanks.

.___ ._ ..._ .. . ._.  .___ .. __ . _. . __..  ... .... ._ .__
Entre dos pensamientos racionales
hay infinitos pensamientos irracionales.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20211021/2eb31c8d/attachment.html>


More information about the PROJ mailing list