[gdal-dev] How to create TIFF with overview from a TMS server ?

2011-01-19 Thread Jean-Claude Repetto
Hello, I am looking for a method to create a pyramidal TIFF file containing tiles downloaded from a TMS server. I thought I could achieve that goal with the gdal_translate command and the COPY_SRC_OVERVIEWS=YES option, but unfortunately it doesn't work (cf

Re: [gdal-dev] set dbf header date to current date on modification

2011-01-19 Thread Chaitanya kumar CH
Dave, Can you file an enhancement ticket and attach the patch to it? ( http://trac.osgeo.org/gdal/newticket) On Wed, Jan 19, 2011 at 11:12 PM, Dave Fuhry wrote: > Patch to ogr/ogrsf_frmts/shape/dbfopen.c attached, which sets the dbf > header's date to the current date on modification. Old code

[gdal-dev] set dbf header date to current date on modification

2011-01-19 Thread Dave Fuhry
Patch to ogr/ogrsf_frmts/shape/dbfopen.c attached, which sets the dbf header's date to the current date on modification. Old code had the dbf header's date hardcoded to 07/26/95. Tested on Linux. Hope it can make its way into OGR. -Dave Index: ogr/ogrsf_frmts/shape/dbfopen.c ===

Re: [gdal-dev] Modis L1B SWATH: georef problem hdf to geotiff

2011-01-19 Thread Chaitanya kumar CH
Anna, Check a couple of GCPs to rule out bad data. If they are OK, file a ticket at http://trac.osgeo.org/gdal/newticket On Wed, Jan 19, 2011 at 1:23 PM, anna auge wrote: > > So it is a problem with gdalwarp and the GCPs ín the GeoTiff. Do you have > any hints how to go on with this problem? >

Re: [gdal-dev] Create a shape file with polygons

2011-01-19 Thread Jorge Martin
Hello Frank, I have made your change and it works, I can open the .shp with my GIS. Many thanks for your help. Best Regards, Jorge 2011/1/18 Frank Warmerdam > On 11-01-18 11:28 AM, Jorge Martin wrote: > >> OGRPolygon myPoligon; >> >> tmp = strtok (Line, ":"); >> >> szName = string (tmp); >>