Add AUTODETECT_SPATIAL_TYPE in configuration file and documentation about this new directive.