Re: [gdal-dev] Re: The GEOS projection and gdalwarp

2012-03-27 Thread Simon R. Proud
Hi all, Yesterday I replied to Marcel and not to the list - so I'll add a reply here in case others have a similar issue to me: Marcel's solution works well on my Meteosat data, and the georeferencing looks perfect. The problem is solved! Cheers, Simon. >>> Marcel Derrien 03/27/12 9:59 AM >

Re: [gdal-dev] GDAL Tiling

2012-03-27 Thread akshay gupta
Thanks Jay and Chaitanya, your comments helped a lot. I have few more doubts, these may be trivial but since i am new to GDAL i want to confirm. 1) Is it possible to cut a portion(AOI) of image in any format and store it as tiled GTiff. Cos i want to create multiple copied of image data as i keep

Re: [gdal-dev] possible to take this unprojected/unknown coordinate system data and assign it to the second known ones projected/coordinate system

2012-03-27 Thread Frank Warmerdam
Derek, Based on the coordinates it seems clear enough that this is latitude and longitude in decimal degrees. Based on the resolution there is little point in worrying about datum so do something like: gdal_translate -a_srs WGS84 in.tif out.tif After that you should be able to use gdalwarp to

[gdal-dev] Question regarding tif mosaic (RGB and Gray)

2012-03-27 Thread Stoermer, Jon-Pierre
Hello all, Thanks in advance for your time. This may be a stupid question but I can't figure out how to mosaic two geotiff files with different color bands? Is this possible? I get an error using gdalbuildvrt saying it ignores the image with only color band. I have the SRTM3 DEM file for my area o

Re: [gdal-dev] GDAL Tiling

2012-03-27 Thread Jay L.
For a geotiff I would use the following to change block size. gdal_translate -of GTiff -co "TILED=YES" -co "BLOCKXSIZE=256" -co "BLOCKYSIZE=256" Replace 256with whatever integer you want. I realize that this is outside of your program, but it looks like you are going to need to modify the inp

Re: [gdal-dev] GDAL Tiling

2012-03-27 Thread Chaitanya kumar CH
Akhy, Block size is determined/set at the time of file creation. The only way to change it is to make a different file with the desired block size. Not all raster formats support setting custom block sizes. GeoTIFF does. On Tue, Mar 27, 2012 at 11:05 PM, akshay gupta wrote: > > Thanks for your q

[gdal-dev] possible to take this unprojected/unknown coordinate system data and assign it to the second known ones projected/coordinate system

2012-03-27 Thread jdmorgan
Hello, I was hoping someone in the GDAL community could help me out, as I am stuck on a particular issue of dealing with a source dataset (geotiff) that has no projection information.Here are the gdalinfo results on the coordinate system: Coordinate System is: /LOCAL_CS[" Geocoding informat

Re: [gdal-dev] GDAL Tiling

2012-03-27 Thread akshay gupta
Thanks for your quick reply, I dont want to use GDALRasterIO, I dont want to allocate memory of size equal that of image or ROI, i want to make use of tiling as much as possible. Can you provide more detail on how to create tiles tiff files by default. Akhy On Tue, Mar 27, 2012 at 9:30 PM, Chaitan

Re: [gdal-dev] GDAL Tiling

2012-03-27 Thread Chaitanya kumar CH
Akhy, 1) Raster block size is a readonly property. The only way to change it is to create a new dataset with the new block size. For a tiff image you can use the creation options TILED, BLOCKXSIZE and BLOCKYSIZE [1]. 2) You can read the raster any way you want using the GDALRasterIO() and GDALData

[gdal-dev] GDAL Tiling

2012-03-27 Thread akshay gupta
Hi, I have few questions regarding GDAL tiling and overviews. 1) Is there any In build direct function in GDAL from where i can set the size of the tiles(raster block size). 2)I an facing an strange situation. I have an TIFF image, and I am trying to read it block by block using ReadBlock(). When

Re: [gdal-dev] OSR .NET bindings

2012-03-27 Thread Tamas Szekeres
Maksim, As far as I remember only the MSVC2010 builds compile for .NET 4.0. All compilers use the default setting in this regard. Best regards, Tamas 2011/3/27 Maksim Sestic > Hi all, > > ** ** > > Am I missing something, or OSR managed binandings for GDAL 1.9.0 target > .NET 4.0? Is th

[gdal-dev] OSR .NET bindings

2012-03-27 Thread Maksim Sestic
Hi all, Am I missing something, or OSR managed binandings for GDAL 1.9.0 target .NET 4.0? Is there any specific reason for that, may I change this to target .NET 2.0? Regards, Maksim Sestic ___ gdal-dev mailing list gdal-dev@lists.osgeo.org h

[gdal-dev] Re: The GEOS projection and gdalwarp

2012-03-27 Thread Marcel Derrien
Hi, First I suggest you use gdal_translate and provide -a_ullr ulx uly lrx lry so that your input file is georeferenced. Assuming that your input file is the full earth disk 3712x371, the corner coordinates (metre) of your image are ulx_msg=-5570248.832537 uly_msg=5570248.832537 lrx_msg=556724