Dear Community, The Java GDAL bindings provide the method
public int[] GetDataAxisToSRSAxisMapping(SWIGTYPE_p_int nLen, SWIGTYPE_p_p_int pList) The corresponding [C++ function][1] is const std::vector< int > & OGRSpatialReference::GetDataAxisToSRSAxisMapping () const The Java method is not documented: [Java Docs for GetDataAxisToSRSAxisMapping][2] The data axis to SRS axis mapping should return an array and take no arguments. What should be provided as `SWIGTYPE_p_int nLen, SWIGTYPE_p_p_int pList` in Java to get data axis to SRS axis mapping? [1]: https://gdal.org/en/stable/doxygen/classOGRSpatialReference.html#a50a4542a228db455df2126e98a971d5d [2]: https://gdal.org/en/stable/java/org/gdal/osr/SpatialReference.html#GetDataAxisToSRSAxisMapping(org.gdal.osr.SWIGTYPE_p_int,org.gdal.osr.SWIGTYPE_p_p_int) _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev