I'm working on rasterizing some polygons using gdal_rasterize. This works great, but I want the rasterize command to place features with lower FIDs on top of those with higher FIDs. (Gdal_rasterize currently takes the latest polygon and burns that value onto the raster).
I can think of a way to do it by manually swapping the rings for the polygons, but is there a faster way reverse the order of features in a layer?
Hoping for a simple reverse sort function? I'm working with OGR/GDAL on Python 2.x