File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
core/src/test/scala/org/locationtech/rasterframes Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,16 @@ class RasterJoinSpec extends TestEnvironment with TestData with RasterMatchers {
172172 }
173173 }
174174
175+ it(" should raster join multiple times on projected raster" ){
176+ val df0 = Seq (one).toDF(" proj_raster" )
177+ val result = df0.select($" proj_raster" as " t1" )
178+ .rasterJoin(df0.select($" proj_raster" as " t2" ))
179+ .rasterJoin(df0.select($" proj_raster" as " t3" ))
180+
181+ result.tileColumns.length should be (3 )
182+ result.count() should be (1 )
183+ }
184+
175185 it(" should honor resampling options" ) {
176186 // test case. replicate existing test condition and check that resampling option results in different output
177187 val filterExpr = st_intersects(rf_geometry($" tile" ), st_point(704940.0 , 4251130.0 ))
You can’t perform that action at this time.
0 commit comments