[Gdal-dev] two subjects - Katrina Good News and Request for VRT
API VB6 binding
buckmasterjunior at yahoo.com
Sun Oct 9 16:45:05 EDT 2005
Frank Warmerdam <warmerdam at pobox.com> wrote:
One thing to keep in mind is that VRT capabilities can all be taken advantage
of by just constructing the VRT XML, without having to expose the C++
entry points to the various VRT classes. So my suggestion is that instead
of adding a bunch of entry points into the VRT classes from VB6, that
you (or we) just prepare the corresponding VRT XML and then pass that
to the GDAL.Open() method. The VRT tutorial at:
should give some useful details. I am also happy to help out as needed.
I have created the GDAL VB App Dev group on Yahoo Groups and I am cross-posting. I have looks at the tutorials as you suggested above, and loaded the gdalvbtest project to run. Realizing I would need to understand the VRT before moving into saving out as Kakadu JP2, I wanted to see if I could read the attributes from a sample JP2 with the gdalvbtest project. I found out that gdal12vb.dll doesn't have the JP2KAK driver built in. Is it possible you could compile a gdal12vb.dll with the Kakadu driver?
My strategy is to first determine what will go into the VRT XML. Most of the items needed are already being generated by my code. I am confused how the GDAL.Open() function will work with the XML. Shouldn't it be more like CreateCopy()? Even then, I really don't understand how the XML gets used unless something like SetGeoTransform() is involved.
Appreciate any help you provide.
Gerald "Buck" Buckmaster
Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gdal-dev