Skip to content

Commit

Permalink
Arrow/Parquet: fix inverted logic regarding spatial filtering of mult…
Browse files Browse the repository at this point in the history
…ipolygon with GeoArrow interleaved encoding
  • Loading branch information
rouault committed Mar 31, 2024
1 parent 54f9777 commit 8db1700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ogr/ogrsf_frmts/arrow_common/ograrrowlayer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4123,7 +4123,7 @@ inline OGRFeature *OGRArrowLayer::GetNextRawFeature()
}
}

if (nParts != 0 && m_sFilterEnvelope.Intersects(sEnvelope))
if (nParts != 0 && !m_sFilterEnvelope.Intersects(sEnvelope))
{
bSkipToNextFeature = true;
}
Expand Down

0 comments on commit 8db1700

Please sign in to comment.