-
Notifications
You must be signed in to change notification settings - Fork 3
WIP: Feat/support raster data #70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
ab32d4a
to
1a88f9b
Compare
1a88f9b
to
fdfb4c7
Compare
755b651
to
eaa6319
Compare
eaa6319
to
53af02e
Compare
53af02e
to
8be720a
Compare
- Implement RasterLoader to load raster files with rasterio - Support loading GeoTIFF, PNG, JP2 and other formats - Modified to add example usage of raster loader - Raster loader returning 3D array
- Implement RasterLoader with block-wise downsampling and polygon geometry - Convert raster pixels into aggregated blocks with spatial geometry - Output GeoDataFrame with pixel_id, coordinates, value, area
8be720a
to
7d61fc4
Compare
Hi @soniacq, hoping all is well :) May you kindly please let me know how far along this draft is? As of right present, the PR seems to be dead (i.e., no update for a month). Yet, is it perhaps discontinued for the time being? Or are people still working on it, and as such the draft status makes sense (maybe people are on annual leave, in which case the one-month no update makes 100% sense)? If the latter, it will not hurt to provide a quick update in the comments whenever anyone in charge can, please 🙏 Wishing you guys a nice weekend ahead (no high rush as to answer this; just friendly requesting an update) :) Cheers |
This PR introduces initial support for loading and processing raster datasets within UrbanMapper. It includes a flexible RasterLoader capable of reading a variety of raster formats and exposing them in multiple representations suitable for analysis and visualization.
Key Features
Raster File Loading
Supports GeoTIFF, PNG, JP2, and other formats via rasterio.
Multiple Output Modes
Spatial Aggregation
Enables block-wise summarization of raster values with centroid and area geometry for scalable spatial analysis.
Tests & Example Usage
Includes basic unit tests and example usage in notebooks to demonstrate integration into the UrbanMapper workflow.
@JUDITH-sketch feel free to update this description if needed.
📚 Documentation preview 📚: https://UrbanMapper--70.org.readthedocs.build/en/70/