Re: [gdal-dev] Injecting Projection information in CreateCopy

2008-08-31 Thread Frank Warmerdam
Christiaan Janssen wrote: VRTDatasets seem to be the best way to go in this case. Is there by chance a way to build a VRTDataset that is an exact copy of a GDALDataset or do I need to do it manually (not a big deal if I do). BTW, Thanks for all the help. Christiaan, I believe gdal_translate cr

RE: [gdal-dev] Injecting Projection information in CreateCopy

2008-08-29 Thread Christiaan Janssen
:[EMAIL PROTECTED] Sent: Friday, August 29, 2008 12:08 PM To: Christiaan Janssen Cc: Mateusz Loskot;gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Injecting Projection information in CreateCopy I would take a look on how gdal_translate process the "-a_srs" parameter: http://trac.osge

Re: [gdal-dev] Injecting Projection information in CreateCopy

2008-08-29 Thread Lucena, Ivan
NITF, Erdas Imagine, ...) some of which only support the CreateCopy function. Christiaan -Original Message- From: Mateusz Loskot [mailto:[EMAIL PROTECTED] Sent: Friday, August 29, 2008 11:45 AM To: Christiaan Janssen Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Injecting Proje

RE: [gdal-dev] Injecting Projection information in CreateCopy

2008-08-29 Thread Christiaan Janssen
2008 11:45 AM To: Christiaan Janssen Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Injecting Projection information in CreateCopy Christiaan Janssen wrote: > Could someone tell me the best/easiest way to create a copy of a > GDALDataset from one format to another and specifying a projec

Re: [gdal-dev] Injecting Projection information in CreateCopy

2008-08-29 Thread Mateusz Loskot
Christiaan Janssen wrote: Could someone tell me the best/easiest way to create a copy of a GDALDataset from one format to another and specifying a projection different than what is contained in the source GDALDataset. Have you tried to follow this [1] tutorial, see GDALCreateGenImgProjTransfor