[gdal-dev] GDALWarp fails to initialize

2015-09-08 Thread user gdal
Dear All, I want to programmatically clip a raster ("inimg") with a polygon vector of the format shp ("myshp"); both have the same geog. reference, which I tested using std. SW, say, QGIS. I proceeded as per the code below. I am getting an error "Unhandled exception... Access Violation", when no p

Re: [gdal-dev] Update of config files for gdal

2015-09-08 Thread Gawade P
Thanks, Even and apologies for the delayed response. I believe that the recommendation is to update it to the git HEAD version. https://www.gnu.org/software/gettext/manual/html_node/config_002eguess.html Based on the above information, the latest ones reside here: http://git.savannah.gnu.org/git

[gdal-dev] change icon of placemark of a kml file

2015-09-08 Thread Cheng Tang
Hi Gdal Developers: I have a question: Can I change icon of placemark of a kml file through code using ogr python? I did not find this function in ogr document. Thanks for your support. tang ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lis

Re: [gdal-dev] Call for discussion on RFC 59 (v2): GDAL/OGR utilities as a library

2015-09-08 Thread Even Rouault
> > For example, let's say the user calls gdal.Translate("format" => "GTiff", > > "src_win" => [100,400,50,50] ) (this is probably not valid Perl syntax, > > but hope you got it !), and you would call GDALTranslateOptionsNew(list) > > where you would build list = { "-format", "GTiff", "-src_win", "

Re: [gdal-dev] Call for discussion on RFC 59 (v2): GDAL/OGR utilities as a library

2015-09-08 Thread Ari Jolma
On 07.09.2015 21:54, Even Rouault wrote: Le mardi 01 septembre 2015 23:00:37, Ari Jolma a écrit : On 01.09.2015 16:34, Even Rouault wrote: 2) Variant of 1). With some Python magic on **kwargs it can be automated to redirect on 1) mem_ds = gdal.Translate('', src_ds, bands = [1,2,3], format =

Re: [gdal-dev] ArcSDE Direct Connect Support

2015-09-08 Thread Even Rouault
Stuart, > > Has anyone managed to compile GDAL with support for ArcSDE Direct Connect > Libraries. The ArcSDE driver isn't really popular those days I think as I think the ArcSDE SDK has been more or less abandonned by ESRI. > The ArcSDE SDK includes library files for this however there > does

Re: [gdal-dev] projection error

2015-09-08 Thread Even Rouault
Le mardi 08 septembre 2015 14:43:51, y hema a écrit : > hi , > poDataset = (GDALDataset *) GDALOpen( pszFilename, GA_ReadOnly ); > > if( poDataset != NULL ) > { > numBands = poDataset->GetRasterCount(); > width = poDataset->GetRasterXSize(); > height = poDataset->Ge

Re: [gdal-dev] projection error

2015-09-08 Thread y hema
hi , poDataset = (GDALDataset *) GDALOpen( pszFilename, GA_ReadOnly ); if( poDataset != NULL ) { numBands = poDataset->GetRasterCount(); width = poDataset->GetRasterXSize(); height = poDataset->GetRasterYSize(); GDALRasterBand *poBand; poBands = new

Re: [gdal-dev] projection error

2015-09-08 Thread Jukka Rahkonen
Hema Yeedunuri amigooptima.in> writes: > hi all, > i have a geotiff file .i have wrapper classes for gdal for reading and writing.gdal version is 1.11 and proj is 4.2 .whe i try to load a file it is giving following error.i am using ubuntu 12.04. > ERROR 1: Only OGC WKT Projections supported for

Re: [gdal-dev] GDAL performance compared with libtiff

2015-09-08 Thread Even Rouault
Immanuel, > > sorry for not getting back earlier, I got distracted by other stuff to fix. > Thanks for your reply. At the moment I will stick with your proposed way of > writing with libtiff and adding geo data with gdal later, as I have to get > that code running quickly. But I will try have a l

[gdal-dev] projection error

2015-09-08 Thread Hema Yeedunuri
hi all, i have a geotiff file .i have wrapper classes for gdal for reading and writing.gdal version is 1.11 and proj is 4.2 .whe i try to load a file it is giving following error.i am using ubuntu 12.04. ERROR 1: Only OGC WKT Projections supported for writing to GeoTIFF. thanks, hema _

Re: [gdal-dev] GDAL performance compared with libtiff

2015-09-08 Thread Immanuel Weber
Hi Even, sorry for not getting back earlier, I got distracted by other stuff to fix. Thanks for your reply. At the moment I will stick with your proposed way of writing with libtiff and adding geo data with gdal later, as I have to get that code running quickly. But I will try have a look at it ag