Skip to content

Conversation

@giswqs
Copy link
Member

@giswqs giswqs commented Nov 17, 2022

This PR adds vector_area and image_filesize functions for estimating the image file size covering an area. The input can be a bounding box or any vector dataset supported by geopandas.

region = [-127.793, 24.287, -66.0059, 49.6676]
leafmap.image_filesize(region, cellsize=1, bands=3, dtype='uint8', unit='TB')
67.5696 TB

image

@giswqs giswqs added the Feature Request New feature or request label Nov 17, 2022
@giswqs giswqs merged commit 5704ef7 into master Nov 17, 2022
@giswqs giswqs deleted the area branch November 17, 2022 16:18
sthagen pushed a commit to sthagen/giswqs-leafmap that referenced this pull request Feb 18, 2023
sthagen pushed a commit to sthagen/giswqs-leafmap that referenced this pull request Jul 10, 2024
kuzja111 pushed a commit to kuzja111/leafmap that referenced this pull request Jul 25, 2024
giswqs added a commit that referenced this pull request Dec 6, 2025
Former-commit-id: 7dea98722072efa4863d535bb38e73f15ffccf25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature Request New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants