Re: [gdal-dev] error adding ecw on Ubuntu 10.4 (lucid)

2011-02-05 Thread Even Rouault
The error message """using /usr/lib/gdal17plugins as GDAL shared library autoload directory checking for libNCSEcw.so or libecwj2... configure: error: not found in /home/matt/src/libecwj2-3.3/Source//lib or /home/matt/src/libecwj2-3.3/Source//bin.""" leads me to think that you didn't specify the

[gdal-dev] Re: gdal_rasterize 1.8.0 options

2011-02-05 Thread Hermann Peifer
On 05/02/2011 00:06, Even Rouault wrote: Unrelated with GDAL 1.8.0. The issue was that the transformation between OGC WKT and ESRI WKT didn't handle well the Oblique Stereographic projection. Fixed in trunk in http://trac.osgeo.org/gdal/changeset/21627 Even, Once upon a time I opened http://

[gdal-dev] Re: gdal_rasterize 1.8.0 options

2011-02-05 Thread Even Rouault
Le samedi 05 février 2011 12:49:15, Hermann Peifer a écrit : > On 05/02/2011 00:06, Even Rouault wrote: > > Unrelated with GDAL 1.8.0. The issue was that the transformation between > > OGC WKT and ESRI WKT didn't handle well the Oblique Stereographic > > projection. Fixed in trunk in http://trac.os

[gdal-dev] Re: gdal_rasterize 1.8.0 options

2011-02-05 Thread Hermann Peifer
On 05/02/2011 13:12, Even Rouault wrote: I've just had a look, but not being neither Dutch nor a specialist of (stereographic) projections, I don't feel competent enough to do any action on it. Those tickets plus the reading of http://udig.refractions.net/files/docs/api- geotools/org/geotools/re

Re: [gdal-dev] Re: gdal_rasterize 1.8.0 options

2011-02-05 Thread Marius Jigmond
Even, Hermann might be right. From reading several sources: http://gge.unb.ca/Pubs/TR46.pdf http://www.manifold.net/doc/double_stereographic.htm it seems that double stereographic is oblique stereographic as long as the origin is non-equatorial or non-polar. The actual denomination "Double Stereog

Re: [gdal-dev] error adding ecw on Ubuntu 10.4 (lucid)

2011-02-05 Thread Matt Wilkie
> So you should try "sudo gdal-ecw-build /usr/local" because you "./configure" > the ECW SDK without any installation prefix. Ahh, thanks Even. That let me run gdal-ecw-build without error, though there were lots of deprecation warnings. "gdalinfo --formats |grep -i ecw" still comes back empty h

Re: [gdal-dev] error adding ecw on Ubuntu 10.4 (lucid)

2011-02-05 Thread Even Rouault
Le samedi 05 février 2011 20:18:16, Matt Wilkie a écrit : > > So you should try "sudo gdal-ecw-build /usr/local" because you > > "./configure" the ECW SDK without any installation prefix. > > Ahh, thanks Even. That let me run gdal-ecw-build without error, though > there were lots of deprecation wa

Re: [gdal-dev] error adding ecw on Ubuntu 10.4 (lucid)

2011-02-05 Thread Marius Jigmond
Did you run "sudo ldconfig"? http://trac.osgeo.org/ubuntugis/wiki/UserTutorials -marius On Sat, 2011-02-05 at 20:24 +0100, Even Rouault wrote: > Le samedi 05 février 2011 20:18:16, Matt Wilkie a écrit : > > > So you should try "sudo gdal-ecw-build /usr/local" because you > > > "./configure" the

[gdal-dev] failing in making transparency

2011-02-05 Thread ahmet temiz
hello I want to make nodata areas transparent. here is what I did: 1. $gdalinfo -mm -noct duy_cat1.tif | grep -i 'nodata' NoData Value=65535 2. gdalwarp -srcnodata 65535 -dstalpha duy_cat1.tif duy_cat14.tif But, duy_cat14.tif looks full black here is info of outputfile(duy_cat14.tif):

Re: [gdal-dev] failing in making transparency

2011-02-05 Thread Chaitanya kumar CH
ahmet, One likely reason for the dark image is that your viewer is assuming a range of 0-65535 for the alpha values. Check the histogram of the output image. In the histogram for the second band, there should be a bunch of 0 valued pixels and 255 valued pixels. Please provide a small sample image