[gdal-dev] RFC 61: Call for vote on adoption

Ari Jolma ari.jolma at gmail.com
Wed Feb 10 07:34:08 PST 2016


10.02.2016, 15:21, Kurt Schwehr kirjoitti:
>
> One request:
>
> #define OGR_G_NOT_EMPTY_POINT 0x1
> #define OGR_G_3D 0x2
> #define OGR_G_MEASURED 0x4
> #define OGR_G_IGNORE_MEASURED 0x8
> Can you make these a static const int or static const unsigned int 
> member of the OGRGeometry class?  #defines make life more difficult.

These constants are used also outside the classes. How does one access 
those for example in OGRWktReadPointsM, which receives the flags as a 
parameter?

Ari



More information about the gdal-dev mailing list