Skip to content

Commit

Permalink
Fix geomop bug to call covers correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-jts committed Jan 8, 2024
1 parent 0aef713 commit 5e806d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/geosop/GeometryOp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ std::vector<GeometryOpCreator> opRegistry {
catRel, "test if geometry A covers geometry B",
Result::typeBool,
[](const std::unique_ptr<Geometry>& geom, const std::unique_ptr<Geometry>& geomB) {
return new Result( geom->contains( geomB.get() ) );
return new Result( geom->covers( geomB.get() ) );
});
}},
{ "crosses", [](std::string name) { return GeometryOp::create(name,
Expand Down

0 comments on commit 5e806d6

Please sign in to comment.