RE: [gdal-dev] netCDF to Shapefile

2011-03-17 Thread Manuel Rainer
thank you guys, a lot of useful information! finally, I'm tryin' what works best in my case. cheers manuel Date: Wed, 16 Mar 2011 12:05:18 +0100 Subject: Re: [gdal-dev] netCDF to Shapefile From: andrea...@gmail.com To: pco...@gmail.com CC: manuelrai...@hotmail.com; gdal-dev@lists.osgeo.org

[gdal-dev] Reproject USGS Landsat image

2011-03-17 Thread Luisa Peña
Hi, I'm planning to reproject a Landsat image using gdalwarp but I have a question: - Besiodes the 7 bands, I also have an AUX file (for each band), an RRD for each file and a GCP. Is it possibvle to use gdalwarp to read this GCP file or is it useless since all the required information is already

[gdal-dev] Rotate unreferenced tiff file by -90 degrees

2011-03-17 Thread Wesley Roberts
Dear gdal'ers I am working with TRMM rainfall data from an HDF5 file (converted from hdf4 to hdf5). I am able to use gdal_translate to extract the gridded data from the HDF file using the following command. gdal_translate -of GTiff

Re: [gdal-dev] Get pixel values from all bands

2011-03-17 Thread Alexander Bruy
Thanks Mateusz, just tested and all works fine -- Alexander Bruy ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Calculate footprints of shapefiles

2011-03-17 Thread Armin Burger
Chaitanya I can understand how the UnionCascade works in PostDIS since it's an aggregate function. I just don't understand how I should use it in OGR. The documentation has a single line UnionCascaded(self) - Geometry So it returns a geometry from another geometry, but I would need a

Re: [gdal-dev] Calculate footprints of shapefiles

2011-03-17 Thread Chaitanya kumar CH
Armin, I don't know if it works on geometry collection but it certainly works on a MultiPolygon. In return, you will get either a Polygon or a MultiPolygon depending on the union being connected or not. On Thu, Mar 17, 2011 at 5:51 PM, Armin Burger armin.bur...@gmx.net wrote: Chaitanya I can

Re: [gdal-dev] Rotate unreferenced tiff file by -90 degrees

2011-03-17 Thread Frank Warmerdam
On 11-03-17 05:09 AM, Wesley Roberts wrote: Dear gdal'ers I am working with TRMM rainfall data from an HDF5 file (converted from hdf4 to hdf5). I am able to use gdal_translate to extract the gridded data from the HDF file using the following command. gdal_translate -of GTiff

[gdal-dev] GDAL Ruby Bindings

2011-03-17 Thread Jim Klassen
I have updated the Ruby bindings so that they will build against Ruby 1.9 and the changes are in trunk. I am looking for people to test and give me feedback. If it works well for people, the changes may make it into a 1.8.x release. Details are available at the following URLs:

Re: [gdal-dev] Rotate unreferenced tiff file by -90 degrees

2011-03-17 Thread Zoltan Szecsei
On 2011-03-17 15:34, Frank Warmerdam wrote: On 11-03-17 05:09 AM, Wesley Roberts wrote: Dear gdal'ers I am working with TRMM rainfall data from an HDF5 file (converted from hdf4 to hdf5). I am able to use gdal_translate to extract the gridded data from the HDF file using the following

Re: [gdal-dev] Rotate unreferenced tiff file by -90 degrees

2011-03-17 Thread Frank Warmerdam
On 11-03-17 10:49 AM, Zoltan Szecsei wrote: For east up I think the world file might look something like: 0.0 0.5 0.5 0.0 top-left-x top-left-y You might need to fiddle around with the orientation a bit to get it right. Best regards, But presumable the pixel sizes (1st 4th) would not be

[gdal-dev] openjpeg build configuration

2011-03-17 Thread Brian Wilson
I am trying to build 1.8.0 on Linux with openjpeg support. I can easily build and install openjpeg from source (oropenjpeg_v1_4_sources_r697) into /usr/local ./configure --with-openjpeg ./configure --with-openjpeg=/usr/local both result in OpenJPEG support: no I wiped my gdal-1.8.0

Re: [gdal-dev] openjpeg build configuration

2011-03-17 Thread Even Rouault
Selon Brian Wilson br...@wildsong.biz: Please read carefully the first lines of http://gdal.org/frmt_jp2openjpeg.html for the explanation (and solution) I am trying to build 1.8.0 on Linux with openjpeg support. I can easily build and install openjpeg from source

Re: [gdal-dev] openjpeg build configuration

2011-03-17 Thread Chaitanya kumar CH
Brian, GDAL's JP2OpenJPEG driver is based on version 2 of OpenJPEG library. http://www.gdal.org/frmt_jp2openjpeg.html On Thu, Mar 17, 2011 at 9:06 PM, Brian Wilson br...@wildsong.biz wrote: I am trying to build 1.8.0 on Linux with openjpeg support. I can easily build and install openjpeg from

Re: [gdal-dev] openjpeg build configuration

2011-03-17 Thread Julien Michel
I hop on the thread since I am interested in openjpeg support too. It seems than those lines you pointed out are quite outdated, because openjpeg 1.4 released january 2011 provides tile-level reading. Is there any chance to build the gdal driver with openjpeg 1.4 ? Many thanks for your help,

Re: [gdal-dev] openjpeg build configuration

2011-03-17 Thread Even Rouault
Selon Julien Michel julien.mic...@cnes.fr: Julien, I've just diff'ed openjpeg.h of 1.3 and 1.4 and couldn't see much difference between the 2. What make you believe that 1.4 supports tile access ? The JP2OpenJPEG driver in particularly needs the opj_set_decode_area(), opj_read_tile_header() and

[gdal-dev] download.osgeo.org down?

2011-03-17 Thread Jorge Arévalo
I can't access the page since yesterday. Someone else? -- Jorge Arévalo Internet Mobilty Division, DEIMOS jorge.arev...@deimos-space.com http://es.linkedin.com/in/jorgearevalo80 http://mobility.grupodeimos.com/ http://gis4free.wordpress.com http://geohash.org/ezjqgrgzz0g

Re: [gdal-dev] download.osgeo.org down?

2011-03-17 Thread Even Rouault
Le jeudi 17 mars 2011 18:31:39, Jorge Arévalo a écrit : I can't access the page since yesterday. Someone else? Works for me and http://www.downforeveryoneorjustme.com/download.osgeo.org ___ gdal-dev mailing list gdal-dev@lists.osgeo.org

Re: [gdal-dev] download.osgeo.org down?

2011-03-17 Thread Jorge Arévalo
2011/3/17 Even Rouault even.roua...@mines-paris.org: Le jeudi 17 mars 2011 18:31:39, Jorge Arévalo a écrit : I can't access the page since yesterday. Someone else? Works for me and http://www.downforeveryoneorjustme.com/download.osgeo.org Thanks for the info! -- Jorge Arévalo Internet

[gdal-dev] Adding field to Shapefile via Python

2011-03-17 Thread Mike Toews
In a Python script, I am updating an exiting shapefile with data by adding a column. However, my changes don't seem to be saved. Here is what I have: from osgeo import ogr obs_file = 'myfile.shp' source = ogr.Open(obs_file, 1) layer = source.GetLayer() layer_defn = layer.GetLayerDefn()

Re: [gdal-dev] Need help generating output with alpha channels using Python API

2011-03-17 Thread Michal Migurski
On Mar 16, 2011, at 9:58 AM, Frank Warmerdam wrote: On 11-03-14 12:50 PM, Michal Migurski wrote: Hello, I'm having some difficulties understanding how to get GDAL to generate images with usable alpha channels. I have 3-channel RGB input JPEG image, delivered to GDAL as a VRT with a

Re: [gdal-dev] Adding field to Shapefile via Python

2011-03-17 Thread Chaitanya kumar CH
Mike, A new field cannot be added to a feature definition while there are any features based on that feature definition. See the docs for OGRFeatureDefn::AddFieldDefn() http://www.gdal.org/ogr/classOGRFeatureDefn.html#40e681d8464b42f1a1fac655f16ac3dd On Fri, Mar 18, 2011 at 11:01 AM, Mike Toews