Re: [gdal-dev] How to use GDAL C++ dynamically?

2011-02-23 Thread Mikhail Tchernychev
Hello Frank, Yes indeed there are many functions which are not declared as virtual. Thank you very much for pointing in right direction. Cheers, Mikhail Folks, I will note that at one time I maintained a "bridge" mechanism which basically did this. It dynamically loaded the C API at runtime.

Re: [gdal-dev] Re: Gdal2tiles in Gdal18 and creating KMZ files

2011-02-23 Thread Roland Duhaime
Thanks Brian, I will give your suggestion a try. Going back to the original post, I have made some progress with compressing the output of gdal2tiles to a kmz file. The resulting kmz file opens in Google Earth as red X's. It appears to be an issue with 7zip, because I am able to compress the sa

Re: [gdal-dev] Re: Gdal2tiles in Gdal18 and creating KMZ files

2011-02-23 Thread brian
Roland it is probably worth your time to include another step in in your proccess run nearblack -setmask -near 0 -nb 0 -of GTiff infile -o nearblack.tif nearblack options change if the source is a white background and if the image format is lossy gdalwarp -dstalpha -t_srs "EPSG:4326 nearblack.t

Re: [gdal-dev] How to use GDAL C++ dynamically?

2011-02-23 Thread Frank Warmerdam
On 11-02-22 05:52 PM, Mikhail Tchernychev wrote: This is what I normally do, however it's not much less pain, even it's simple. I typically write a wrapper to execute all GetProcAdress() functions at once and store pointers in the class. Taking into number of GDAL functions, its' would be very c

Re: [gdal-dev] How to use GDAL C++ dynamically?

2011-02-23 Thread Frank Warmerdam
On 11-02-22 08:41 PM, Mikhail Tchernychev wrote: I just tried: If I declare make functions of OGRSFDriverRegistrar as virtual, everything is working as expected. Most of the functions of other classes are virtual, why those are not? Mikhail, They are not virtual because it is not part of ou

Re: [gdal-dev] transform input image to UTM

2011-02-23 Thread Frank Warmerdam
On 11-02-23 11:27 AM, Jorge Martin wrote: Hello, I want to project an input Lat/Long image into UTM. I need to do this automatic, so I have to do it in C++. I have found a source code to implement this issue. I have paste below the source code that I have used. I When this code is

[gdal-dev] transform input image to UTM

2011-02-23 Thread Jorge Martin
Hello, I want to project an input Lat/Long image into UTM. I need to do this automatic, so I have to do it in C++. I have found a source code to implement this issue. I have paste below the source code that I have used. I When this code is running, appears some times the followin error

Re: [gdal-dev] Error running gdal16 binary

2011-02-23 Thread Chaitanya kumar CH
> />/ Yesterday I was searching Windows binary gdal18 version and I didn't > />/ find it. Where can I get it? > / > OSGeo4W[1] has GDAL 1.8. > > Jürgen > > [1] http://trac.osgeo.org/osgeo4w/ > > > > > __ Information from ESET NOD32 Antiviru

[gdal-dev] Resampling using RPCs

2011-02-23 Thread Jorge Martin
Hello, I have to make a resampling from a source image in Lat/Long coordinates to UTM target image. If I take the GCPs of the source image in Lat/long the RPCs works very good, but if I get this points and tranform the to UTM (with the same zone of the target image) and compute the

Re: [gdal-dev] Error running gdal16 binary

2011-02-23 Thread António Rocha
sgeo.org/osgeo4w/ __ Information from ESET NOD32 Antivirus, version of virus signature database 5898 (20110223) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http:/

Re: [gdal-dev] Error running gdal16 binary

2011-02-23 Thread Jürgen E . Fischer
On Wed, 23. Feb 2011 at 09:30:09 +, António Rocha wrote: > Hello Chaitanya > Yesterday I was searching Windows binary gdal18 version and I didn't > find it. Where can I get it? OSGeo4W[1] has GDAL 1.8. Jürgen [1] http://trac.osgeo.org/osgeo4w/ -- Jürgen E. Fischer norBIT GmbH

Re: [gdal-dev] Error running gdal16 binary

2011-02-23 Thread António Rocha
__ Information from ESET NOD32 Antivirus, version of virus signature database 5898 (20110223) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/ma

Re: [gdal-dev] Re: Gdal2tiles in Gdal18 and creating KMZ files

2011-02-23 Thread Vadim Shlyakhov
shouldn't make any difference as it's semantics nearly the same as . On Tue, Feb 22, 2011 at 11:38 PM, Roland Duhaime wrote: > I have been working with the png creation option under "gdal_translate -of > kmlsuperoverlay" to create kmz files that include transparency.  I haven't > had much luck w

Re: [gdal-dev] Error running gdal16 binary

2011-02-23 Thread Chaitanya kumar CH
r got this problem > Thanks > > Best regards, > Antonio > > > __ Information from ESET NOD32 Antivirus, version of virus > signature database 5898 (20110223) __ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > >

[gdal-dev] Error running gdal16 binary

2011-02-23 Thread António Rocha
x27;s support team for more information. What might be happening here? because I have used with similar GRIBS (ECMWF ERA Interim dataset) and I never got this problem Thanks Best regards, Antonio __ Information from ESET NOD32 Antivirus, version of virus signature database 5898 (201