Opened 15 years ago
Closed 15 years ago
#3089 closed defect (fixed)
Error in classify.py Python sample
Reported by: | Daniel Morissette | Owned by: | Daniel Morissette |
---|---|---|---|
Priority: | normal | Milestone: | 1.7.0 |
Component: | PythonBindings | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
The gdal/swig/python/samples/classify.py sample calls numpy.ones() and numpy.zeros() with the arguments in the incorrect order. It will presumably work for square images but fails on images where xsize != ysize
Note:
See TracTickets
for help on using tickets.
I'll commit a fix in trunk now.