Enabled AUTODETECT_SPATIAL_TYPE by default.