#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: | no | UI/UX: | no |
Description (last modified by )
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 by , 17 years ago
comment:2 by , 17 years ago
| Keywords: | gdal srs added |
|---|---|
| milestone: | → post-1.0 |
| Owner: | changed from to |
comment:3 by , 17 years ago
| Status: | new → assigned |
|---|
comment:4 by , 17 years ago
| Description: | modified (diff) |
|---|
comment:5 by , 17 years ago
| Has patch: | set |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
comment:7 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → 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: Addedfrom_bboxclass method (patch from Christopher Schmidt) andkmlproperty.SpatialReference: Now initialize withSetFromUserInput(initialization is now more simple and flexible); removed duplicate methods.Envelope: Addedexpand_to_includemethod 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'.
comment:8 by , 17 years ago
| milestone: | → 1.1 |
|---|
Note:
See TracTickets
for help on using tickets.
When the GDAL lib is refactored for 1.1, this will be incorporated to simplify
SpatialReferenceinitialization. See this changeset for what the implementation will look like.