ruithnadsteud / yt_georaster

A package for handling geotiff files and georeferenced datasets within yt.
1 stars 2 forks source link

polygon selector should convert to correct transform #34

Closed brittonsmith closed 2 years ago

brittonsmith commented 3 years ago

Currently, we assume the polygons loaded from shape files are in the reference system of the dataset. We should make use of fiona to transform any polygon into the correct reference system.

deastwoo commented 2 years ago

This is now done and we can also pass a shapely polygon object instead of a shapefile, as long as you provide the CRS that the shapely polygon is in.