Re: [gdal-dev] Numerical instability with thin plate spline transform

2011-09-08 Thread Even Rouault
Le vendredi 09 septembre 2011 03:23:29, Big Bear a écrit : > The linear solver in the TPS routine is naive for any number of > reasons.1,2,3,... At the same time, one is going to suffer > considerably when the number of control points is in the thousands. > Slow to evaluate so many coefficients fo

Re: [gdal-dev] Numerical instability with thin plate spline transform

2011-09-08 Thread Big Bear
The linear solver in the TPS routine is naive for any number of reasons.1,2,3,... At the same time, one is going to suffer considerably when the number of control points is in the thousands. Slow to evaluate so many coefficients for each point. It is not such a task to improve the routine. Best

[gdal-dev] gdal2tiles.py zoom levels -- how to display "raw" pixels?

2011-09-08 Thread Jonathan Greenberg
GDALers: I'm trying to get gdal2tiles to give me a zoom level that displays the raw, full resolution, un-resampled pixels at a certain zoom level. What zoom (-z) setting should I use? I am very confused what, precisely, the zoom levels refer to in terms of pixels/unit area. My input data is a 50

RE: [gdal-dev] Redirect CPLDebug output?

2011-09-08 Thread Jim Pendleton
> Frank Warmerdam pobox.com> writes: > Ah yes, that does make it more complicated. I'm not sure of a good > way to have something done automatically at library load time. There's a JNI_OnLoad function that Java attempts to locate and execute when it loads a new .so file. I've seen the message

Re: [gdal-dev] Redirect CPLDebug output?

2011-09-08 Thread Frank Warmerdam
On Thu, Sep 8, 2011 at 11:37 AM, Jim Pendleton wrote: > Frank Warmerdam pobox.com> writes: > >> On 11-09-08 07:48 AM, Jim Pendleton wrote: >> > Is there any model for redirecting CPLDebug output from stdout to an >> > alternative path? >> >> There is no need to overwrite the high level CPLError a

RE: [gdal-dev] Redirect CPLDebug output?

2011-09-08 Thread Jim Pendleton
Frank Warmerdam pobox.com> writes: > On 11-09-08 07:48 AM, Jim Pendleton wrote: > > Is there any model for redirecting CPLDebug output from stdout to an > > alternative path? > > There is no need to overwrite the high level CPLError and CPLDebug functions. > Instead install a handler for the mes

Re: [gdal-dev] Redirect CPLDebug output?

2011-09-08 Thread Frank Warmerdam
On 11-09-08 07:48 AM, Jim Pendleton wrote: Is there any model for redirecting CPLDebug output from stdout to an alternative path? Since I have no command line or stdout in my Android activity where I call GDAL as a library, “|” and “>” are not available. I’d like the option to send the output o

[gdal-dev] Redirect CPLDebug output?

2011-09-08 Thread Jim Pendleton
Is there any model for redirecting CPLDebug output from stdout to an alternative path? Since I have no command line or stdout in my Android activity where I call GDAL as a library, "|" and ">" are not available. I'd like the option to send the output of CPLDebug to Android's LogCat or eve

RE: [WCS.swg] [gdal-dev] NetCDF and datum handling suggestion

2011-09-08 Thread Baumann, Peter
Matt, interesting discussions going on indeed. My perspective, having to model CRS request parameters for transformation etc and to establish a CRS URL resolver, is to understand a sufficiently general slate of concepts. Some of the issues of representation do not directly apply for my task (my

Re: [gdal-dev] raster2pgsql: AddRasterColumn / No function matches the given name and argument types

2011-09-08 Thread Jorge Arévalo
On Thu, Sep 8, 2011 at 2:18 PM, Sebastian Schutte wrote: > Dear gdal-dev list, > > I followed Jorge Arevalo's tutorial at > http://trac.osgeo.org/gdal/wiki/frmts_wtkraster.html in order to test > the postgis 2.0 raster support on our RHEL Linux machine. The entire > postgresql, postgis 2.0, gdal,

[gdal-dev] Numerical instability with thin plate spline transform

2011-09-08 Thread Jan Hartmann
Not sure whether this can be considered a bug, so I give it for what it is worth. I'm doing thin plate spline transformation from one set of projected coordinates to another. Both sets have values between -60 and 60 (meters). A typical set of gcps looks like: -gcp 62402 -74383 18191

[gdal-dev] raster2pgsql: AddRasterColumn / No function matches the given name and argument types

2011-09-08 Thread Sebastian Schutte
Dear gdal-dev list, I followed Jorge Arevalo's tutorial at http://trac.osgeo.org/gdal/wiki/frmts_wtkraster.html in order to test the postgis 2.0 raster support on our RHEL Linux machine. The entire postgresql, postgis 2.0, gdal, proj, and geos collection is compiled from source. I have raster supp