Opened 8 years ago

Closed 7 years ago

Last modified 5 years ago

#9855 closed (fixed)

SetFromUserInput is not available to SpatialReference

Reported by: hobu Owned by: jbronn
Component: GIS Version: 1.0
Severity: Keywords: gdal srs
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description (last modified by jbronn)

Input that is not recognized by SpatialReference's __init__ should be attempted to be passed to OSRSetFromUserInput to see if GDAL can recognize it. GDAL can recognize much more input than the __init__ currently checks for, like URNs, URLs, and miscellaneous types of SRS's.

Change History (9)

comment:1 Changed 8 years ago by hobu

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 8 years ago by jbronn

  • Keywords gdal srs added
  • milestone set to post-1.0
  • Owner changed from nobody to jbronn

comment:3 Changed 8 years ago by jbronn

  • Status changed from new to assigned

When the GDAL lib is refactored for 1.1, this will be incorporated to simplify SpatialReference initialization. See this changeset for what the implementation will look like.

comment:4 Changed 8 years ago by jbronn

  • Description modified (diff)

comment:5 Changed 8 years ago by jbronn

  • Has patch set
  • Triage Stage changed from Unreviewed to Accepted

comment:6 Changed 7 years ago by anonymous

  • milestone post-1.0 deleted

Milestone post-1.0 deleted

comment:7 Changed 7 years ago by jbronn

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [9985]) Maintenance refactor of the GDAL (OGR) ctypes interface. Changes include:

  • All C API method explictly called from their prototype module, no longer imported via *.
  • Applied DRY to C pointer management, classes that do so subclass from GDALBase.
  • OGRGeometry: Added from_bbox class method (patch from Christopher Schmidt) and kml property.
  • SpatialReference: Now initialize with SetFromUserInput (initialization is now more simple and flexible); removed duplicate methods.
  • Envelope: Added expand_to_include method and now allow same coordinates for lower left and upper right points. Thanks to Paul Smith for tickets and patches.
  • OGRGeomType: Now treat OGC 'Geometry' type as 'Unknown'.

Fixed #9855, #10368, #10380. Refs #9806.

comment:8 Changed 7 years ago by jbronn

  • milestone set to 1.1

comment:9 Changed 5 years ago by jacob

  • milestone 1.1 deleted

Milestone 1.1 deleted

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