Re: [gdal-dev] GDAL/OGR 1.8.0RC1 Release Candidate Prepared

2011-01-12 Thread Greg Coats
ls shows that every file and directory has the same (false) modification date and time. This makes it impossible to see when a particular source code file was actually last updated. Can the final GDAL source code be released with accurate modification dates and times? Greg On Jan 12, 2011, at 1

[gdal-dev] GDAL/OGR 1.8.0RC1 Release Candidate Prepared

2011-01-12 Thread Frank Warmerdam
Folks, I have prepared a release candidate for GDAL/OGR 1.8.0. The source, testsuite and documentation can be found at: http://download.osgeo.org/gdal/gdal-1.8.0RC1.tar.gz http://download.osgeo.org/gdal/gdal180RC1.zip http://download.osgeo.org/gdal/gdal180doc.zip http://download.osgeo.o

Re: [gdal-dev] Problems with passing parameters into gdalwrap in Python

2011-01-12 Thread Chaitanya kumar CH
James, Instead of passing the arguments as array elements, try to pass the arguments in the same string, separated by a space. http://trac.osgeo.org/gdal/browser/trunk/autotest/warp/warp.py#L481 On Thu, Jan 13, 2011 at 3:06 AM, manzione wrote: > > Greetings All, > I am a student who has been hav

RE: [gdal-dev] mrsid nmake.opt

2011-01-12 Thread Kirk McKelvey
Good call Jeff, I will revise the MrSID wiki. > -Message d'origine- > De : gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev- > boun...@lists.osgeo.org] De la part de Jeff McKenna > Envoyé : Tuesday, January 11, 2011 5:09 AM > À : gdal-dev@lists.osgeo.org > Objet : Re: [gdal-dev] mrsid nma

Re: [gdal-dev] Test and a question about gdal_warp and gdal_translate

2011-01-12 Thread Frank Warmerdam
On 11-01-12 04:30 PM, Antonio P wrote: Hello again : ( I dont know if my question was sent to the list ) Antonio, I believe it already went through and there were some responses. You can check the list archives after a bit to see if a message has gone through. I cannot use gdal_translate

[gdal-dev] Problems with passing parameters into gdalwrap in Python

2011-01-12 Thread manzione
Greetings All, I am a student who has been having a difficult time passing in source parameters into gdalwrap in Python, and would truly appreciate any insight that great minds like you might have on my simple problem. First off, I am attempting to reproject a Tiff image that was generated from

[gdal-dev] Test and a question about gdal_warp and gdal_translate

2011-01-12 Thread Antonio P
Hello again : ( I dont know if my question was sent to the list ) I cannot use gdal_translate with % outsize parameters : gdal_translate -of JPEG -outsize 25% 25% DSC02699.jpg 02699.jpg >> does nothing (I view the use options of gdal_translate, it seems as I wrote a wron

Re: [gdal-dev] gdalwarp with gauss resampling

2011-01-12 Thread Frank Warmerdam
On 11-01-12 08:53 AM, Jan Hartmann wrote: Is it possible to use gauss resampling with gdalwarp? The current resampling options (cubic, bilinear etc) work very well as long as the pixels in input and output rasters are about the same size, but not very well when downsampling to a much coarser scal

Re: [gdal-dev] python: read pixel from raster

2011-01-12 Thread Sebastian E. Ovide
http://www.gis.usu.edu/~chrisg/python/2009/lectures/ospy_slides4.pdf 2011/1/12 Sebastian E. Ovide > thanks for that... > > What I'm looking for is something like ReadRaster but using the > coordinates system used by the raster... (it could be lat,long etc...) > > otherwise I would need to do som

Re: [gdal-dev] python: read pixel from raster

2011-01-12 Thread Paolo Corti
2011/1/12 Sebastian E. Ovide : > thanks for that... > What I'm looking for is something like ReadRaster but using the coordinates > system used by the raster... (it could be lat,long etc...) > otherwise I would need to do something like > cs=read_raster_coordinate_system() > (x,y)= cs.convert_from_

Re: [gdal-dev] python: read pixel from raster

2011-01-12 Thread Sebastian E. Ovide
thanks for that... What I'm looking for is something like ReadRaster but using the coordinates system used by the raster... (it could be lat,long etc...) otherwise I would need to do something like cs=read_raster_coordinate_system() (x,y)= cs.convert_from_cs_to_pixel_xy(x,y) pixel=ReadRaster is

Re: [gdal-dev] Test and a question about gdal_warp and gdal_translate

2011-01-12 Thread Jorge Arévalo
On Wed, Jan 12, 2011 at 6:30 PM, Antonio P wrote: > Hello : > (I dont know if this email are going to be accepted by the list manager. So, > this is a 'test' ) > I have a question about gdal_warp and gdal_translate utilities. > I want to re-scale to 50% a serie of images. > I cannot use gdal_trans

[gdal-dev] Test and a question about gdal_warp and gdal_translate

2011-01-12 Thread Antonio P
Hello : (I dont know if this email are going to be accepted by the list manager. So, this is a 'test' ) I have a question about gdal_warp and gdal_translate utilities. I want to re-scale to 50% a serie of images. I cannot use gdal_translate with % outsize parameters gdal_translate -of JPE

Re: [gdal-dev] OGR : Shapefile driver limits column name to 10 chars

2011-01-12 Thread Even Rouault
Selon Anders Moe : Try looking for "dbf field names limited to 10 characters" in your favorite search engine and you should get the answer ;-) The OGR shapefile driver mentions just before "Shapefile feature attributes are stored in an associated .dbf file, and so attributes suffer a number of li

[gdal-dev] OGR : Shapefile driver limits column name to 10 chars

2011-01-12 Thread Anders Moe
Hi all The OGR shapefile driver has a documentet caveat in that column names can not exceed 10 characters: http://www.gdal.org/ogr/drv_shapefile.html Does anyone know if this is an inherent limitation of the shapefile format or within the OGR driver ?

Re: [gdal-dev] python: read pixel from raster

2011-01-12 Thread Chaitanya kumar CH
Sebastian, Refer the GDAL raster API tutorial at http://www.gdal.org/gdal_tutorial.html It describes how to read a line of pixels using the ReadRaster() function in Python. You can change the arguments to read just one pixel. Look at the documentation for GDALRasterBand::RasterIO() which is essent

Re: [gdal-dev] python: read pixel from raster

2011-01-12 Thread Jorge Arévalo
On Wed, Jan 12, 2011 at 4:57 PM, Sebastian E. Ovide wrote: > Hi All, > what would be the simpler way to read a pixel value from a raster using > python ? > something like  pixelvalue=read(x,y) where x,y and in the raster coordinate > system > thanks > > -- > Sebastian E. Ovide > > > > > >

[gdal-dev] python: read pixel from raster

2011-01-12 Thread Sebastian E. Ovide
Hi All, what would be the simpler way to read a pixel value from a raster using python ? something like pixelvalue=read(x,y) where x,y and in the raster coordinate system thanks -- Sebastian E. Ovide ___ gdal-dev mailing list gdal-dev@lists.osgeo.or

[gdal-dev] gdalwarp with gauss resampling

2011-01-12 Thread Jan Hartmann
Is it possible to use gauss resampling with gdalwarp? The current resampling options (cubic, bilinear etc) work very well as long as the pixels in input and output rasters are about the same size, but not very well when downsampling to a much coarser scale. Gdaladdo has gauss resampling, but on