Re: [gdal-dev] gdal_translation interpolation

2011-04-11 Thread Chaitanya kumar CH
Yang, gdalwarp provides a much better control over the interpolation of the data. http://www.gdal.org/gdalwarp.html On Mon, Apr 11, 2011 at 12:10 PM, kui yang wrote: > hi, > What's the interpolation method used in gdal_translate > when the size of the input dataset is changed with the > -outsi

[gdal-dev] rotate raster cells

2011-04-11 Thread Matthew Snape
I have a raster that I wish to rotate. I would like to retain the projection but create grid cells that are not aligned in the X and Y planes. Is it possible to use GDAL to make such a translation, and do drivers have support for representing data in such a way? This e-mail message and any attac

Re: [gdal-dev] Windows link issue with Poppler/PDF

2011-04-11 Thread Jeff McKenna
On 11-04-10 5:42 PM, Tamas Szekeres wrote: You may require to set: 'ENABLE_RELOCATABLE:BOOL=OFF' in CMakeCache.txt Hello Tamas, That worked, now I am able to compile GDAL with Poppler 0.16.4 through cmake. Thanks! -jeff -- Jeff McKenna MapServer Consulting and Training Services http://w

Re: [gdal-dev] rotate raster cells

2011-04-11 Thread Chaitanya kumar CH
Matthew, I did not understand exactly what you need but you may be able to use the affine transformation coordinates. They can be adjusted for displacement and rotation of the raster. See the documentation for GDALDataset::GetGeoTransform() On Mon, Apr 11, 2011 at 4:50 PM, Matthew Snape wrote:

Re: [gdal-dev] OGR_L_SetSpatialRef

2011-04-11 Thread Radim Blazek
Hi, thanks for the suggestion. I have created enhancement ticket for that http://trac.osgeo.org/gdal/ticket/4032 . Radim On Fri, Apr 8, 2011 at 2:02 PM, Even Rouault wrote: > Selon Radim Blazek : > > Radim, > > there's no API in OGR to alter the SRS of an existing layer. > > However in the parti

[gdal-dev] OGR2OGR PGeo reprojection with -sql

2011-04-11 Thread Smith, Michael D ERDC-CRREL-NH
All, Using GDAL trunk, I can read and reproject a personal geodatabase using the internal projection as the source projection. However, when I use ­sql (as I need to add a new field to the output), the source projection can no longer be read. C:\temp>ogr2ogr -t_srs EPSG:4326 -f "ESRI Shapefile"

Re: [gdal-dev] OGR2OGR PGeo reprojection with -sql

2011-04-11 Thread Chaitanya kumar CH
Mike, Can you provide the version number and perhaps a sample dataset that shows this problem? On Mon, Apr 11, 2011 at 9:51 PM, Smith, Michael D ERDC-CRREL-NH < michael.sm...@usace.army.mil> wrote: > All, > > Using GDAL trunk, I can read and reproject a personal geodatabase using > the interna

Re: [gdal-dev] OGR2OGR PGeo reprojection with -sql

2011-04-11 Thread Even Rouault
Le lundi 11 avril 2011 18:47:16, Chaitanya kumar CH a écrit : > Mike, > > Can you provide the version number and perhaps a sample dataset that shows > this problem? No, need for it. This is the "expected" behaviour by looking at the code of the PGEO driver. It will be able to fetch the SRS only

[gdal-dev] gdal_translate gif ->gtiff

2011-04-11 Thread Dori
Hi, I am trying to convert a gif map downloaded from http://aviationweather.gov/data/products/swl/ll_12_0_cl_new.gif to georeferenced tiff. I found out that the Projection used to create this GIF map is Polar Stereographic from the North Pole (90.0), center meridian 97W and height of 0. Map corn

Re: [gdal-dev] OGR2OGR PGeo reprojection with -sql

2011-04-11 Thread Smith, Michael D ERDC-CRREL-NH
Thanks Even, that worked perfectly. Mike On 4/11/11 1:29 PM, "Even Rouault" wrote: > Le lundi 11 avril 2011 18:47:16, Chaitanya kumar CH a écrit : >> Mike, >> >> Can you provide the version number and perhaps a sample dataset that shows >> this problem? > > No, need for it. This is the "exp

[gdal-dev] Problems building GDAL 1.8.0 from sources

2011-04-11 Thread Alexander Bruy
Hi all, I try to build GDAL 1.8.0 under Salckware 13.1 with GRASS support. As first step I build GDAL without GRASS support with this options ./configure --prefix=/usr \ --exec-prefix=$PKG/usr \ --with-pymoddir=/usr/lib/python/site-packages \ --with-libtiff=/usr/lib \ --with-geotiff=/usr/l

Re: [gdal-dev] Problems building GDAL 1.8.0 from sources

2011-04-11 Thread Chaitanya kumar CH
Alexander, Changing the configuration can sometimes mess up the build process. Try your latest configure command on a fresh source and build again. On Tue, Apr 12, 2011 at 12:31 AM, Alexander Bruy wrote: > Hi all, > > I try to build GDAL 1.8.0 under Salckware 13.1 with GRASS support. > As first