OGR Inspection

ogrinspect

ogrinspect(data_source, model_name, **kwargs)

mapping

mapping(data_source, geom_name='geom', layer_key=0, multi_geom=False)