Opened 9 years ago

Closed 5 years ago

#3492 closed defect (fixed)

Some geometry method names in swig bindings are non-standard

Reported by: Ari Jolma Owned by: hobu
Priority: normal Milestone:
Component: SWIG (all bindings) Version: unspecified
Severity: normal Keywords:
Cc:

Description

Equal should be Equals and Intersect should be Intersects as they are the method names in the standard.

I'm going to fix this in the Perl bindings by adding aliases to the existing methods.

There are also other methods which are not using the standard names (ExportToWkt? should have an alias AsText? - already aliased in Perl bindings) and some methods are missing like StartPoint? etc.

Change History (3)

comment:1 Changed 9 years ago by Ari Jolma

new aliases added in r19164

comment:2 Changed 5 years ago by Jukka Rahkonen

Hi Ari, if you could make a detailed list of the changes that are needed it would be easier to follow this ticket and perhaps some day in the future to close is.

Equal - Equals --corrected in Perl bindings Intersect - Intersects --corrected in Perl bindings

ExportToWkt? - AsText? --not implemented

StartPoint? -- method missing

Something to add to the list?

comment:3 Changed 5 years ago by Ari Jolma

Resolution: fixed
Status: newclosed

Equals and Intersects and some other issues were fixed in r20546. Supporting other parts of the standard are left as new enhancements.

Note: See TracTickets for help on using tickets.