geotrellis icon indicating copy to clipboard operation
geotrellis copied to clipboard

Extent of Layer Not as Expected When Reading RDDs in With HadoopGeoTiffRDD and S3GeoTiffRDD

Open jbouffard opened this issue 7 years ago • 1 comments

This was encountered in GeoPySpark, but this issue most likely exists in GeoTrellis as well. When collecting the Metadata for an RDD, it was found that the returned Extent for the whole layer is different than what was expected.

Below shows the expected and actual returned Extent:

expected extent: Extent(xmin=141.7066666666667, ymin=-17.73333333333334, xmax=141.92000000000004, ymax=-17.52000000000001)
actual extent:   Extent(xmin=141.7066666666667, ymin=-18.373333333333342, xmax=142.56000000000003, ymax=-17.52000000000001)

jbouffard avatar Oct 17 '17 17:10 jbouffard

This was caused by the fact that a tile was of unexpected size and the "expected" extent was being taken from the projected extent of the first entry of a RDD.

jamesmcclain avatar Oct 17 '17 19:10 jamesmcclain