Opened 9 years ago

Closed 9 years ago

#25583 closed New feature (fixed)

GEOSGeometry.transform should impose no constraints on SRID if called with CoordTransform

Reported by: Sergey Fedoseev Owned by: nobody
Component: GIS Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description


Change History (5)

comment:2 by Claude Paroz, 9 years ago

I'm not sure about that. I think requiring the SRID being set for a geometry to be transformed is some sort of safeguard against badly written code.
Maybe you could tell me about a use case where this behavior is problematic and where defining the proper SRID beforehand is not possible?

comment:3 by Sergey Fedoseev, 9 years ago

This behavior is problematic when you have coordinates in some custom SRS with no SRID assigned and you need to transform these coordinates.

comment:4 by Claude Paroz, 9 years ago

Triage Stage: UnreviewedAccepted
Type: UncategorizedNew feature
Version: 1.8master

OK, fair.

comment:5 by Tim Graham <timograham@…>, 9 years ago

Resolution: fixed
Status: newclosed

In a7bb5af5:

Fixed #25583 -- Allowed calling transform with CoordTransform even if SRID is invalid.

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