I've updated http://trac.osgeo.org/gdal/wiki/rfc35_deletereorderalterfielddefn 
to introduce OGRLayer::ReorderFields(), to reorder all the fields at once.

I've kept a (non-virtual) ReorderField() to be able to move easily a single 
field. ReorderField() is just a wrapper that generates the appropriate 
permutation to be used by ReorderFields().

A rfc35_v2.patch has been uploaded in ticket #2671 with the above changes.

Best regards,

Even
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to