Re: [gdal-dev] Reproject Landsat USGS image

2011-03-29 Thread Frank Warmerdam
On 11-03-28 05:10 AM, Luisa Peña wrote: Hello I got a reply to my message stating that " GDAL ignores a flag in the GEOTIF specification that says whether the coordinates are for the center or the lower-left of each pixel. " Is this true? It's exacly what I am obtaining and what Markus Neteler

Re: [gdal-dev] Outputting to /vsimem/

2011-03-29 Thread Even Rouault
Le mercredi 30 mars 2011 00:56:52, Bborie Park a écrit : > Hi, > > I'm wondering as to scope of /vsimem/ in the situation of more than one > GDAL processes running simultaneously. > > Say for example GDAL process #1 is making use of /vsimem/dump.dat. Now, > if GDAL process #2 is looking to creat

[gdal-dev] Outputting to /vsimem/

2011-03-29 Thread Bborie Park
Hi, I'm wondering as to scope of /vsimem/ in the situation of more than one GDAL processes running simultaneously. Say for example GDAL process #1 is making use of /vsimem/dump.dat. Now, if GDAL process #2 is looking to create and make use of a file at path /vsimem/dump.dat. Does each proc

Re: [gdal-dev] Using MEM driver to output to an gtiff in /vsimem/

2011-03-29 Thread Bborie Park
What does not seem to work is if I use CreateCopy with a /vsimem/ path. rtn_ds = GDALCreateCopy( rtn_drv, "/vsimem/out.tif", src_ds, FALSE, options, NULL, NULL ); --> Here, you must close the dataset so it to be properly flushed before ge

Re: [gdal-dev] Using MEM driver to output to an gtiff in /vsimem/

2011-03-29 Thread Even Rouault
Le mercredi 30 mars 2011 00:17:17, Bborie Park a écrit : > Hi, > > What I'm attempting to do is write some code to do the following: > > PostGIS Raster -> GDAL MEM -> user specified GDAL output format in > /vsimem/ (e.g. GTiff) -> return contents of the output file to user > > I'm able to succes

Re: [gdal-dev] Using MEM driver to output to an gtiff in /vsimem/

2011-03-29 Thread Bborie Park
On 03/29/2011 03:17 PM, Bborie Park wrote: Hi, What I'm attempting to do is write some code to do the following: PostGIS Raster -> GDAL MEM -> user specified GDAL output format in /vsimem/ (e.g. GTiff) -> return contents of the output file to user I'm able to successfully create a MEM dataset

[gdal-dev] Using MEM driver to output to an gtiff in /vsimem/

2011-03-29 Thread Bborie Park
Hi, What I'm attempting to do is write some code to do the following: PostGIS Raster -> GDAL MEM -> user specified GDAL output format in /vsimem/ (e.g. GTiff) -> return contents of the output file to user I'm able to successfully create a MEM dataset with raw band data specified using the DA

Re: [gdal-dev] OGR S57 write support

2011-03-29 Thread Frank Warmerdam
On 11-03-29 03:38 PM, slava_l wrote: Good day everyone! I am a new OGR user, using S57 driver to write some data (like soundings and isobaths). Could somebody help me to find any docs or provide some example how to write isobath into the file? I can't find any docs neither over the Internet nor

[gdal-dev] OGR S57 write support

2011-03-29 Thread slava_l
Good day everyone! I am a new OGR user, using S57 driver to write some data (like soundings and isobaths). Could somebody help me to find any docs or provide some example how to write isobath into the file? I can't find any docs neither over the Internet nor at the GDAL.org Actually, I made S57 f

Re: [gdal-dev] Issue with Configure for cross compiling GDAL and make

2011-03-29 Thread Chaitanya kumar CH
Pradeep, These kind of errors resolve themselves if you run it after a "make clean" or on a new copy of the source. On Tue, Mar 29, 2011 at 11:40 PM, PradeepKumar Penchala < pradeepkumar.pench...@iiitb.net> wrote: > Hello, > > When I am running make command, I am getting some errors at the end o

[gdal-dev] Issue with Configure for cross compiling GDAL and make

2011-03-29 Thread PradeepKumar Penchala
Hello, When I am running make command, I am getting some errors at the end of its execution: make[1]: Entering directory `/home/gise/Desktop/Pradeep/gdal-1.8.0/apps' /bin/sh /home/gise/Desktop/Pradeep/gdal-1.8.0/libtool --mode=link g++ gdalinfo.lo /home/gise/Desktop/Pradeep/gdal-1.8.0/libgdal.l

Re: [gdal-dev] gdal_translate gif->gtiff warning

2011-03-29 Thread Frank Warmerdam
On 11-03-29 12:22 PM, Dori wrote: Hi, I am trying to convert this GIF https://picasaweb.google.com/izzybitsie/GDALImage?feat=directlink to gtiff. I used this command after assuming projection was lcc: *gdal_translate -of GTiff -a_s

[gdal-dev] gdal_translate gif->gtiff warning

2011-03-29 Thread Dori
Hi, I am trying to convert this GIF https://picasaweb.google.com/izzybitsie/GDALImage?feat=directlinkto gtiff. I used this command after assuming projection was lcc: *gdal_translate -of GTiff -a_srs '+proj=lcc +lon_0=-95 +lat_0=25 lat

Re: [gdal-dev] Re: Warping ECMWF's grib file

2011-03-29 Thread Frank Warmerdam
On 11-03-29 06:44 AM, António Rocha wrote: Driver: GRIB/GRIdded Binary (.grb) Files: c:\Test_areas\area8.grib Size is 15, 5 Coordinate System is: GEOGCS["Coordinate System imported from GRIB file", DATUM["unknown", SPHEROID["Sphere",6367470,0]], PRIMEM["Greenwich",0], UNIT["degree",0.017453292519

Re: [gdal-dev] RGB bands

2011-03-29 Thread Chaitanya kumar CH
Emilio, You can create a new GeoTIFF with just the three bands you need using gdal_translate utility with the -b option. http://www.gdal.org/gdal_translate.html 2011/3/29 Emilio de Torres Fernández > Hello, > > I have a GeoTIFF image with 5 bands and I need to transform it to a > GeoTIFF with t

[gdal-dev] RGB bands

2011-03-29 Thread Emilio de Torres Fernández
Hello, I have a GeoTIFF image with 5 bands and I need to transform it to a GeoTIFF with these values: - Red = band 3. - Green = band 2. - Blue = band 1. How can I do that? Would I need to delete bands 4 and 5? Best regards. ___ gdal-dev mailing list g

Re: [gdal-dev] Re: GDAL18 binary for Windows

2011-03-29 Thread Jorge Arévalo
Hi, The link I sent contains ready-to-use GDAL installers. The installer simply copy the GDAL binaries at their locations, like gdalwin32exe160. I think you should be able to use them in the same way. On Tue, Mar 29, 2011 at 12:53 PM, katrin eggert wrote: > > Jorge have me this link: http://vbk

[gdal-dev] Re: GDAL18 binary for Windows

2011-03-29 Thread katrin eggert
Jorge have me this link: http://vbkto.dyndns.org/sdk/ but these are not ready-to-use GDAL like this one: http://download.osgeo.org/gdal/win32/1.6/gdalwin32exe160.zip So is there any update of these ready to use gdal versions? Thanks Kat 2011/3/28 katrin eggert > Greetings > > I saw that a new GDA

[gdal-dev] Re: Warping ECMWF's grib file

2011-03-29 Thread António Rocha
annot be displayed. Can anyone give me a tip on how to warp this file? (the problem is not the grib but the longitude coordinates) Thankls Antonio __ Information from ESET NOD32 Antivirus, version of virus signature database 5996 (20110329) __ The message was checked by ESET NOD32 Antivirus

[gdal-dev] Re: [GRASS-dev] Error with r.to.vect- Solved?

2011-03-29 Thread António Rocha
eekly Linux binary snapshot which has LFS enabled. Markus __ Information from ESET NOD32 Antivirus, version of virus signature database 5995 (20110329) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __ Information from ESET NOD32 Anti