-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Labels
enhancementRelease notes labelRelease notes label
Milestone
Description
What's the problem this feature will solve?
- Load/save raster cell values directly from/to files.
- 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 createRasterLayer
with cell attributename
. 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.
Additional context
See comments from #90 (comment) and #90 (comment).
Metadata
Metadata
Assignees
Labels
enhancementRelease notes labelRelease notes label