Opened 12 years ago

Closed 12 years ago

#19865 closed Bug (invalid)

Point.transform(srid=1234) is wrong documented

Reported by: Christoph Heer Owned by: nobody
Component: GIS Version: 1.4
Severity: Normal Keywords: gis point documentation srid
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In the documentation is srid as keyword defined for the Point.transform method but the correct keyword argument is ct. There a two simple solutions, correct the kwarg in the documentation or in the code base. Also this is very confusing because there is a FutureWarning warning in 1.4.

FutureWarning: Calling transform() with no SRID will raise GEOSException in v1.5

I interpreted this to correct the method call to mypoint.transform(srid=4264) but this raise the exception that the method doesn't have this kwarg.

Best regards,
Christoph

Change History (1)

comment:1 by Claude Paroz, 12 years ago

Resolution: invalid
Status: newclosed

I think you mixed two different transform methods:

If you read somewhere in the docs that Point.transform takes a srid parameter, please give us the exact location and reopen the ticket.

Note: See TracTickets for help on using tickets.
Back to Top