Re: [gdal-dev] Wrong number or type of arguments for overloaded function'CoordinateTransformation_TransformPoint'

2015-03-20 Thread Michael Aye
Even Rouault even.rouault at spatialys.com writes: Brendan, thanks for the follow-up. I've just committed a fix so that the error report is hopefully clearer now: $ python swig/python/samples/tolatlong.py 0 0 byte.png ERROR: Cannot import projection '' Even I am struggling

[gdal-dev] PDS Reader error

2014-12-08 Thread K . -Michael Aye
]: gdal.VersionInfo() Out[10]: '1110100' Regards, Michael — Michael Aye Cassini UVIS and MAVEN IUVS team LASP, Boulder CO ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] python downsample API?

2012-04-11 Thread K . -Michael Aye
Dear all, is there a Python API for downsampling a huge dataset? What I would like to do: * get my dataset * read out RasterXSize and RasterYSize * calculate how many lines and rows I need to skip to get a quick overview image, e.g. 10 lines to skip. * Have a ReadAsArray interface where I can

[gdal-dev] Lost in projections

2011-02-27 Thread K . -Michael Aye
I just can't get my head around it... :( I have a Mars DEM rasterdata set that is projected in polar stereographic with this Wkt: PROJCS[POLAR_STEREOGRAPHIC MARS, GEOGCS[GCS_MARS, DATUM[D_MARS, SPHEROID[MARS,3396190,169.8944472236118]],

[gdal-dev] What's the best/simplest gdal binary for Windows 7?

2011-02-22 Thread K . -Michael Aye
Dear all, I am providing some python/gdal based libraries to Windows 7 users who are no programmers, so no mingw or VisualStudio is available and I am a Mac User. Which of the several should I recommend them to install? Best regards, Michael

[gdal-dev] GDALGetRandomRasterSample in gdalinfo.py

2011-01-25 Thread K . -Michael Aye
Dear all, I am puzzled how this function works in the current gdalinfo.py from here: http://svn.osgeo.org/gdal/trunk/gdal/swig/python/samples/gdalinfo.py because I can't see any 'import' that would make this function known? Could somebody lift the veil for me? ;) Best regards, Michael

[gdal-dev] Re: KyngChaos Frameworks: GDAL's numpy vs Enthought's numpy

2010-05-06 Thread K . -Michael Aye
, 2010, at 9:19 AM, K.-Michael Aye wrote: ahh, thank you very much! Thanks to your update using Numpy1.4.1 Isuccessfully married your GDAL frameworks with EPD. and I lived happily ever after having all I needed.. (that is, untilthe next cool software comes along. ;) Have a great week! Best

[gdal-dev] Driver registering in Python required?

2010-05-06 Thread K . -Michael Aye
Dear all, is registering of drivers still (or at all) required in Python? In the API tutorial i see: import gdal from gdalconst import * dataset = gdal.Open( filename, GA_ReadOnly ) if dataset is None: ... I am just puzzled because the first sentence of the tutorial states it's

[gdal-dev] Re: KyngChaos Frameworks: GDAL's numpy vs Enthought's numpy

2010-05-04 Thread K . -Michael Aye
+0200, William Kyngesburye said: Thanks. I probably would have forgotten to check before building andpackaging GDAL 1.7.2 this weekend. On Apr 30, 2010, at 8:54 AM, K.-Michael Aye wrote: Hi William, Numpy1.4.1 has been released, just to let you know. *hint,hint* ;) Best regards and a nice

[gdal-dev] Re: KyngChaos Frameworks: GDAL's numpy vs Enthought's numpy

2010-05-04 Thread K . -Michael Aye
.-Michael Aye wrote: ahh, thank you very much! Thanks to your update using Numpy1.4.1 Isuccessfully married your GDAL frameworks with EPD. and I lived happily ever after having all I needed.. (that is, untilthe next cool software comes along. ;) Have a great week! Best regards, Michael On 2010-04

[gdal-dev] Re: KyngChaos Frameworks: GDAL's numpy vs Enthought's numpy

2010-04-30 Thread K . -Michael Aye
Hi William, Numpy1.4.1 has been released, just to let you know. *hint,hint* ;) Best regards and a nice weekend! Michael ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Re: KyngChaos Frameworks: GDAL's numpy vs Enthought's numpy

2010-04-21 Thread K . -Michael Aye
On 2010-04-21 18:17:35 +0200, Christopher Barker said: William Kyngesburye wrote: The problem is in Enthought's python, for using the retracted numpy, and they need to update their numpy (which could be a while if they don't want to use RC versions). I'm afraid I can't support using numpy

[gdal-dev] KyngChaos Frameworks: GDAL's numpy vs Enthought's numpy

2010-04-19 Thread K . -Michael Aye
Hi! I am using quite successfully KyngChaos' Frameworks for GDAL (Thank you, William!) with a custom Python install from python.org on OSX. This install already includes most of the stuff I need for my daily work (numpy,scipy,matplotlib). But sometimes I need something special like mayavi2

[gdal-dev] Re: KyngChaos Frameworks: GDAL's numpy vs Enthought's numpy

2010-04-19 Thread K . -Michael Aye
GDAL python *should* be able to use a later version of numpy than it wasbuilt for, it's only the python side of the interface that it caresabout, but I don't know what be happening at compile time that mightlock it in to a specific version of numpy, and python can be picky. If you are

[gdal-dev] Re: VRT creation with Python

2010-03-26 Thread Michael Aye
Frank Warmerdam wrote: There is no public GDAL API for modifying the sourcefilename of a VRT. Can you not just create the VRT files programmatically by inserting the filename in a template text file? I can, but that's still more coding than with my idea of manipulating meta-data,

[gdal-dev] VRT creation with Python

2010-03-23 Thread Michael Aye
Dear all, I have some, as of yet unpublished, PDS data I am reading via a well working simple vrt definition looking like this: VRTDataset rasterXSize=1092 rasterYSize=1056 VRTRasterBand dataType=UInt16 band=1 subClass=VRTRawRasterBand SourceFilename