[gdal-dev] Axis Ordering RFC
Frank Warmerdam
warmerdam at pobox.com
Fri Jan 11 15:00:12 EST 2008
Andrey Kiselev wrote:
> On Thu, Jan 10, 2008 at 05:18:41PM -0500, Frank Warmerdam wrote:
>> Due to issues with GDAL handling of geographic GMLJP2 files (and
>> issues on the horizon with WCS 1.1 support) I'm eager to get "axis
>> order awareness" into GDAL 1.6.0. I have prepared a preliminary RFC
>> and am currently seeking feedback.
>>
>> http://trac.osgeo.org/gdal/wiki/rfc20_srs_axes
>
> That is very good addition and I even know where I will use this new
> functionality. I am +1 on it and only two notes to add:
>
> 1. SetAxes() should care of Z axis too. It can be overloaded in C++ part
> of API and have two variants in C bindings (e.g. SetAxes()
> SetAxesZ()).
Andrey,
Done. I have not documented the C API bindings in the RFC, but this would be
the way to do it. But I should stress that at this time I am not adding any
sort of broad support for the Z axis to be remapped.
> 2. Orientation and axis names should be enumerations instead of plain
> integers.
Done. I'm slightly concerned this may make handling via SWIG messier which
is why I used the simple type "int" initially.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org
More information about the gdal-dev
mailing list