Re: [gdal-dev] Strange error on gdalAllRegister()

2011-07-01 Thread Frank Warmerdam
On 11-07-01 04:29 PM, Rodolfo Bonnin wrote: Hello All, I'm writing two new drivers ( For ALOS PRISM and AVNIR-2 ) and I'm trying to add them to the list of drivers. I've added them to gdal_frmts.h: void CPL_DLL GDALRegister_PRISM(void) void CPL_DLL GDALRegister_AVNIR2(void) ... gdalallregist

[gdal-dev] C# bindings - ReadRaster & WriteRaster overloads in Band class

2011-07-01 Thread James Domingo
A question about the GDAL C# bindings. The overloads for the ReadRaster and WriteRaster methods in the Band class take several different type of buffers: ReadRaster(..., byte[] buffer, ...) ReadRaster(..., short[] buffer, ...) ReadRaster(..., int[] buffer, ...) ReadRaster(..., float[] bu

Re: [gdal-dev] Motion: Commit Access for Antonio Valentino

2011-07-01 Thread Even Rouault
Le mercredi 29 juin 2011 22:37:52, Even Rouault a écrit : > Motion: Extend GDAL/OGR Commit Access to Antonio Valentino I declare this motion passed with support from PSC members EvenR, FrankW, TamasS, AndreyK and HowardB and with non-PSC member AntonK. Antonio, I'll let Frank deal with the pract

Re: [gdal-dev] Strange error on gdalAllRegister()

2011-07-01 Thread Even Rouault
Le vendredi 01 juillet 2011 22:29:45, Rodolfo Bonnin a écrit : > Hello All, > > I'm writing two new drivers ( For ALOS PRISM and AVNIR-2 ) and I'm trying > to add them to the list of drivers. > > I've added them to gdal_frmts.h: > > void CPL_DLL GDALRegister_PRISM(void) > void CPL_DLL GDALRegist

Re: [gdal-dev] GDAL Stretch image

2011-07-01 Thread Even Rouault
Le vendredi 01 juillet 2011 10:57:35, Solimyr a écrit : > Do you know how stretch an image using GDAL? Is this possible? If not, what > method can I use? > I need to stretch to Byte but in an equalized mode! I know that there is > the scale tool in gdal but I don't know how make the stretch! Are y

Re: [gdal-dev] GDAL/OGR projection problem only with epsg:3785/900913

2011-07-01 Thread Even Rouault
Le vendredi 01 juillet 2011 16:16:15, Smith, Michael ERDC-CRREL-NH a écrit : > All, > > I¹m using GDAL (1.9dev r22508) and getting errors only when reprojecting > (raster or vector) to any of the Google Mercator projections. On a number > of linux boxes I have, this works fine, but, on a couple i

[gdal-dev] Strange error on gdalAllRegister()

2011-07-01 Thread Rodolfo Bonnin
Hello All, I'm writing two new drivers ( For ALOS PRISM and AVNIR-2 ) and I'm trying to add them to the list of drivers. I've added them to gdal_frmts.h: void CPL_DLL GDALRegister_PRISM(void) void CPL_DLL GDALRegister_AVNIR2(void) And provisionally, I've added them to gdalallregister.cpp, joini

Re: [gdal-dev] Precision Mystery (FGDB)

2011-07-01 Thread Ragi Burhum
That makes a lot of sense. Perhaps we should use the default values that are hardcoded in ArcGIS when a new FGDB gets created? If someone uses other values, then they may get the slight snapping effect, which would be OK in that case? thoughts? On Fri, Jul 1, 2011 at 11:13 AM, Paul Ramsey wrote:

Re: [gdal-dev] Precision Mystery (FGDB)

2011-07-01 Thread Paul Ramsey
Nope, it's the Origin and Scale, which between them form a snapping grid. Unless your point is on the grid, it'll be snapped to a new location when inserted into file. So my problem was that in my process FGDB1>PostGIS>FGDB2 the grid in FGDB2 was different from that of FGDB1. So everything got sl

Re: [gdal-dev] gdalinfo fails on jpeg2000 compressed nitf

2011-07-01 Thread Even Rouault
Le vendredi 01 juillet 2011 16:29:29, Cole, Derek a écrit : > Hello, > > I have been trying to use the v2 OpenJPEG2000 driver with GDAL to read NITF > files that have been compressed with jpeg2000. > > When I am trying to actually load these files and display them, my software > sometimes succeed

Re: [gdal-dev] Precision Mystery (FGDB)

2011-07-01 Thread Ragi Burhum
Paul, The one line that I think is making the difference is true because, if memory serves me right, it kicks in logic for using 64bit-coordinates internally (actually I remember something about the sign and the mantissa being 53bits - can't recall exactly). ESRI migrated to what they call high

Re: [gdal-dev] Re: "disformed" images in its positions

2011-07-01 Thread Chaitanya kumar CH
Frederick, GDAL considers the position (0.0,0.0) as the top left part of the top left pixel [1]. So, the center of the top left pixel would be (0.5,0.5). This could be the cause of the linear shift. [1]: http://www.gdal.org/gdal_datamodel.html (Affine GeoTransform) On Thu, Jun 30, 2011 at 7:39 P

[gdal-dev] gdalinfo fails on jpeg2000 compressed nitf

2011-07-01 Thread Cole, Derek
Hello, I have been trying to use the v2 OpenJPEG2000 driver with GDAL to read NITF files that have been compressed with jpeg2000. When I am trying to actually load these files and display them, my software sometimes succeeds, sometimes fails, sometimes gives bogus results. I also occaisionally

Re: [gdal-dev] GDAL/OGR projection problem only with epsg:3785/900913

2011-07-01 Thread Jean-Claude Repetto
On 07/01/11 16:16, Smith, Michael ERDC-CRREL-NH wrote: All, I’m using GDAL (1.9dev r22508) and getting errors only when reprojecting (raster or vector) to any of the Google Mercator projections. I don't know if it is related to your problem, but the correct code for Google Pseudo Mercator is

[gdal-dev] GDAL/OGR projection problem only with epsg:3785/900913

2011-07-01 Thread Smith, Michael ERDC-CRREL-NH
All, I¹m using GDAL (1.9dev r22508) and getting errors only when reprojecting (raster or vector) to any of the Google Mercator projections. On a number of linux boxes I have, this works fine, but, on a couple its a problem. The only difference on the problem boxes that I can see is that they have

[gdal-dev] GDAL Stretch image

2011-07-01 Thread Solimyr
Do you know how stretch an image using GDAL? Is this possible? If not, what method can I use? I need to stretch to Byte but in an equalized mode! I know that there is the scale tool in gdal but I don't know how make the stretch! Thx -- View this message in context: http://osgeo-org.1803224.n2.na

Re: [gdal-dev] Re: GDAL Native Libraries 1.4.5b for Linux64 not available

2011-07-01 Thread Daniele Romagnoli
Ok Andy, I have re-uploaded them. Please, let me know if you still have any issue. Regards, Daniele On Fri, Jul 1, 2011 at 10:04 AM, Daniele Romagnoli < daniele.romagn...@geo-solutions.it> wrote: > Mmm... > It's the second time users report that some links are broken (not sure why > since they