#31766: Avoid unneccessary computation in GDALRaster.transform().
--------------------------------------+------------------------------------
     Reporter:  Riccardo              |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  GIS                   |                  Version:  master
     Severity:  Normal                |               Resolution:
     Keywords:  GDALRaster; GIS       |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  1                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Changes (by felixxm):

 * cc: Daniel Wiesmann (added)


Comment:

 > Does it need to implement `def clone` for `GDALRaster`?

 Yes.

 > If so, should we use `copy_ds` from `django.contrib.gis.gdal.prototypes`
 to copy the `ds_input` and create a new `GDALRaster` object?

 Probably, I'm not an expert.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31766#comment:4>
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/065.46bc23c02c7dad30d08fd61b8db8b9e6%40djangoproject.com.

Reply via email to