gdal.i include band.i (band.i contains "our" getBlockSize method)<br><br>furthermore, gdal.i contains this code:<br><br>#if defined(SWIGPYTHON)<br>%include "gdal_python.i"<br>#elif defined(SWIGRUBY)<br>
%include "gdal_ruby.i"<br>#elif defined(SWIGPHP4)<br>%include "gdal_php.i"<br>#elif defined(SWIGCSHARP)<br>%include "gdal_csharp.i"<br>#elif defined(SWIGPERL)<br>%include "gdal_perl.i"
<br><span style="font-weight: bold;">#elif defined(SWIGJAVA)</span><br style="font-weight: bold;"><span style="font-weight: bold;">%include "gdal_java.i"</span><br>#else<br>%include "gdal_typemaps.i"<br>
#endif<br><br><br>and gdal_java.i contains this code:<br><br><span style="font-weight: bold;">%include typemaps_java.i<br></span>(while other languages include the proper typemaps_language.i)<br><br>This "include" mechanism should work?
<br>Or I explicitly need to include something else somewhere?<br><br>Thanks again.<br><br>Cheers<br>Daniele<br><br><br><div><span class="gmail_quote">On 8/5/06, <b class="gmail_sendername">Charlie Savage</b> <<a href="mailto:cfis@savagexi.com">
cfis@savagexi.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Sorry, typemaps.i is what I meant. I don't see it included anywhere
<br>except in the csharp.i file.<br><br>Try putting it in gdal.i instead - that will cause all languages to use<br>it. If that works, it probably should be removed from csharp.i. And<br>added to ogr.i (not sure if there is one central .i file it go into,
<br>doesn't look like it).<br><br>Charlie<br><br>Daniele Romagnoli wrote:<br>> I'm sorry Charlie...<br>> Please, throw away my previous email (which contains a typo)...<br>><br>> This one is corrected:<br>> ----
<br>> There is no sign of templates.i in my code (neither in the gdal and swig<br>> subfolders).<br>> Furthermore, there is no trace of templates.i in the suggested http link :(<br>><br>> Maybe are you talking about
typemaps.i?<br>> I'm sure that typemaps.i is included.<br>><br>> --<br>> Best Regards,<br>> Daniele<br>><br>> ---------- Forwarded message ----------<br>> From: *Daniele Romagnoli* <<a href="mailto:dany.geotools@gmail.com">
dany.geotools@gmail.com</a><br>> <mailto:<a href="mailto:dany.geotools@gmail.com">dany.geotools@gmail.com</a>>><br>> Date: Aug 5, 2006 8:03 PM<br>> Subject: Re: gdal swig interface Band.i Updated<br>> To: Charlie Savage <
<a href="mailto:cfis@savagexi.com">cfis@savagexi.com</a> <mailto:<a href="mailto:cfis@savagexi.com">cfis@savagexi.com</a>>><br>><br>> On 8/5/06, *Charlie Savage* <<a href="mailto:cfis@savagexi.com">cfis@savagexi.com
</a><br>> <mailto:<a href="mailto:cfis@savagexi.com">cfis@savagexi.com</a>>> wrote:<br>><br>> Check to see if templates.i is included.<br>><br>> See:<br>><br>> <a href="http://www.swig.org/Doc1.3/Arguments.html#Arguments_nn5">
http://www.swig.org/Doc1.3/Arguments.html#Arguments_nn5</a><br>> <<a href="http://www.swig.org/Doc1.3/Arguments.html#Arguments_nn5">http://www.swig.org/Doc1.3/Arguments.html#Arguments_nn5</a>><br>><br>>
<br>><br>> There is no sign of templates.i in my code (neither in the gdal and swig<br>> subfolders).<br>> Furthermore, there is no trace of typemaps.i in the suggested http link :(<br>><br>> Maybe are you talking about
typemaps.i?<br>> I'm sure that typemaps.i is included.<br>><br>> --<br>> Best Regards,<br>> Daniele<br>><br>><br>><br><br><br></blockquote></div>