Closed EChebelyon closed 4 years ago
Hmm, what version of rasterio do you have installed? Perhaps the 'masked' argument was for rasterio.sample.sample_gen was only added in a more recent version.
Good flag, I was on rasterio 1.1.0
upgrading to 1.1.5
fixed the issue.
Many thanks.
I am getting a
TypeError
when using theextract_vector()
method.Running:
Returns:
gdf
is a Geopandas geodataframe with two columns: a target and geometry column.