h3ronpy
h3ronpy copied to clipboard
inverse width and height during rasterizing
numpy needs (height, width), but from_bounds needs (width, height)
generaed rasters are ok according to their transform but images have inversed width and height.
Thanks for the PR :+1: . I will have a look soon.
Maybe it would be a good solution to have a parameter for the user to set the desired axis order. In the past I noticed that the axis ordering is not really standardized across libraries.
This is also the reason why the reverse function https://h3ronpy.readthedocs.io/en/latest/api/arrow.html#h3ronpy.arrow.raster.raster_to_dataframe takes an axis_order parameter.