#31713: Adding SpatialReference to GDALRaster.transform
-------------------------------------+-------------------------------------
               Reporter:  rico-ci    |          Owner:  nobody
                   Type:  New        |         Status:  new
  feature                            |
              Component:  GIS        |        Version:  3.0
               Severity:  Normal     |       Keywords:  GDALRaster; GIS;
           Triage Stage:             |  SpatialReference
  Unreviewed                         |      Has patch:  0
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  1
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 **Current Limitation:**
 Currently a GDALRaster object can only be transformed given an integer
 target SRID value.
 However, within GDALRaster.transform this value is used to construct a
 SpatialReference object which is then assigned to variable **target_srs**.

 **Proposed Solution:**
 Allow to pass both, **integer SRID** or **SpatialReference object**, to
 the GDALRaster.transform function.
 This allows users to specify the target transform of the GDALRaster with
 SRID, PROJ4, WKT, or EPSG rather than just an integer SRID.
 This would also accommodate for custom projections which is desirable and
 provides more flexibility to the user.

 For respective code see:
 
https://github.com/django/django/blob/0d6d4e78b17d7500e1a503fd2b02fdcf822d9d3c/django/contrib/gis/gdal/raster/source.py#L428-L437

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31713>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/050.9d6324f77dddb0defc5a72004b3376a9%40djangoproject.com.

Reply via email to