Opened 13 years ago

Closed 8 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 by Ari Jolma, 13 years ago

new aliases added in r19164

comment:2 by Jukka Rahkonen, 8 years ago

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 by Ari Jolma, 8 years ago

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.