|
Re: GDALNumeric.SaveArray : Unable to access numpy arrays of typecode "@": msg#00158gis.gdal.devel
Gagan Tandon wrote: Dear Friends, Gagan, As Gillian mentioned this is a problem with using internal definitions for array structures and enumerations. The default build on windows was doing this. I have changed things around a bit to deal with this better: o By default HAVE_NUMPY is now defined in nmake.opt. If you have python but not Numeric includes files on your system, you would need to comment this out to build. This should ensure that we *normally* get the right definitions from now on in windows builds. o I have modified gdal_py.py to include a more recent list of the numpy type codes, which is enough to fix this problem for some situations. o I have modified the Open() method of the NUMPY driver to issue a warning explaining the issue if we called with an "internal definitions" build. So, you can update from CVS and rebuild or just do the change that Gillian suggested. Hopefully people will stop running into this problem after the next major release. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@xxxxxxxxx light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: GDALNumeric.SaveArray : Unable to access numpy arrays of typecode "@": 00158, Gillian Walter |
|---|---|
| Next by Date: | Re: GDALNumeric.SaveArray : Unable to access numpy arrays of typecode "@": 00158, Gagan Tandon |
| Previous by Thread: | Re: GDALNumeric.SaveArray : Unable to access numpy arrays of typecode "@"i: 00158, Gillian Walter |
| Next by Thread: | Re: GDALNumeric.SaveArray : Unable to access numpy arrays of typecode "@": 00158, Gagan Tandon |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |