(Angular/Linear/Scale) speed in C++ API

Martin Desruisseaux <[email protected]> Wed, 27 Nov 2019 23:54:50 +0100
Newsgroups gmane.comp.gis.proj-4.devel
Organization Geomatys
Message-ID <[email protected]>
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

_______________________________________________
PROJ mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/proj