[PROJ] (Angular/Linear/Scale) speed in C++ API

Martin Desruisseaux martin.desruisseaux at geomatys.com
Wed Nov 27 14:54:50 PST 2019


Hello

The C++ API defines the following enumeration:

    osgeo::proj::common::UnitOfMeasure::Type

With the following values:

    UNKNOWN, NONE, ANGULAR, LINEAR, SCALE, TIME, PARAMETRIC

The METRE unit for instance is of type LINEAR, which is fine. But I find 
the following more surprising:

  * METRE_PER_YEAR declared of type LINEAR
  * ARC_SECOND_PER_YEAR declared of type ANGULAR
  * PPM_PER_YEAR declared of type SCALE

I do not see an API for declaring that above units are rates of change 
(speed, angular velocity, etc.) rather than classic linear or angular 
units. Shouldn't the API contain something for that?

     Martin


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20191127/1745583a/attachment.html>


More information about the PROJ mailing list