[gdal-dev] Warping with +proj=ob_tran

2014-11-26 Thread Knut-Frode Dagestad
this in [1], but the conclusion is not clear to me. [1] https://trac.osgeo.org/gdal/ticket/4285 Best regards from Knut-Frode

Re: [gdal-dev] Warping with GCPs at high latitudes

2013-01-25 Thread Knut-Frode Dagestad
On 24. jan. 2013 20:43, Even Rouault wrote: Did you try to do your suggestion at hand to actually check that your idea leads to the expected result ? This is basically a matter of running : 1) gdaltransform -s_srs EPSG:4326 -t_srs "+proj=stere +lat_0=90 +lon_0=0" on the coordinates of the GCPs o

[gdal-dev] Warping with GCPs at high latitudes

2013-01-24 Thread Knut-Frode Dagestad
P coordinates. A simpler and more pragmatic solution could be to make a separate Python script gdal_translate_gcps.py? Are there other suggestion to deal with these problems? Best regards from Knut-Frode ___ gdal-dev mailing list gdal-dev@list

Re: [gdal-dev] gdalwarp performance with many GCPs

2012-12-12 Thread Knut-Frode Dagestad
(AutoCreateWarpedVRT), but it seems to have no option to use -tps (?) - so therefore I have to call gdalwarp as system command. Knut-Frode ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] gdalwarp performance with many GCPs

2012-12-12 Thread Knut-Frode Dagestad
too close together. Are yours evenly distributed? Can you do tests with subsets of control points? On 12/12/2012 01:27 PM, Knut-Frode Dagestad wrote: Hi Jan, That sounds interesting and promising. For the mentioned file it takes about 2 minutes with "-et 5" (low accuracy), and 12

Re: [gdal-dev] gdalwarp performance with many GCPs

2012-12-12 Thread Knut-Frode Dagestad
es running? Jan On 12/12/2012 01:12 PM, Knut-Frode Dagestad wrote: Hi list, When warping images with many GCPs, the -tps switch (Thin Plate Spline) is found to be necessary to get decent accuracy. This makes however warping very slow. The only method I found to increase speed is the -et switch, bu

[gdal-dev] gdalwarp performance with many GCPs

2012-12-12 Thread Knut-Frode Dagestad
llowing file and command on Ubuntu: http://dl.dropbox.com/u/15885758/testgcp.tif (3212 GCPs and 2048x2511 pixels covering Southern Europe) time gdalwarp --debug on -et 5 -tps -t_srs '+proj=merc' testgcp.tif out.tif (+ other swithces mentioned a

Re: [gdal-dev] Warping quality with small geolocation arrays

2012-11-26 Thread Knut-Frode Dagestad
. Thank you for looking into this. Best regards from Knut-Frode Den 26.11.2012 22:14, skrev Frank Warmerdam: On 12-11-26 12:11 PM, Knut-Frode Dagestad wrote: Dear list, Warping datasets with geolocation arrays works fine if the arrays have the same size as the other raster bands. However, if the

[gdal-dev] Warping quality with small geolocation arrays

2012-11-26 Thread Knut-Frode Dagestad
a workaround I convert the geolocation arrays to GCPs. This gives decent warping quality, but is a bit awkward. Is this the expected behavior of the present implementation of geolocation arrays in GDAL? Best regards from Knut-Frode ___ gdal-dev

[gdal-dev] Temporal statistics

2012-07-13 Thread Knut-Frode Dagestad
h a 3D Dataset? The rasters are large and timeseries long, so reading everything into a Python NumPy cube is not a good solution. Thanks, Knut-Frode ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Re: reading NOAA-19 AVHRR

2012-03-01 Thread Knut-Frode Dagestad
d not sure if endianness is relevant at all? I could make available a sample file for anyone interested to look at the problem. Best regards from Knut-Frode On 28. feb. 2012 17:06, Even Rouault wrote: Knut-Frode, I've skimmed quickly through the driver code and if you are lucky, it is p

[gdal-dev] reading NOAA-19 AVHRR

2012-02-28 Thread Knut-Frode Dagestad
find any software to convert such images to a format which can be read by GDAL. Does anyone have some hints? Best regards from Knut-Frode ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Converting between row/col numbers of two datasets

2012-01-18 Thread Knut-Frode Dagestad
-image from row/col of the geotransform-image. Can anyone explain why then the direct transformation does not work? I suspect a small fix could possibly solve this problem? Best regards from Knut-Frode [1] http://trac.osgeo.org/gdal/ticket/4442 [2] http://www.gdal.org/gdal__alg_8h.html#767169

[gdal-dev] Longitude and latitude raster bands

2012-01-10 Thread Knut-Frode Dagestad
, e.g. defined as 0 for pixels where north is "up" (as it would always be in a lon-lat or Mercator projection). This angle is relevant e.g. when one want to know the sensor look direction for satellite images. Best regards from Knut-Frode __

[gdal-dev] Warping onto an image with only GCPs

2011-12-15 Thread Knut-Frode Dagestad
lg_8h.html#94cd172f78dbc41d6f407d662914f2e3 But there is no corresponding option to force use of GCP_POLYNOMIAL for the *destination* dataset. I guess this is a bad sign? Thank you for any help! Knut-Frode ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.o

[gdal-dev] Re: discussion on improvements to the NetCDF driver and CF-1 convention

2011-08-26 Thread Knut-Frode Dagestad
vertical axis) in GDAL would be ideal, but that would probably be too much an effort for anyone to develop. Knut-Frode Nansen Environmental and Remote Sensing Center On 24/08/2011 22:37, Etienne Tourigny wrote: Hi all, I would like to start a discussion with those interested about fixing

[gdal-dev] Re: How to get the ENVISAT N1 Main Processing parameters

2011-05-16 Thread Knut-Frode Dagestad
software. The incidence angles are stored in a small grid at the same size as the GCP´s, (order of 100 elements), which does not fit very nicely into the GDAL datamodel - it would probably have to be stored as a list of metadata strings. Best regards from Knut-Frode On 15/05/2011 18:18

[gdal-dev] Re: VRT Derived Bands from Python?

2011-05-13 Thread Knut-Frode Dagestad
On 13/05/2011 19:07, Even Rouault wrote: I had also a similar error on Linux, but it worked despite the error. I have pushed a fix in trunk to silent that error. You can try to add a printf() statement in your GDALRegisterMe function to check if it is loaded correctly. You are right, it works

[gdal-dev] Re: VRT Derived Bands from Python?

2011-05-13 Thread Knut-Frode Dagestad
Any ideas what is wrong? OS is Mac OS X 10.6.7. I am not a C expert. Best regards from Knut-Frode ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Re: VRT Derived Bands from Python?

2011-05-13 Thread Knut-Frode Dagestad
and inversions. I.e. things that are better done in C than in Python. Best regards from Knut-Frode On 11/05/2011 21:05, Antonio Valentino wrote: Hi Even, hi Knut-Frode, Il 11/05/2011 20:08, Even Rouault ha scritto: Le mercredi 11 mai 2011 11:53:55, Knut-Frode Dagestad a écrit : Hi

[gdal-dev] VRT Derived Bands from Python?

2011-05-11 Thread Knut-Frode Dagestad
not be used by command line utilities (e.g. gdalwarp and gdal_translate) or from Python? Best regards from Knut-Frode ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Interpolate one image onto another

2011-05-02 Thread Knut-Frode Dagestad
iting to file. Best regards from Knut-Frode ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Re: dev-version of HDF4

2011-04-20 Thread Knut-Frode
standard HDF4-libraries I have used. The "lib not found" message from GDAL configure seems to be misleading. Best regards from Knut-Frode Den 20.04.2011 17:03, skrev Nikolaos Hatzopoulos: when does the gcc you must have: -L/Users/knutfd/Software/hdf-4.2.5/lib in order to fi

[gdal-dev] Re: dev-version of HDF4

2011-04-20 Thread Knut-Frode Dagestad
d to use a "dev" version of HDF4, but I don't know if that would solve this problem? Best regards from Knut-Frode On 19/04/2011 21:51, Nikolaos Hatzopoulos wrote: hdf4 libraries not found that's what the log says :) do a locate libhdf4 to see where the library is On Tue,

[gdal-dev] dev-version of HDF4

2011-04-19 Thread Knut-Frode Dagestad
e (and also http://trac.osgeo.org/gdal/wiki/BuildingOnUnix) suggests to try a "hdf-dev" version. But where can I find such "dev-versions", in my case for Mac OS X 10.6.7? Would it be possible to update GDAL to work with standard HDF4 libr

[gdal-dev] Re: GDAL drivers written in Python

2011-04-07 Thread Knut-Frode Dagestad
ol and lon/lat does not work since there are errors (contradictions) in the list of GCP's (e.g.: http://trac.osgeo.org/gdal/ticket/3709). Or is there another explanation? Best regards from Knut-Frode On 07.04.2011 13:31, Even Rouault wrote: Selon Knut-Frode Dagestad: Hi Even, On 06

[gdal-dev] Re: GDAL drivers written in Python

2011-04-07 Thread Knut-Frode Dagestad
ops/WS%206/ESA%20SAR%20Products%20for%20Interferometry.pdf Best regards from Knut-Frode ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Re: GDAL drivers written in Python

2011-04-07 Thread Knut-Frode Dagestad
ntonio has very similar needs and interests as our group. Best regards from Knut-Frode ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Re: GDAL drivers written in Python

2011-04-06 Thread Knut-Frode Dagestad
APIs for additional readers. But it is getting a bit messy to mix Python, C and Java in a multi-platform environment (Linux, Mac and Windows). Best regards from Knut-Frode On 06.04.2011 10:13, Antonio Valentino wrote: Hi Knut-Frode, Il giorno Wed, 06 Apr 2011 09:51:42 +0200 Knut-Frode

[gdal-dev] GDAL drivers written in Python

2011-04-06 Thread Knut-Frode Dagestad
? Best regards from Knut-Frode ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev