Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6786 closed defect (fixed)

Setting the geometry of a MultiLineString and MultiPolygon fails

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

Description

Code like

 my $type = 'MultiLineString';
 my $geom = Geo::OGR::Geometry->new(GeometryType => $type);
 my $points = [[[1,2],[3,4]],[[5,6],[7,8]]];
 $geom->Points($points);

fails due to typos in OGR.pm.

Change History (3)

comment:1 by Ari Jolma, 7 years ago

Resolution: fixed
Status: newclosed

In 37170:

Fix the typos in OGR.pm. Fixes #6786. Add tests for this feature.

comment:2 by Even Rouault, 7 years ago

Shouldn't that be backported to 2.1 as well ?

comment:3 by Ari Jolma, 7 years ago

Fixed for branch 2.1 in r37180.

Note: See TracTickets for help on using tickets.