Django

Code

Ticket #9855 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

SetFromUserInput is not available to SpatialReference

Reported by: hobu Assigned to: jbronn
Milestone: 1.1 Component: GIS
Version: 1.0 Keywords: gdal srs
Cc: Triage Stage: Accepted
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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.

Attachments

Change History

12/14/08 23:23:20 changed by hobu

  • needs_better_patch changed.
  • needs_tests changed.
  • needs_docs changed.

12/15/08 08:07:49 changed by jbronn

  • keywords set to gdal srs.
  • owner changed from nobody to jbronn.
  • milestone set to post-1.0.

12/15/08 12:23:45 changed 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.

12/15/08 12:24:33 changed by jbronn

  • description changed.

01/04/09 13:37:08 changed by jbronn

  • has_patch set to 1.
  • stage changed from Unreviewed to Accepted.

02/25/09 13:51:44 changed by

  • milestone deleted.

Milestone post-1.0 deleted

03/07/09 17:02:48 changed by jbronn

  • status changed from assigned to closed.
  • resolution set to fixed.

(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.

03/09/09 18:41:04 changed by jbronn

  • milestone set to 1.1.

Add/Change #9855 (SetFromUserInput is not available to SpatialReference)




Change Properties
Action