You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get random coordinates within cells based on cell coordinates. In situations like population in the same cell, they don't need to have exactly the same coordinates.
Describe the solution you'd like
Have a RasterLayer.from_file(file_path, name, compression) class method to create RasterLayer with cell attribute name. The file can optionally be a gzip file.
Similarly for saving to files: RasterLayer.to_file(file_path, compression).
Implement a raster_layer.get_random_coord(cell.pos) method.
What's the problem this feature will solve?
Describe the solution you'd like
RasterLayer.from_file(file_path, name, compression)
class method to createRasterLayer
with cell attributename
. The file can optionally be a gzip file.Similarly for saving to files:
RasterLayer.to_file(file_path, compression)
.raster_layer.get_random_coord(cell.pos)
method.Additional context
See comments from #90 (comment) and #90 (comment).
The text was updated successfully, but these errors were encountered: