locationtech-labs / geopyspark

GeoTrellis for PySpark
Other
179 stars 59 forks source link

TileReader Will Now Read the Correct Attributes File #637

Closed jbouffard closed 6 years ago

jbouffard commented 6 years ago

This PR fixes a bug where TileReader would sometimes read the wrong attributes file if there existed multiple ones for different layers within the same directory. The cause of this bug was because the reader never filtered out the LayerIds by the target layer name so the attributes file it would select was sometimes incorrect.

This PR will fail until #636 is merged