For the many string (and other?) arguments that are required to be non-NULL, we should have a swig typemap to catch them. The known ones are:
MajorObject.SetDescription
OGR::Datasource.TestCapability
OGR::Datasource.ExecuteSQL
OGR::Layer.TestCapability
OGR::Layer.CreateField
OGR::FeatureDefn.AddFieldDefn
OGR::Geometry.* GEOS methods (at least Intersection, Disjoint, Overlaps)
OGR::Geometry.Transform
OSR.GetWellKnownGeogCSAsWKT (OSRSetWellKnownGeogCS)
OSRSetFromUserInput
OSR.GetProjectionMethodParameterList
OSR.GetProjectionMethodParamInfo
OSR::SpatialReference.GetAttrValue, SetAttrValue, GetProjParm, SetNormProjParm, GetNormProjParm, SetWellKnownGeogCS, SetFromUserInput
OSR::SpatialReference.ExportToUSGS
Additionally, can we have a generic "swig bindings" Component here?