[Gdal-dev] Perl interface now in Geo:: namespace by default

Ari Jolma ari.jolma at tkk.fi
Sat Nov 18 06:01:17 EST 2006


I've commited changes which put the Perl wrappers by default to the 
Geo:: namespace. It is still possible to build modules with the old 
names (gdal, gdalconst, ogr, and osr), but one needs to remove the 
symbol PERL_CPAN_NAMESPACE  from GNUMakefile, rebuild the wrappers, edit 
Makefile.PL, and probably do some other things.

I also added to the swig/perl directory some things to make it possible 
to "make dist" the CPAN module. Right now it makes Geo-GDAL-0.20.tar.gz, 
but it is not the same as in CPAN since the one in CPAN is built with 
GDAL 1.3.2.

I also fixed a bug in the bindings, which made SetField(field_name, 
value) silently fail even in a case where field with field_name did not 
exist. Now it calls CPLError, which can be propagated upstream.

Ari

-- 
Prof. Ari Jolma
Geoinformaatio- ja paikannustekniikka
Geoinformation and positioning technology
Teknillinen Korkeakoulu / Helsinki University of Technology
POBox 1200, 02015 TKK, Finland
Email: ari.jolma at tkk.fi URL: http://www.tkk.fi/~jolma




More information about the Gdal-dev mailing list