From 07bb446ec474cf62094070a8ea848b37c911a075 Mon Sep 17 00:00:00 2001 From: Thomas Knudsen Date: Mon, 8 Jan 2018 03:41:45 +0100 Subject: Discern between 2D projected and 3D cartesian linear units (#732) --- src/projects.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/projects.h') diff --git a/src/projects.h b/src/projects.h index 209d6f39..86ca2524 100644 --- a/src/projects.h +++ b/src/projects.h @@ -192,9 +192,11 @@ typedef struct PJ_REGION_S PJ_Region; typedef struct ARG_list paralist; /* parameter list */ #ifndef PROJ_INTERNAL_H enum pj_io_units { - PJ_IO_UNITS_CLASSIC = 0, /* Scaled meters (right) */ - PJ_IO_UNITS_METERS = 1, /* Meters */ - PJ_IO_UNITS_RADIANS = 2 /* Radians */ + PJ_IO_UNITS_WHATEVER = 0, /* Doesn't matter (or depends on pipeline neighbours) */ + PJ_IO_UNITS_CLASSIC = 1, /* Scaled meters (right), projected system */ + PJ_IO_UNITS_PROJECTED = 2, /* Meters, projected system */ + PJ_IO_UNITS_CARTESIAN = 3, /* Meters, 3D cartesian system */ + PJ_IO_UNITS_RADIANS = 4 /* Radians */ }; #endif #ifndef PROJ_H -- cgit v1.2.3