[gdal-dev] gdalbuilvrt segmentation fault

2011-07-25 Thread Marco Nicoletti
Dear all, I have got a problem using the GDAL tool gdalbuildvrt. I would like to join two DEMs sampled on the same grid which insist on the same geografical zone. The first DEM has got some NoDataValue holes and I would like to feel them with the values in the second DEM. I ave used also the

[gdal-dev] Problems in setting PixelFunctionType and SourceTransferType in VRTDerivedRasterBand

2010-06-17 Thread Marco Nicoletti
This is a problem which regards all the gdal versions and is about the Python GDAL bindings. It seems to be impossible to setup PixelFunctionType and SourceTransferType in VRTDerivedRasterBand from Python Gdal. This is an example using IPython: In [20]: vrtdriver = gdal.GetDriverByName('VRT') In

Re: [Gdal-dev] osgeo.osr: WGS84 to UTM/UPS coordinate conversion - howtodo?

2009-10-12 Thread Marco Nicoletti
Ok, about the WSG84 to UTM, I can fin the UTM Zone easily: >>from osgeo import osr >>def UTMZone(lon, lat): >>return int((lon + 180) / 6) + 1 The problems are: 1) from WGS84 to UPS 2) from UPS to WSG84 How to do it? Thanks! Marco Nicoletti wrote: > > Dear all, >

[Gdal-dev] osgeo.osr: WGS84 to UTM/UPS coordinate conversion - howtodo?

2009-10-12 Thread Marco Nicoletti
onvertitor in the other direction - conv_utm2wgs = osr.CoordinateConversion(utm, wgs84); but I need to specify the UTM zone before - actually I should not have the UTM zone before converting! ) Do you have some example code I can use??? Thanks so much! Marco Nicoletti -- View this message in context: