microsoft / torchgeo

TorchGeo: datasets, samplers, transforms, and pre-trained models for geospatial data
https://www.osgeo.org/projects/torchgeo/
MIT License
2.66k stars 328 forks source link

Add a WMS Dataset #1963

Open ianturton opened 6 months ago

ianturton commented 6 months ago

Summary

I've written a currently pretty much untested WMSDataset, do you want to incorporate?

Rationale

I want to use RGB aerial imagery which I can download but since my local government provides a WMS why should I clutter up my hard drive, and they make downloading large areas very hard.

Implementation

You can see the code at this gist as far as I can tell it works so far.

Alternatives

No response

Additional information

No response

isaaccorley commented 6 months ago

This looks great! Care to start a PR and we can iterate on it?

ianturton commented 6 months ago

sure, just wanted to check people were interested