johntruckenbrodt / spatialist

A Python module for spatial data handling
MIT License
30 stars 9 forks source link

Make more generic finder methods #10

Open system123 opened 5 years ago

system123 commented 5 years ago

Dealing with geospatial data it is quite common to use S3 or GCS buckets. There are Python wrappers to make these systems appear more like standard filesystems (e.g. s3fs). I'd propose that the finder method accepts a "filesystem" argument such that an s3fs filesystem object can be passed to it for searching a bucket for imagery.

S3FS wraps most of the standard os functions, such as walk, glob etc.

johntruckenbrodt commented 5 years ago

Generally a pretty good idea yet I currently don't have a need for this and no time to develop it.
You're very welcome to send me a PR though.