Scaling Geometry to Match Image File
I know this is not a fiona specific question but I figure since this kind of covers a variety of modules written by the same people (or at least understood) that I might get an answer here.
I am attempting to do a mask over a population image file using geometries but they are in different projections and different scales. Here are my modules below.
I am using this set of land boundaries: https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_10m_admin_0_boundary_lines_land.zip
and this population image file: https://ghsl.jrc.ec.europa.eu/download.php?ds=pop (with the 250 m resolution)
Here is how I read in the population file:
Here is how I do my reprojection:
Below are all my python packages