File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -530,9 +530,6 @@ const geowarp = function geowarp({
530530
531531 if ( should_skip ( raw_values ) ) continue ;
532532
533- // apply band math expression, no-data mapping, and rounding when applicable
534- const pixel = process ( { pixel : raw_values } ) ;
535-
536533 const pixel_xmin = in_xmin + c * in_pixel_width ;
537534 const pixel_xmax = pixel_xmin + in_pixel_width ;
538535
@@ -551,6 +548,10 @@ const geowarp = function geowarp({
551548 raster_width : out_width_in_samples ,
552549 geometry : pixel_geometry_in_out_srs
553550 } ;
551+
552+ // apply band math expression, no-data mapping, and rounding when applicable
553+ const pixel = process ( { pixel : raw_values } ) ;
554+
554555 if ( cutline ) {
555556 intersect_options . per_pixel = ( { row, column } ) => {
556557 if ( segments_by_row [ row ] . some ( ( [ start , end ] ) => column >= start && column <= end ) ) {
Original file line number Diff line number Diff line change @@ -352,6 +352,12 @@ const runTileTests = async ({
352352 "13,18,9" ,
353353 "14,22,9" ,
354354 "15,23,10" ,
355+ "16,22,11" ,
356+ "16,22,12" ,
357+ "16,22,13" ,
358+ "16,23,11" ,
359+ "16,23,12" ,
360+ "16,23,13" ,
355361 "16,24,11" ,
356362 "16,24,13" ,
357363 "17,25,12" ,
You can’t perform that action at this time.
0 commit comments