Opened 12 years ago

Closed 12 years ago

#4833 closed defect (fixed)

Incorrect behavior of Geo::OGR::Geometry method Points in the case of a Point

Reported by: Ari Jolma Owned by: Ari Jolma
Priority: normal Milestone:
Component: PerlBindings Version: unspecified
Severity: normal Keywords:
Cc:

Description

The Points method of Geometry returns a reference to an array of arrayreferences for a Point geometry when it should return just a reference to an array of coordinate values. I.e., the structure is incorrectly wrapped into an array. This is due to a fix r23443, where the first change is not needed and in fact wrong.

Change History (3)

comment:1 by Ari Jolma, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in r24996 and r24997

comment:2 by Even Rouault, 12 years ago

Resolution: fixed
Status: closedreopened

Note that r24997 was a buggy commit done in 1.9.1 tag, instead of branches/1.9. I've recreated that 1.9.1 tag to its original state in r24999. So the r24997 should be redone in branches/1.9 that time.

comment:3 by Ari Jolma, 12 years ago

Resolution: fixed
Status: reopenedclosed

Fixed in r25005 for the 1.9 branch.

Note: See TracTickets for help on using tickets.