Re: [gdal-dev] help for including category names

2011-04-05 Thread Even Rouault
Marcel, I guess that category name is a rarely used features by GDAL users and it wasn't actually supported by the custom CreateCopy() implementation of the GTiff driver. I've just pushed into svn trunk (r22120) a fix so that GTiffDataset::CreateCopy() copies the category names from the source

Re: Fwd: [gdal-dev] kml superoverlay help request

2011-04-05 Thread brian
Brian Basicly you need to build a vrt out of every image in the level of intrest, in this case they seem to be the 7th level. attatched is a script to do so. Brian On Mon, 2011-04-04 at 18:09 -0700, Brian Wilson wrote: > Darn -- meant this to go to the list not just to Harsh > > --

[gdal-dev] [gdal-users] Mapserver-OGR mysql and WFS Intersect

2011-04-05 Thread Jorge Martin
Hello, I Have been playing around with mapserver OGR setting a layer of points comming from two different sources, first a mysql spatial table, and then a postgis table, and I have seen that the WFS operation Intersect behaves weird when using mysql (it works ok with postgres). I am not sure if OG

[gdal-dev] help for including category names

2011-04-05 Thread Marcel Derrien
Hello, I am new with gdal, and it is my first post here. I have a gdal 1.8.0 installed on a cenOS Linux x86_64 ,with libtiff 3.9.4 and libgeotiff 1.3.0. I try the translation of a raster dataset to geotiff through a VRTRawRasterBand described in a VRT file using gdal_translate. gdal_translate t

Re: [gdal-dev] Gap-filling rasters

2011-04-05 Thread Chaitanya kumar CH
Jose, I didn't realize you were going to interpolate between bands as well. Is this temperol data? This operation is actually performed by GDALFillNodata() method. So, modifying the script is not going to work. You can look at the source of GDALFillNodata() method and decide on what to do. On Tu

Re: [gdal-dev] Gap-filling rasters

2011-04-05 Thread Jose Gomez-Dans
Hi, Maybe I could look into updating it so it can deal with multi-band datasets (ie, interpolate in 3D rather than in 2D)? On 5 April 2011 14:04, Chaitanya kumar CH wrote: > Jose, > > Perhaps the python script, gdal_fillnodata.py, can help you. > http://www.gdal.org/gdal_fillnodata.html > You w

Re: [gdal-dev] Building a resizable polygon

2011-04-05 Thread Chaitanya kumar CH
Bill, OGR's UnionCascaded() method is built on the GEOS library. There may be an example in the autotest suite but it may not be as useful or necessary. I am not sure which geometry type it accepts and returns, so you may have to fiddle a bit. Loop through all your polygons to fill them into an O

Re: [gdal-dev] Gap-filling rasters

2011-04-05 Thread Chaitanya kumar CH
Jose, Perhaps the python script, gdal_fillnodata.py, can help you. http://www.gdal.org/gdal_fillnodata.html You will need GDAL's python bindings to run this. On Tue, Apr 5, 2011 at 5:21 PM, Jose Gomez-Dans wrote: > Hi, > > I was wondering whether GDAL has the ability to interpolate multiband > r

[gdal-dev] Gap-filling rasters

2011-04-05 Thread Jose Gomez-Dans
Hi, I was wondering whether GDAL has the ability to interpolate multiband rasters. I have a NxMxL cube (ie, a raster with L bands :D), and a mask of the same size. The locations of my data cube where the associated mask is zero (say) need to be interpolated from the surrounding pixels in the cube,