#5089 closed defect (fixed)
OGR Layer Algebra Mixed Fields If Precreated
Reported by: | warmerdam | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | OGR_SF | Version: | unspecified |
Severity: | normal | Keywords: | layer algebra |
Cc: | Ari Jolma |
Description
When using OGRLayer::Intersection() with an output layer that has the fields precreated, then handling of fields from the method layer is mixed up.
The problem is demonstrated in the second test of algebra_intersection() in autotest/ogr/ogr_layer_algebra.py after the patch. The fix is in set_result_schema() in ogrlayer.cpp.
Change History (3)
follow-up: 3 comment:1 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Test added in trunk (r26014), and bug fixed in trunk (r26013).
Fixed in 1.10 branch (r26016).