Changes between Version 10 and Version 11 of rfc20_srs_axes


Ignore:
Timestamp:
Jan 11, 2008, 11:58:20 AM (16 years ago)
Author:
warmerdam
Comment:

updated to use an enumeration for axis orientation.

Legend:

Unmodified
Added
Removed
Modified
  • rfc20_srs_axes

    v10 v11  
    4747== OGRSpatialReference ==
    4848
     49=== New Enumeration ===
     50
     51typedef enum {
     52  OAO_Unknown = 0,
     53  OAO_North = 1,
     54  OAO_South = 2,
     55  OAO_East = 3,
     56  OAO_West = 4
     57} OGRAxisOrientation;
     58
    4959=== New methods ===
    5060
    5161{{{
    5262    const char *GetAxis( const char *pszTargetKey, int iAxis,
    53                          int *pnOrientation );
     63                         OGRAxisOrientation *peOrientation );
    5464}}}
    5565
     
    5868{{{
    5969    OGRErr      SetAxes( const char *pszTargetKey,
    60                          const char *pszXAxisName, int nXAxisOrientation,
    61                          const char *pszYAxisName, int nYAxisOrientation );
     70                         const char *pszXAxisName, OGRAxisOrientation eXAxisOrientation,
     71                         const char *pszYAxisName, OGRAxisOrientation eYAxisOrientation,
     72                         const char *pszZAxisName=NULL, OGRAxisOrientation eZAxisOrientation = OAO_Unknown );
    6273}}}
    6374
     
    128139 1. Should we try and address the Z axis too?
    129140 2. Are there values other than EAST, WEST, NORTH and SOUTH in the specification?
    130  3. Should we use an enumeration for EAST, WEST, NORTH and SOUTH instead of #define's.
    131141 
    132142== Supporting Information ==