#4772 closed defect (fixed)
Union of two layers may contain features with empty geometries
Reported by: | Ari Jolma | Owned by: | Ari Jolma |
---|---|---|---|
Priority: | low | Milestone: | 1.10.0 |
Component: | OGR_SF | Version: | svn-trunk |
Severity: | trivial | Keywords: | |
Cc: |
Description
A union of a layer with one polygon and a layer with one point within the polygon results in a layer with three features: point, polygon, and an empty geometrycollection. Should the geometrycollection be discarded from the result?
Change History (2)
comment:1 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 11 years ago
Note:
See TracTickets
for help on using tickets.
r25427 ogr/ogrsf_frmts/generic/ogrlayer.cpp ../autotest/ogr/ogr_layer_algebra.py -m "OGRLayer: Identity(), Union() and Intersect(): avoid creating features with null or empty geometry; when intersecting 2 polygons, do not consider a point or linear intersection as a valid one (#4772)"