[gdal-dev] can't open grib2 files

2009-06-29 Thread Alberto Pettazzi
Dear All, I am not able to open grib2 files with GDAL. For example, in the attached file http://rapidshare.com/files/249911240/MPE_20090629_0900_M9_00.rar.html I succeed in obtaining information about the file with GDALINFO command, but I cannot convert it into a GTiff (using gdal_translate

[gdal-dev] including GCP file for gdal_translate

2009-06-29 Thread NarmadhaK
Hi, I am trying to layer stack 7 bands from Raw landsat image. I have been provided with 7 tif files one for each band (with no proj) A separate GCP file (.txt) with nearly 90 GCPs has been provided too. I want to input all the GCPs into gdal_translate. I am using FWTools to work with gdal. Is

[gdal-dev] Reading ALOS - AVNIR-2 Level 0

2009-06-29 Thread Bascetta Marco
Hi all, anyone knows how can I read an ALOS AVNIR-2 level 0 data with GDAL? Thanks for any advice. Regards Marco ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] including GCP file for gdal_translate

2009-06-29 Thread Chaitanya kumar CH
Narmadha, gdal_translate cannot 'stack' multiple images into one. One way is to use gdal_merge.py with the -seperate option to create a single tif file and then use gdal_translate to intorduce the projection with the GCPs. To make it easy to mention the GCPs to gdal_translate you could use --optfi

[gdal-dev] Re:[FWTools] GDALRasterizeGeometries() and Python

2009-06-29 Thread Matthieu Rigal
Hi Frank and GDAL-dev team, By reading the following message and unsuccessfully searching for documentation and possibilities to rasterize geometries, I would be pleased to know if the Python bindings for GDALRasterizeGeometries() are still somehow planned. If no bindings are planned is there

Re: [gdal-dev] can't open grib2 files

2009-06-29 Thread Robin Princeley
There is a ticket for GRIB ( http://trac.osgeo.org/gdal/ticket/3010 ) - crash in IReadBlock. I was unable to download linked image from rapidshare to confirm, but these may be related. robinprinceley On Mon, Jun 29, 2009 at 3:18 PM, Alberto Pettazzi wrote: > > Dear All, > > I am not able to ope

Re: [gdal-dev] Re:[FWTools] GDALRasterizeGeometries() and Python

2009-06-29 Thread Frank Warmerdam
Matthieu Rigal wrote: Hi Frank and GDAL-dev team, By reading the following message and unsuccessfully searching for documentation and possibilities to rasterize geometries, I would be pleased to know if the Python bindings for GDALRasterizeGeometries() are still somehow planned. If no bindi

Re: [gdal-dev] can't open grib2 files

2009-06-29 Thread Alberto Pettazzi
Hi Scott, thank you for your reply! I just have executed the command you suggested me, gdal-config --formats and that's what I got: gxf gtiff hfa aigrid aaigrid ceos ceos2 iso8211 xpm sdts raw dted mem jdem envisat elas fit vrt usgsdem l1b nitf bmp pcidsk airsar rs2 ilwis rmf leveller sgi s

[gdal-dev] How to read HDF Attribute domains in c#

2009-06-29 Thread jor sion
Hi, I would read a HDF file in C Sharp language. Part of the file structure shows in the picture bellow: [image: hdf.png] but I could not find methods to access the data of attribute domains such as information about "HDFEOSVersion" Any body help me? Thanks. Best regards, -- JoSn <>___

[gdal-dev] OGR API for ESRI Shapefile writer

2009-06-29 Thread Chandra Shekhar Kumar
Hi All, I was trying to create a shapefile using the code below: It looks like though the fieldnames are getting created but the values (I tried just one row) are not getting created: OGRRegisterAll(); OGRSFDriver *poDriver = OGRSFDriverRegistrar::GetRegistrar()->GetDriverByName("ESRI

Re: [gdal-dev] OGR API for ESRI Shapefile writer

2009-06-29 Thread Even Rouault
Almost perfect, but you've made a classical error : you've just forgotten to properly close the dataset with OGRDataSource::DestroyDataSource( poDS ); Quoting http://gdal.org/ogr/ogr_apitut.html: "Finally we need to close down the datasource in order to ensure headers are written out in an order

RE: [gdal-dev] OGR API for ESRI Shapefile writer

2009-06-29 Thread Chandra Shekhar Kumar
>-Original Message- >From: Even Rouault [mailto:even.roua...@mines-paris.org] >Almost perfect, but you've made a classical error : you've just forgotten to >properly close the dataset with OGRDataSource::DestroyDataSource( poDS ); > >Quoting http://gdal.org/ogr/ogr_apitut.html: "Finally we

[gdal-dev] Re: running gdal_merge for a lot of files

2009-06-29 Thread WolfgangZ
Frank Warmerdam schrieb: Pavel Iacovlev wrote: Good day all, I am trying to merge a large data set, the input imagery is 1TB RGB uncompressed tifs (lots of them). Then I run gdal_merge.py on a small data set it runs ok and with -v option I can see whats happening. But then I run on a large data

Re: [gdal-dev] GDAL WKT Raster Driver weekly report #5

2009-06-29 Thread Frank Warmerdam
Jorge Arévalo wrote: Hello, This is the report #5 of GDAL WKT Raster driver: http://www.gis4free.org/blog/2009/06/27/gsoc-09-weekly-report-5-1906-2606/ The project can be followed here: http://trac.osgeo.org/gdal/wiki/WKTRasterDriver Jorge, I appologise for not staying on top of my mentor

[gdal-dev] Re: running gdal_merge for a lot of files

2009-06-29 Thread Christian Müller
I had the problem when running the gdal_mergey.py with many tiles using the * parameter. But using the --optfile options resolves this for me. I had also problems constructing big images from many tiles, I did a partitioning on the the tile set and merged in an iterative manner. WolfgangZ w

Re: [gdal-dev] GDAL WKT Raster Driver weekly report #5

2009-06-29 Thread Jorge Arévalo
Hello Frank, 2009/6/30 Frank Warmerdam > Jorge Arévalo wrote: > >> Hello, >> >> This is the report #5 of GDAL WKT Raster driver: >> http://www.gis4free.org/blog/2009/06/27/gsoc-09-weekly-report-5-1906-2606/ >> >> The project can be followed here: >> http://trac.osgeo.org/gdal/wiki/WKTRasterDrive