Opened 6 months ago

Closed 6 months ago

Last modified 6 months 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 Changed 6 months ago by Ari Jolma

Resolution: fixed
Status: newclosed

In 37170:

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

comment:2 Changed 6 months ago by Even Rouault

Shouldn't that be backported to 2.1 as well ?

comment:3 Changed 6 months ago by Ari Jolma

Fixed for branch 2.1 in r37180.

Note: See TracTickets for help on using tickets.