allenai / rslearn

A tool for developing remote sensing datasets and models.
Apache License 2.0
5 stars 0 forks source link

Address resolution to string conversion in tile layer ID #6

Closed favyen2 closed 3 weeks ago

favyen2 commented 8 months ago

Currently resolution float is converted to string to create a layer ID to uniquely identify a certain item from data source converted to a certain projection (CRS + resolution).

But if the float is slightly different then it'd end up with a different layer ID.

Is this a problem in general? What about for finding the correct layer ID in layers that are scaled up by some factor of 2 via ZoomOffset option? Should we store it as a fraction? String?

favyen2 commented 3 weeks ago

Seems to be working fine as is.